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
| cat ~/.ssh/id_rsa.pub | ssh user@server.com 'cat >> .ssh/authorized_keys' |
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
| find . -type f -exec chmod 644 {} \; && find . -type d -exec chmod 755 {} \; |
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
| # lighttpd -D -f conf/lighttpd.conf | |
| server.document-root = "/path/to/webroot" | |
| server.port = 8080 | |
| #server.username = "username" | |
| #server.groupname = "password" | |
| static-file.exclude-extensions = ( ".fcgi", ".php", ".rb", "~", ".inc" ) | |
| index-file.names = ( "index.html", "index.php", "server.php" ) |
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
| ## Customized for Laravel 4 | |
| # setting worker_processes to CPU core count | |
| worker_processes 1; | |
| daemon off; | |
| events { | |
| worker_connections 1024; | |
| } |
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
| #rh-bnr-wrp_DMD160X600RS { | |
| display: none; | |
| } | |
| #rhfrm_AS1DEMONOID_14535_7 { | |
| display: none; | |
| } | |
| td.pad9px_right { | |
| display: none; |
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
| #content { | |
| margin: 0; | |
| max-width: 100%; | |
| padding: 0; | |
| width: 100%; | |
| } | |
| #detailsouterframe { | |
| margin: 0; | |
| width: 100%; |
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
| 'use strict'; | |
| angular.module('myApp') // use whatever your app is using to load configs | |
| .config(['$provide', function ($provide) { | |
| $provide.decorator('$rootScope', [ | |
| '$delegate', function ($delegate) { | |
| Object.defineProperty($delegate.constructor.prototype, | |
| '$bus', { | |
| value: postal, // probably could wrap into window.postal but this works fine for me | |
| enumerable: false | |
| }); |
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
| #!/bin/bash | |
| ## Automatically generate RELEASE version and revision | |
| ## | |
| ## Example: | |
| ## Given a most recent tag of `0.0.1` in git, this hook maintains a file like `RELEASE` of contents `0.0.1.rev-94` | |
| ## Install: | |
| ## mv pre-commit.sh .git/hooks/pre-commit && chmod +x .git/hooks/pre-commit | |
| exec 1>&2 | |
| revisioncount=`git log --oneline | wc -l` |
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
| 'use strict'; | |
| /** | |
| * @ngdoc filter | |
| * @name musiLandingApp.filter:timeFormat | |
| * @function | |
| * @description | |
| * # timeFormat | |
| * Filter in the musiLandingApp. | |
| */ |
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
| var config = require('12factor-config'), | |
| path = require('path'), | |
| fs = require('fs'); | |
| // load .env file from relative ../.env | |
| var envFile = path.join(__dirname, '../', '.env'); | |
| if (fs.existsSync(envFile)) { | |
| var env = require('node-env-file'); | |
| env(envFile, { overwrite: true}); | |
| } |
OlderNewer