Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| Verifying that +vidluther is my openname (Bitcoin username). https://onename.io/vidluther |
| { | |
| "name": "onmetal", | |
| "description": "Some attributes that are needed when a machine is an 'onmetal' machine from Rackspace", | |
| "json_class": "Chef::Role", | |
| "default_attributes": {}, | |
| "override_attributes": { | |
| "openssh": { | |
| "listen_interfaces": { | |
| "bond0.401": "inet" | |
| } |
| » which gem ◉ ◼◼◼◼◼◼◼◼◻◻ | |
| /opt/chefdk/embedded/bin/gem | |
| ~ ⮀ | |
| » gem list | grep sugar ◉ ◼◼◼◼◼◼◼◻◻◻ | |
| chef-sugar (2.1.0) |
| SELECT count(DISTINCT a.id) FROM wp_bp_activity a USE INDEX (type) WHERE a.is_spam = 0 AND a.id IN (957935) AND a.type != 'activity_comment' ORDER BY a.date_recorded DESC | |
| -> ; | |
| +----------------------+ | |
| | count(DISTINCT a.id) | | |
| +----------------------+ | |
| | 1 | | |
| +----------------------+ | |
| 1 row in set (2.31 sec) | |
| mysql> SELECT count(DISTINCT a.id) FROM wp_bp_activity a WHERE a.is_spam = 0 AND a.id IN (957935) AND a.type != 'activity_comment' ORDER BY a.date_recorded DESC; |
| sudo ~/Desktop/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia \ | |
| --volume /Volumes/Empty\ External\ Drive \ | |
| --applicationpath /Users/vluther/Desktop/Install\ OS\ X\ Mavericks.app --nointeraction |
| mysql> tee sql_log.sql | |
| Logging to file 'sql_log.sql' | |
| mysql> select count(1) from wp_options; | |
| +----------+ | |
| | count(1) | | |
| +----------+ | |
| | 1792 | | |
| +----------+ | |
| 1 row in set (0.00 sec) |
| location / { | |
| limit_except GET { | |
| deny all; | |
| } | |
| } |
| ~/work/www.zippykid.com/public/wp-content/themes/zippykid-theme (staging) > git push origin staging |
| <?php | |
| add_action( 'init', 'x_maintenance_mode' ); | |
| function x_maintenance_mode() { | |
| if ( defined( 'X_MAINTENANCE_MODE' ) && true === X_MAINTENANCE_MODE ) { | |
| if ( is_super_admin() && is_admin() ) | |
| return; | |
| die( 'Site is currently under maintenance' ); |