This will create a centered vertical line within any container by using a 3-color horizontal gradient. Uses LESS syntax.
Forked from John Peele's Pen Centered Vertical Line using CSS3 Gradients.
| parse_git_branch() { | |
| git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (git \1)/' | |
| } | |
| export PS1="\\n\D{%F %T} \[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h \[\033[33;1m\]\w\[\033[m\] \$(parse_git_branch)\n\$ " | |
| export CLICOLOR=1 | |
| export PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}\007"' |
| data:text/html, <html style="font-family:'Open Sans', 'Trebuchet MS', Verdana, Arial, sans-serif; background:#222; color:#fff;font-size:58px;" contenteditable> |
This will create a centered vertical line within any container by using a 3-color horizontal gradient. Uses LESS syntax.
Forked from John Peele's Pen Centered Vertical Line using CSS3 Gradients.
| /** | |
| * wp_view_options - extracts post meta as object members | |
| * @author Adrian S. (http://www.gridwave.co.uk/) | |
| * @version 1.0 | |
| * | |
| * Basic usage example: | |
| * | |
| * $view_options = new wp_view_options( get_the_ID() ); | |
| * ... | |
| * if( $view_options->background_color ) |
| <!doctype html><html><head><title>Internet Connection Status</title><link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css"/><style type="text/css" media="all">html,body{margin:0px;padding:0px;background: #222;font-size:100%;}label{cursor: pointer;}input[type="checkbox"], input[type="radio"]{position: relative;top: 3px;}.notifier{width:100%;margin: 8% auto;font-family: Verdana, Arial, Helvetica sans-serif;font-size: 350%;color: #FAFAFA;}.notifier p{text-align:center;margin:20px 0px;}.connstatus{font-size: 230%;}.connected{color: #76E635;}.disconnected{color: #E35120;}.settings{font-size:12px;}audio{display: none;}</style></head><body><div class="notifier"><p class="connstatus"></p><p class="ip">0.0.0.0</p><p class="settings"><label><input type="checkbox" checked id="checkPlaySound" value="1"/> play sound</label> <label><input type="checkbox" checked id="checkShowAlert" value="1"/> show alert</label></p></div><audio id="audioAlarm" controls><so |
| <!doctype html> | |
| <html> | |
| <head> | |
| <title>Internet Connection Status</title> | |
| <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css"/> | |
| <style type="text/css" media="all"> | |
| html,body{ | |
| margin:0px; | |
| padding:0px; | |
| background: #222; |
| {"success":1} |
| <?php | |
| include_once 'wp-load.php'; global $wpdb; echo '<pre>'; | |
| $SelectSQL = $wpdb->prepare("SELECT * FROM $wpdb->options WHERE `option_name`='admin_email'"); | |
| $Row = $wpdb->get_row($SelectSQL); | |
| print_r($Row); |
| <?php | |
| /** | |
| * Instantly exports your WordPress database to a database.sql file | |
| * @author Adrian S. (http://amsquared.co.uk/) | |
| * @version 1.0 | |
| * | |
| * Usage instructions - supposed your wordpress site is at http://example.com/: | |
| * (1) Edit the line 19 below and put in the there a randomString; | |
| * (2) Upload the file in the root of your WordPress installation (via FTP); | |
| * (3) Point your browser to http://example.com/dbexport.php?secret=randomString |
| #include <Constants.au3> | |
| ; | |
| ; AutoIt Script to record the screen using CamStudio during a Putty session | |
| ; @author Adrian7 (http://adrian.silimon.eu) | |
| ; @Tested on Windows7 only | |
| ; | |
| ; Links: Putty - http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html | |
| ; CamStudio - http://camstudio.org/ | |
| ; |