This file contains 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
/* | |
Theme Name: Breeze theme | |
Theme URI: | |
Description: | |
Version: 1.0 | |
Author: Freshout | |
Tags: | |
*/ |
This file contains 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 | |
/************************ | |
* Google Contact importer | |
* | |
* Asks for permissions to provide access to your Gmail/Google contacts | |
* to the given site. | |
*************************/ | |
// include all required components from Zend Gdata | |
// from: http://framework.zend.com/download/gdata |
This file contains 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
openssl req -x509 -nodes -days 365 -newkey rsa:1024 -sha1 -subj '/C=US/ST=CA/L=Mountain View/CN=yourdomain.com' -keyout myrsakey.pem -out myrsacert.pem |
This file contains 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
jQuery.fn.center = function () { | |
this.css("position","absolute"); | |
this.css("top", ( $(window).height() - this.height() ) / 2+$(window).scrollTop() + "px"); | |
this.css("left", ( $(window).width() - this.width() ) / 2+$(window).scrollLeft() + "px"); | |
return this; | |
} |
This file contains 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
python -m smtpd -n -c DebuggingServer localhost:1025 |
This file contains 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
on run | |
tell application "Google Chrome" | |
set musicTab to (first tab of every window whose title contains "Music Beta") | |
try | |
execute musicTab javascript "SJBpost('playPause');" | |
end try | |
end tell | |
end run |
This file contains 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
# ... | |
SUBDOMAINS = { | |
'manager': { | |
'urlconf': 'urls', | |
'domain': 'manager.domain.com' | |
}, | |
'clients': { | |
'urlconf': 'clients.urls', | |
'domain': 'clients.domain.com' |
This file contains 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
""" | |
db.seq.insert({_id: 'pacientes', seq: 1}) | |
""" | |
from django.conf import settings | |
from pymongo import Connection | |
DATABASES = settings.DATABASES |
This file contains 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
server { | |
listen 80; | |
client_max_body_size 4G; | |
access_log /var/sites/webapp/logs/access.maintenance.log; | |
error_log /var/sites/webapp/logs/error.maintenance.log info; | |
server_name api.webapp.com; | |
# this guy redirects any path to /api.json |
This file contains 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
{ | |
"something": [ | |
"item 1", | |
"item 2", | |
"item 3", | |
"....", | |
"item n" | |
] | |
} |
OlderNewer