codefornow.com
the big server migration – day 1 | code for now
http://www.codefornow.com/2015/03/13/the-big-server-migration-day-1
The big server migration – day 1. I’m embarking upon a big server migration moving from a “co-lo” to cloud-based VPS hosted solution. the cloud provider i’m going with is linode. My first attempt at launching an instance of a VM failed and i had to contact their customer support. Their online customer support migrated me from one box to another and i was up and running quickly thereafter. the CS rep responded to my online support ticket within 30 minutes of opening it, so that seemed pretty good. Global ...
codefornow.com
code for now | write it today, obsolete tomorrow? | Page 3
http://www.codefornow.com/page/3
Using passport for facebook authentication. Offers very easy facebook authentication integration into your node app. for the most part, it’s very straightforward, but i got tripped up in a few places. I’m using krakenjs. For my express framework so you have to be a little mindful that some of the express setup stuff has been abstracted away from you. because of that, i was puzzled because i didn’t understand why i couldn’t get access to the passport user object once authenticated. This function is run on...
codefornow.com
the big server migration – day 3 | code for now
http://www.codefornow.com/2015/03/16/the-big-server-migration-day-3
The big server migration – day 3. Ugh, i’m sick and restless so after being in bed all day, i decided to get up and apply myself a little with what else? Yet another blog migration to the new server. That being said, i was able to migrate another blog over and am just waiting for DNS to propagate before i call it a complete success. Webpack on a node.js stack. Has koa’s time come yet? Is sails.js the way to go? Lazo vs. rendr vs. ezel. Bootstrap 3 vs. foundataion 5 – when will this ever end? Sublime text...
codefornow.com
webpack – chunk files not found | code for now
http://www.codefornow.com/2015/05/18/webpack-chunk-files-not-found
Webpack – chunk files not found. I’ve started my foray into webpack which appears to be quite promising, but the documentation is overwhelming and not very gentle for the newcomer. I was trying to figure out how to asynchronously load files with webpack using CommonJS modules. apparently, if you specify an output.path in webpack, you will also need to specify the output.publicPath option so that webpack knows how to find the chunks. An example working webpack.config.js file:. Create multiple entry points.
codefornow.com
May | 2015 | code for now
http://www.codefornow.com/2015/05
Monthly Archives: May 2015. Webpack – karma and istanbul code coverage. Part of the difficulty of using something like webpack is that the source code that you edit is not the final code that is used in your project. so when it comes to unit testing your code, you have to figure out how to instrument what webpack is bundling. Luckily, there’s istanbul-instrumenter-loader. You can add this as a loader which will add the instrumentation of the code in your project as part of the webpack process. In the web...
codefornow.com
March | 2015 | code for now
http://www.codefornow.com/2015/03
Monthly Archives: March 2015. The big server migration – day 4. Doing just a little bit of this migration at a time is starting to wear on me. i’ve decided to hunker down and move everything else over. it is turning out that i just happened to pick the problematic sites to migrate over first because the rest of the migrations are starting to move over quite nicely. I believe the migration is complete. DNS just needs to propagate and we’re pretty much golden. The big server migration – day 3. In the mean ...
codefornow.com
the big server migration – day 4 | code for now
http://www.codefornow.com/2015/03/17/the-big-server-migration-day-4
The big server migration – day 4. Doing just a little bit of this migration at a time is starting to wear on me. i’ve decided to hunker down and move everything else over. it is turning out that i just happened to pick the problematic sites to migrate over first because the rest of the migrations are starting to move over quite nicely. I believe the migration is complete. DNS just needs to propagate and we’re pretty much golden. Leave a Reply Cancel reply. Your email address will not be published. Window...
codefornow.com
atom vs. sublime text | code for now
http://www.codefornow.com/2014/03/24/atom-vs-sublime-text
Atom vs. sublime text. About a month ago there was a lot of hype about atom. From the folks at github. the hubbub was great and there was a lot of excitement about what kind of offering github would present to us. once i got my invite, i eagerly installed it and gave it a test run. FAN-TAS-TIC. except, when i started to use atom, i realized something: i don’t want to hack my text editor. actually, i don’t want to even think about my text editor. i want to think about my code. ...At its core, you expect a...
codefornow.com
code for now | write it today, obsolete tomorrow? | Page 4
http://www.codefornow.com/page/4
Fish shell – extraordinarily colorful and more. I don’t really expect a whole lot from my shell. Sure, store some aliases, have the ability to do some basic color highlighting for my directory lists, and that’s about it, really. I spend a lot of time in the shell, but I have never really expected the shell to work for me, instead I have just learned to type faster over the years. But it was just recently that I learned about the fish shell. Before, I’d have to look through code to try to understand...
codefornow.com
June | 2014 | code for now
http://www.codefornow.com/2014/06
Monthly Archives: June 2014. Windows new file type context menu editor. Lets you easily manage the right click- new file types in windows. it seems like i’m learning how to use windows all over again…. Sublime text editor – windows context menu integration. Turns out someone has already figured out how to add it:. Https:/ gist.github.com/jcppkkk/8330314. Browserify, jquery, and jquery plugins. I’ve been playing around with browserify. This lets you write code that looks like:. It turns out that jquery wo...