- Node
- Rollup docs: https://rollupjs.org/guide/en – Modules used: rollup, rollup-plugin-replace, rimraf
- npx: https://www.npmjs.com/package/npx
- IIFEs: http://benalman.com/news/2010/11/imme…
- Http-server: https://www.npmjs.com/package/http-se…
- Caches API: https://developer.mozilla.org/en-US/d…
Category: Workflow
Train Your Brain to Focus
Next time you are sitting in a meeting, take a look around. The odds are high that you will see your colleagues checking screens, texting, and emailing while someone is talking or making a presentation. Many of us are proud of our prowess in multitasking, and wear it like a badge of honor. Multitasking may […]
Source: Train Your Brain to Focus
How I Work From Anywhere In The World
My office is wherever I have my laptop and some wifi. Here are the tools that make it work.
Enabling Virtualization Technology in Lenovo Systems
Intel VT-x virtualization
Many PC laptops (especially those from Lenovo, HP, and Dell) have Intel’s VT-x virtualization turned off by default, which can cause issues with many Vagrant boxes. Check your computer manufacturer’s knowledge base for instructions for enabling VT-x in your system BIOS/UEFI settings.
Lenovo instructions:
http://amiduos.com/support/knowledge-base/article/enabling-virtualization-in-lenovo-systems
‘Source path too long’. Deleting a directory in Windows 10 with using robocopy
link:
Jeff Geerling
For some reason, Windows doesn’t play well with deep folder hierarchies. Often, when building Drupal projects inside VMs with synced directories, I end up with folders with 10+ levels of hierarchy, and when I try to delete the directory within windows, I get the error “Source path too long”
Thomas Byttebier – Less CSS mess
Thomas Byttebier is a freelance web designer creating minimalist and easy to use websites and user interfaces. Thomas lives and works in Gent, Belgium.
Source: Thomas Byttebier – Less CSS mess
Using much of the killer coding philosophies of CSS wizard Harry Roberts, I found a way that’s helped me keep the CSS for the web app I’m currently working on manageable, understandable and above all: highly reusable. And as the app keeps evolving, the CSS doesn’t get more complex. At most it only gets bigger, but that’s ok.
There’s basically 5 things that helped me shape up the way I code my designs enormously:
- coding guidelines
- itcss
- namespaced CSS
- BEM
- and documentation in a front-end style guide.
Let me go over each of them briefly in the next paragraphs.
Vagrant: First notes
Install
Install Vagrant and Virtualbox on Windows
- Latest Vagrant
- Installer will add vagrant to windows path. So it is available in the console
- Latest VirtualBox
Sublime Text 2: synchronize packages with Dropbox
How to create symlinks to existing packages in Dropbox after fresh install of Sublime:
– Open sublime and close it again.
– Go to appdata/roaming/sublime
– For Sublime 2: remove the package folders: Installed Packages, Pristine Packages and Packages
– For Sublime 3: remove the package folders: Installed Packages and Packages
– Open cmd (as admin) and do this for the removed ‘Installed packages’. Repeat for the other packages
mklink /D "Installed Packages" "C:\path\to\Dropbox\appdata\sublime\Installed Packages"
WordPress with GIT, WP-Skeleton and Roots 101
Goals: – Keep a local WordPress installation under version control (but ignore WordPress core files) – Use WP-Skeleton (wordpress core as submodule in separated folder, content and config files in root) – Use the starter theme Roots 101 – Deploy to a staging and production server (depending on the current Git branch?) – Keep uploads out of version control, sync them separately – Use a good DB migration strategy – If possible: automate repetitive tasks Read More
Web Development – Tools of the Trade
What is what and why should I use it?
Javascript Frameworks
- Node.js Node.js (Node) is an I/O environment built on top of Google Chrome’s JavaScript runtime — essentially, a server-side implementation of JavaScript. Node’s asynchronous, event-driven I/O model makes it easy for developers with JavaScript knowledge to build high-performing, scalable, and highly concurrent web applications rapidly and run them in the cloud. Node.js uses an event-based server execution procedure rather than the multithreaded execution in PHP.Beginner’s Guide to Node.js Read More