A Pen by Andreas Storm on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[...]/node_modules/orientdb-binary/lib/orientdb/db.js:85 | |
this.serverProtocolVersion = OperationTypes.SERVER_PROTOCOL_VERSION; | |
^ | |
TypeError: Cannot set property 'serverProtocolVersion' of undefined |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias apchr="sudo apachectl restart" | |
alias php53="brew-php-select --set php53 && php-version 5.3" | |
alias php55="brew-php-select --set php55 && php-version 5.5" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var myApp = angular.module('myApp').service('CordovaNetwork', ['$ionicPlatform', '$q', function($ionicPlatform, $q) { | |
// Get Cordova's global Connection object or emulate a smilar one | |
var Connection = window.Connection || { | |
"CELL" : "cellular", | |
"CELL_2G" : "2g", | |
"CELL_3G" : "3g", | |
"CELL_4G" : "4g", | |
"ETHERNET" : "ethernet", | |
"NONE" : "none", | |
"UNKNOWN" : "unknown", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'); | |
var replace = require('gulp-replace'); | |
var info = require('./package.json'); | |
var args = require('yargs').argv; | |
var exec = require('child_process').exec; | |
// $ gulp bump -v x.x.x | |
gulp.task('bump', function () { | |
gulp.src([ | |
'package.json' |
Disclaimer : Heavily inspired from agnoster's theme - https://gist.github.com/3712874
A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
This procedure is tested on Mac OS X 10.8 with Developpers tools installed (xCode).
PHP 5.4 installed with Homebrew.
Update: I wrote a blog post about this.
Download the following files from Oracle website (yes, you need to create an account and accept terms):
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am welcoMattic on github. | |
* I am welcomattic (https://keybase.io/welcomattic) on keybase. | |
* I have a public key whose fingerprint is 9639 1EC6 EC65 5CEA 069B 9431 3120 61B3 21D1 CA26 | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Getting the data // | |
var filename = "ROM_NAME"; | |
var rawData = base64ToArray(findValue("B64_SRAM_" + filename)).map(function (a) { return String.fromCharCode(a); }).join(""); | |
var tmpLink = document.createElement("a"); | |
tmpLink.href = "data:application/force-download," + escape(rawData); | |
document.body.appendChild(tmpLink); |
I hereby claim:
- I am welcomattic on github.
- I am welcomattic (https://keybase.io/welcomattic) on keybase.
- I have a public key ASDMDqgYSYolrjpizquBaH7ivQg2SqEyXQlyCNNf71J0AAo
To claim this, I am signing this object:
OlderNewer