Getting Bittorrent Sync to work in the workplace seems frustratingly hard to do, at least if you are as unsuccesful at googling solutions for bypassing the corporate firewalls as I was. Turns out it is really easy to get it working! Les resten av dette innlegget »
I was amazed to find out that, although there is no Linux client for 1Password, you can actualy achieve full browser integration in Chrome under Linux! This is all possible using Wine, and worked surprisingly well. Using this, I can fill in passwords in the browser using the 1Password plugin, as well as add new ones.
This worked far better than I had hoped, and there are decent instructions from AgileBits on how to get this set up in the forums
grunt-contrib-concat plugin for ages, but to use that you would have to change your existing project for it to work. Adding support for handling inline build comments like these
// @codekit-prepend "some-file.js"
// @codekit-append "some-other-file.js"
makes it possible to keep using CodeKit&tm; and Grunt at the same time. That means non-Mac developers can still contribute to you project, you don’t have to change any code, and you can keep the nitty-gritty of various builds in Grunt, and just use CodeKit like you normally do. Which was kinda the point for me, since CodeKit < 2 sucked at sharing config between team members (build file changed all the time). Les resten av dette innlegget »
Case is that if you have tried installing NodeJS and tried running it under Cygwin you have gotten something like this:
/cygdrive/c/Dev/nodejs/npm: line 2: $'r': command not found
/cygdrive/c/Dev/nodejs/npm: line 4: $'r': command not found
/cygdrive/c/Dev/nodejs/npm: line 5: syntax error near unexpected token `$'inr''
'cygdrive/c/Dev/nodejs/npm: line 5: `case `uname` in
This is due to the Cygwin environment expecting Unix line feeds, whereas Windows (and the Node version compiled for it) are expecting Windows style line feeds. The trick here to using Node is simply to create an alias for it, making it run using the normal CMD shell. The fix is as easy as putthing this in your $HOME/.bashrc file:
alias npm="cmd /c npm"
Now you can
npm install all you want!
Når man utvikler en løsning som krever gyldige inputverdier for f.eks. bankkontonummer er det ofte et problem at man må ha testverdier som passerer en gyldighetssjekk. Les resten av dette innlegget »