- Replace “halil” with your username.
- Work in progress.
A list of things that can/should be tested, preferably before commit/receive.
- SimianArmy
- muhafiz
- appCanary - Monitor servers for vulnerabilities
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 | |
# Rails Terminals for Rails 3.2/4 and Gnome | |
# A simple script that opens a Gnome terminal with titled tabs: | |
# 1. Rails Server | |
# 2. Spork | |
# 3. bash | |
# and opens the app in: | |
# 1. Sublime Text | |
# 2. Browser |
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
find . -type f \( ! -name "*.php" -and ! -name "*.css" -and ! -name "*.js" -and ! -name "*.jpg" -and ! -name "*.png" -and ! -name "*.gif" \) -not -path "*/vendor/*" |
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 | |
# | |
# chkconfig: 2345 95 20 | |
# description: Sphinx searchd for example app. | |
# processname: searchd_example | |
SEARCHD=/usr/local/bin/searchd | |
CONF=/home/user/app/sphinx.conf | |
# Source function library. |
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
tr: | |
admin: | |
js: | |
true: Doğru | |
false: Yanlış | |
is_present: Mevcut | |
is_blank: Boş | |
date: Tarih ... | |
between_and_: ... ile ... arası | |
today: Bugün |
sudo nano /etc/apt/sources.list.d/pgdg.list
# - Add
# deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main
# - and save
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get install postgresql-9.3 libpq-dev
sudo nano /etc/postgresql/9.3/main/pg_hba.conf
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
* -A in SSH enables agent forwarding. | |
* -p 2122 is not needed if you use the default port of 22. | |
* Replace SSH_USER and example.com with your own values. | |
* Example run: $ envoy run deploy_demo | |
* --no-scripts because Laravel composer.json's post-install-cmd includes optimize, which is already done by php artisan dump-autoload | |
@servers(['test' => '-A -p 2122 -l user test.example.com', 'prod' => '-A -p 2122 -l user example.com']) | |
@task('install_test', ['on' => ['test']]) | |
cd project |