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
| <script type="text/javascript" data-ng-script-load> | |
| var script = document.createElement('script'); | |
| script.type = 'text/javascript'; | |
| script.src = '[SCRIPT_PATH]'; | |
| document.getElementsByTagName('head')[0].appendChild(script); | |
| </script> |
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
| .run(['$rootScope', '$location', 'Auth', ($rootScope, $location, Auth) -> | |
| $rootScope.$on "$routeChangeStart", (event, next, current) -> | |
| redirectPath = $location.path() | |
| console.debug "Route change started.", next, current, next.access, Auth.isLoggedIn() | |
| _authorize = () -> | |
| if next.access != undefined |
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
| description "Graphite Carbon Cache Daemon" | |
| start on runlevel [2345] | |
| stop on runlevel [!2345] | |
| expect daemon | |
| respawn | |
| env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
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
| ioreg -lw0 | grep \"EDID\" | sed "/[^<]*</s///" | xxd -p -r | strings -6 |
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
| wget --no-check-certificate --no-cookies - --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/7u51-b13/jdk-7u51-linux-x64.tar.gz |
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
| require 'formula' | |
| class Tor < Formula | |
| homepage 'https://www.torproject.org/' | |
| url 'https://www.torproject.org/dist/tor-0.2.4.21.tar.gz' | |
| sha1 'b93b66e4d5162cefc711cb44f9167ed4799ef990' | |
| devel do | |
| url 'https://www.torproject.org/dist/tor-0.2.5.2-alpha.tar.gz' | |
| version '0.2.5.2-alpha' |
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
| server { | |
| listen 443 ssl; | |
| server_name hostname; | |
| ssl on; | |
| ssl_certificate /etc/nginx/ssl_certs/hostname.bndl.crt; | |
| ssl_certificate_key /etc/nginx/ssl_certs/hostname.key; | |
| ssl_session_timeout 5m; |
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
| Check DKIM http://dkimcore.org/c/keycheck | |
| Generate DKIM http://www.socketlabs.com/domainkey-dkim-generation-wizard/ | |
| Generate DKIM http://www.port25.com/support/domainkeysdkim-wizard/ | |
| openssl pkcs8 -topk8 -nocrypt -in privateKeyDkim.pem -out privateKeyDkim.der -outform der |
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
| sudo mount_ntfs -o "rw,auto,nobrowse" /dev/disk1s1 /Volumes/portable |
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
| // This will simply create link to underscore libraries via wrapping it into service | |
| angular.module('underscore', []) | |
| .factory('_', function() { | |
| return window._; | |
| }); |