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
public void SendSMS(string smsText, string sendTo) | |
{ | |
#region Variables | |
string userId = ConfigurationManager.AppSettings["SMSGatewayUserID"]; | |
string pwd = ConfigurationManager.AppSettings["SMSGatewayPassword"]; | |
string postURL = ConfigurationManager.AppSettings["SMSGatewayPostURL"]; | |
StringBuilder postData = new StringBuilder(); | |
string responseMessage = string.Empty; | |
HttpWebRequest request = null; |
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
#!/bin/bash | |
# Sublime Text 2.0.2 install script | |
# Confirmation | |
echo 'Proceed with installing Sublime Text 2.0.2?' | |
echo '1. Yes' | |
echo '2. No' | |
echo '' | |
read REPLY |
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
# Setting PATH for Python 2.7 | |
# The orginal version is saved in .bash_profile.pysave | |
PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}" | |
export PATH | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM$ | |
eval "$(rbenv init -)" | |
#Fix $PATH for homebrew | |
homebrew=/usr/local/bin:/usr/local/sbin | |
export PATH=$homebrew:$PATH |
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
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, | |
b, u, i, center, | |
dl, dt, dd, ol, ul, li, | |
fieldset, form, label, legend, | |
table, caption, tbody, tfoot, thead, tr, th, td, | |
article, aside, canvas, details, embed, |
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
VBoxManage list runningvms | |
VBoxManage controlvm <uuid> poweroff | |
VBoxManage unregistervm <uuid> |
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
location /phpmyadmin { | |
root /usr/share/; | |
index index.php index.html index.htm; | |
location ~ ^/phpmyadmin/(.+\.php)$ { | |
try_files $uri =404; | |
root /usr/share/; | |
fastcgi_pass 127.0.0.1:9000; | |
fastcgi_index index.php; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
include /etc/nginx/fastcgi_params; |
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
diff --git a/memorycoin-qt.pro b/memorycoin-qt.pro | |
index d938c07..e1dd4ec 100644 | |
--- a/memorycoin-qt.pro | |
+++ b/memorycoin-qt.pro | |
@@ -353,7 +353,7 @@ isEmpty(BOOST_THREAD_LIB_SUFFIX) { | |
} | |
isEmpty(BDB_LIB_PATH) { | |
- macx:BDB_LIB_PATH = /opt/local/lib/db48 | |
+ macx:BDB_LIB_PATH = /usr/local/opt/berkeley-db4/lib |
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
must be root | |
for i in G M K; do du -ah | grep [0-9]$i | sort -nr -k 1; done | head -n 11 |
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
#!/bin/bash | |
echo "Stopping Qmail - MinisterAlan" | |
/etc/init.d/qmail stop | |
echo "Clearing the Mail Queue" | |
cd /var/qmail/queue/info |
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
export CURL_CA_BUNDLE=/path/to/ca-bundle.crt |
OlderNewer