Symbolic links in /usr/local/bin
have been created for the following commands:
api_server.py
appcfg.py
bulkload_client.py
bulkloader.py
dev_appserver.py
download_appstats.py
gen_protorpc.py
body.node-type-article .field-name-body p:first-child:before { | |
content: "Content starts here! "; | |
font-style: italic; | |
display: block; | |
} | |
body.node-type-article #content:after { | |
content: "Hello World!"; | |
font-weight: bold; | |
font-size: 150%; |
{ "rules_auto_create_product_display" : { | |
"LABEL" : "Auto-create product display", | |
"PLUGIN" : "reaction rule", | |
"REQUIRES" : [ "rules", "entity" ], | |
"ON" : [ "commerce_product_insert" ], | |
"IF" : [ | |
{ "entity_has_field" : { "entity" : [ "commerce-product" ], "field" : "field_sku" } } | |
], | |
"DO" : [ | |
{ "entity_create" : { |
u@s:/etc/php5/fpm$ cat php.ini | grep memory_limit | |
memory_limit = 1024M |
https://www.google.com/webhp | |
?sourceid=chrome-instant | |
&ion=1 | |
&ie=UTF-8#hl=en | |
&safe=off | |
&tbo=d | |
&sclient=psy-ab | |
&q=here%20lies%20a%20fucking%20search%20query | |
&oq= | |
&gs_l= |
# Decrypt the private key by using the password you entered when you created your key: | |
openssl rsa -in ssl.key -out /etc/ssl/private/ssl.key | |
# Protect your key from prying eyes: | |
chmod 600 /etc/ssl/private/ssl.key | |
# Fetch the Root CA and Class 2 Intermediate Server CA certificates: | |
wget http://www.startssl.com/certs/ca.pem | |
wget http://www.startssl.com/certs/sub.class2.server.ca.pem |
// load a style | |
;(function(d) { | |
var lnk = d.createElement('link'), h = d.getElementsByTagName('head')[0]; | |
lnk.href = 'css.css'; | |
lnk.type = 'text/css'; | |
lnk.rel = 'stylesheet'; | |
h.appendChild(lnk); | |
}(document)); |
<?php | |
// resource.inc in api_forker/1.0/ | |
/** | |
* api forker callbacks for the beta version of the api | |
*/ | |
function api_forker_callback($api_version, $api_resource) { | |
$debug = '<pre>generated at line: ' . __LINE__ . ' in ' . __FILE__ . '</pre>'; | |
return "<p>Thanks for using Api Version <strong>$api_version!</strong></p> $debug"; |
If you mistakenly drop or clear stashes, they cannot be recovered through the normal safety mechanisms. However, you can try the following incantation to get a list of stashes that are still in your repository, but not reachable any more:
git fsck --unreachable | grep commit | cut -d\ -f3 | xargs git log --merges --no-walk --grep=WIP
// somewhere in themes/best_theme_ever/template.php | |
/** | |
* Implements hook_preprocess_views_view | |
*/ | |
function bte_preprocess_views_view(&$vars) { | |
if (isset($vars['view']->name)) { | |
$view_preproc_by_name = 'bte_preprocess_views_view__'.$vars['view']->name; | |
// | |
if (function_exists($view_preproc_by_name)) { |