This file contains hidden or 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
<style type="text/css"> | |
body, button, input{ | |
font-size:130%; | |
font-family:Verdana, Arial, Helvetica, sans-serif; | |
} | |
</style> | |
<?php | |
define('SPATH', dirname(__FILE__)); |
This file contains hidden or 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
/** | |
* Changes WP default From: Wordpress <[email protected]> emails header | |
* to From: Blogname <[email protected]>. Customizable, drop it in your theme's functions.php to take effect. | |
* @author Adrian7 (http://adrian.silimon.eu) | |
*/ | |
function wp_mail_branding($args){ | |
$wp_domain = @parse_url(get_bloginfo('url')); | |
$wp_domain = $wp_domain['host']; | |
This file contains hidden or 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
{ | |
"USD": { | |
"symbol": "$", | |
"name": "Dolar american", | |
"symbol_native": "$", | |
"decimal_digits": 2, | |
"rounding": 0, | |
"code": "USD", | |
"name_plural": "Dolari americani" | |
}, |
This file contains hidden or 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
#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/ | |
; |
This file contains hidden or 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
<?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 |
This file contains hidden or 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
<?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); |
This file contains hidden or 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
{"success":1} |
This file contains hidden or 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
<!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; |
This file contains hidden or 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
<!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 |
This file contains hidden or 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
/** | |
* 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 ) |
OlderNewer