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
####################################################### | |
### nginx compact ojs configuration start | |
####################################################### | |
location ~ /\.ht { | |
deny all; | |
} | |
location ~ ^/cache(.*)$ { | |
deny all; |
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
xcode-select --install |
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
#!/usr/bin/perl | |
# a little script to get your network status | |
$en0_info = `ifconfig en0 | grep "inet" | grep -v 127.0.0.1`; | |
$en2_info = `ifconfig en2 | grep "inet" | grep -v 127.0.0.1`; | |
$en4_info = `ifconfig en4 | grep "inet" | grep -v 127.0.0.1`; | |
$ext_info = `curl --silent http://checkip.dyndns.org | awk '{printf \$6}' | cut -f 1 -d "<" | tr -d '\n'`; | |
$airport_network = `/System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport -I | awk -F: '/ SSID/ {print \$2}' | tr -d ' '`; | |
if($ext_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
Verifying myself: My Bitcoin username is +briangilbert. https://onename.io/briangilbert |
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
# prevent the creation of .DS_Store files on network drives | |
# http://hints.macworld.com/article.php?story=2005070300463515 | |
defaults write com.apple.desktopservices DSDontWriteNetworkStores true | |
#--------------------------------------------------------------------- | |
# Disable/enable Dashboard: | |
# http://hints.macworld.com/article.php?story=20050723123302403 | |
defaults write com.apple.dashboard mcx-disabled -boolean YES |
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/wordcount/plugin.js b/wordcount/plugin.js | |
index 4fa20d6..2177247 100644 | |
--- a/wordcount/plugin.js | |
+++ b/wordcount/plugin.js | |
@@ -21,7 +21,7 @@ CKEDITOR.plugins.add('wordcount', { | |
// Default Config | |
var defaultConfig = { | |
showWordCount: true, | |
- showCharCount: false, | |
+ showCharCount: true, |
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/showprotected/dialogs/protected.js b/showprotected/dialogs/protected.js | |
index 9c7ede3..8a06f04 100644 | |
--- a/showprotected/dialogs/protected.js | |
+++ b/showprotected/dialogs/protected.js | |
@@ -3,13 +3,13 @@ CKEDITOR.dialog.add( 'showProtectedDialog', function( editor ) { | |
return { | |
title: 'Edit Protected Source', | |
- minWidth: 300, | |
- minHeight: 60, |
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
### | |
### Custom site for xhprof. | |
### | |
server { | |
include fastcgi_params; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
limit_conn limreq 32; # like mod_evasive - this allows max 32 simultaneous connections from one IP address | |
listen *:80; | |
server_name xhprof.ld; |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Disabled</key> | |
<false/> | |
<key>EnvironmentVariables</key> | |
<dict> | |
<key>PATH</key> | |
<string>/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</string> |
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
### /var/aegir/config/server_master/nginx/pre.d/nginx_wild_ssl.conf | |
upstream nginx_http { | |
server localhost:80; | |
} | |
server { | |
listen *:443 ssl spdy; | |
server_name _; | |
ssl on; | |
ssl_certificate /usr/local/etc/ssl/private/nginx-wild-ssl.crt; | |
ssl_certificate_key /usr/local/etc/ssl/private/nginx-wild-ssl.key; |