Skip to content

Instantly share code, notes, and snippets.

View adrian7's full-sized avatar
🦉
cărturar și filozof

Adrian Şilimon-Morariu adrian7

🦉
cărturar și filozof
View GitHub Profile
{
"USD": {
"symbol": "$",
"name": "Dolar american",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "USD",
"name_plural": "Dolari americani"
},
@adrian7
adrian7 / wpmailbranding.php
Created August 24, 2012 19:16
Changes WP default From: Wordpress <wordpress@yourdomain.tld> emails header
/**
* Changes WP default From: Wordpress <wordpress@yourdomain.tld> emails header
* to From: Blogname <no-reply@yourdomain.tld>. 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'];
@adrian7
adrian7 / finder.php
Created August 7, 2012 20:27
Finder.php - find files with php
<style type="text/css">
body, button, input{
font-size:130%;
font-family:Verdana, Arial, Helvetica, sans-serif;
}
</style>
<?php
define('SPATH', dirname(__FILE__));