Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: CjulERsDeqhhjSme66ECg
> npm publish | |
npm http PUT https://registry.npmjs.org/automatic | |
npm http 409 https://registry.npmjs.org/automatic | |
npm http GET https://registry.npmjs.org/automatic | |
npm http 200 https://registry.npmjs.org/automatic | |
npm http PUT https://registry.npmjs.org/automatic/-/automatic-0.1.4.tgz/-rev/19-f0df2d448015e2429bc00a492ab7472d | |
npm http 403 https://registry.npmjs.org/automatic/-/automatic-0.1.4.tgz/-rev/19-f0df2d448015e2429bc00a492ab7472d | |
npm http PUT https://registry.npmjs.org/automatic/-/automatic-0.1.4.tgz/-rev/19-f0df2d448015e2429bc00a492ab7472d | |
npm http 400 https://registry.npmjs.org/automatic/-/automatic-0.1.4.tgz/-rev/19-f0df2d448015e2429bc00a492ab7472d | |
npm ERR! registry error parsing json |
$.getJSON('https://alpha-api.app.net/stream/0/users/@blainsmith/posts', function(res) { | |
var posts = res.data; | |
// Do shit with posts | |
}); |
{ | |
"create_window_at_startup": false, | |
"detect_indentation": false, | |
"hot_exit": false, | |
"remember_open_files": false, | |
"tab_size": 2, | |
"translate_tabs_to_spaces": true, | |
"draw_white_space": "all", |
var CONST = { | |
API_KEY: '123456789abcdefg', | |
PI: 3.14 | |
}; | |
Object.freeze(CONST); | |
// Will print {API_KEY: "123456789abcdefg", PI: 3.14} | |
console.log(CONST); | |
// Attempt to change the value of PI to something else, but won't happen |
// Break a loop | |
var i = 0; | |
theAnswerToTheUniverse: while ( true ) { | |
console.log( ++i ); | |
if ( i === 42 ) break theAnswerToTheUniverse; | |
} | |
// Break an if | |
myTest: if ( condition ) { | |
// some code... |
self.on('beast mode', function(response){ | |
response.raise(weight.max()); | |
}); |
function redirect_xmlrpc_to_custom_post_type ($data, $postarr) { | |
// This function detects a XML-RPC request and modifies it before posting | |
$p2_custom_post_type = 'FanPost'; // Define your Custom post type | |
if (defined('XMLRPC_REQUEST') || defined('APP_REQUEST')) { | |
$data['post_type'] = $p2_custom_post_type; // sets the request post type to custom post type instead of the default 'Post'. | |
return $data; | |
} | |
return $data; |
Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: CjulERsDeqhhjSme66ECg
FOO: | |
- https://github.com/blainsmith/Plugin-Gist | |
- https://github.com/gitlabhq/gitlabhq | |
PRd: | |
- https://github.com/j4mie/paris | |
- https://github.com/j4mie/idiorm |
# Custom Hosts | |
127.0.0.1 wordpress.dev | |
127.0.0.1 drupal.dev | |
127.0.0.1 webapp-a.dev | |
127.0.0.1 webapp-b.dev | |
#127.0.0.1 NEW-SITE.dev |