Monthly Archives: October 2014
Stroh violin – Wikipedia, the free encyclopedia
wsargent/docker-cheat-sheet
MVP: Quickly Validate your Start-Up – YouTube
Pow: Zero-configuration Rack server for Mac OS X
Pow: Zero-configuration Rack server for Mac OS X.
Nice server!
Dockerizing WordPress
Types in MySQL: BigInt20 vs Int20 etcc – Stack Overflow
The “BIGINT20″ specification isn’t a digit limit. It just means that when the data is displayed, if it uses less than 20 digits it will be left-padded with zeros. 2^64 is the hard limit for the BIGINT type, and has 20 digits itself, hence BIGINT20 just means everything less than 10^20 will be left-padded with spaces on display.
via Types in MySQL: BigInt20 vs Int20 etcc – Stack Overflow.
Intermediate Rails: Understanding Models, Views and Controllers | BetterExplained
vim tips
Marks
Command | Description |
---|---|
ma |
set mark a at current cursor location |
'a |
jump to line of mark a (first non-blank character in line) |
`a |
jump to position (line and column) of mark a |
d'a |
delete from current line to line of mark a |
d`a |
delete from current cursor position to position of mark a |
c'a |
change text from current line to line of mark a |
y`a |
yank text to unnamed buffer from cursor to position of mark a |
:marks |
list all the current marks |
:marks aB |
list marks a, B |
http://vim.wikia.com/wiki/Using_marks
Go to Line
gg – start of the file
G – end of the file
42G or 42gg or :42<Enter> to 42 line
ngCordova file & angular provider
ngCordova – good, but can’t use in browser.
ngCordovaMocks - helps a lot, but still need to set grunt task to change what to include for testing in browser and production.
But why not to use $provider for this and set config.js ?
Something similar to section about IE
And some resources:
https://thinkster.io/egghead/providers/
http://nathanleclaire.com/blog/2014/04/12/unit-testing-services-in-angularjs-for-fun-and-for-profit/
https://docs.angularjs.org/guide/providers
ngCordova has mocks? https://github.com/driftyco/ng-cordova/releases
https://github.com/driftyco/ng-cordova/pull/15