We need an Open Source alternative to AMP.
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
echo "Flipping tables! (╯°□°)╯︵ ┻━┻" | |
num_rules=3 | |
real=3 # exposed to the ELB as port 443 | |
test=4 # used to install test certs for domain verification | |
health=5 # used by the ELB healthcheck | |
blue_prefix=855 | |
green_prefix=866 |
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
#!groovy | |
# Best of Jenkinsfile | |
# `Jenkinsfile` is a groovy script DSL for defining CI/CD workflows for Jenkins | |
node { | |
} |
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
execve("/usr/local/bin/php", ["php", "testcassandra.php"], [/* 21 vars */]) = 0 | |
brk(0) = 0x25e9000 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) | |
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe9e1062000 | |
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 | |
fstat(3, {st_mode=S_IFREG|0644, st_size=21459, ...}) = 0 | |
mmap(NULL, 21459, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fe9e105c000 | |
close(3) = 0 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) |
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 is an example of the Stack Exchange Tier 1 HAProxy config | |
# The only things that have been changed from what we are running are: | |
# 1. User names have been removed | |
# 2. All Passwords have been remove | |
# 3. IPs have been changed to use the example/documentation ranges | |
# 4. Rate limit numbers have been changed to randome numbers, don't read into them | |
userlist stats-auth | |
group admin users $admin_user | |
user $admin_user insecure-password $some_password |
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
from collections import defaultdict | |
def toposort(graph): | |
"""http://code.activestate.com/recipes/578272-topological-sort/ | |
Dependencies are expressed as a dictionary whose keys are items | |
and whose values are a set of dependent items. Output is a list of | |
sets in topological order. The first set consists of items with no | |
dependences, each subsequent set consists of items that depend upon | |
items in the preceeding sets. |
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
<?php | |
namespace application\Common; | |
class Bar extends \library\Common\Bar { | |
public function __construct() { | |
echo __METHOD__, PHP_EOL; | |
parent::__construct(); | |
} | |
} |
- https://code.google.com/p/go-wiki/wiki/Projects
- play.golang.org
- godoc.org
- go-search.org
- gopkg.in - http://godoc.org/gopkg.in/v1/docs
- golangprojects.com
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
Introduction to git | |
What is git? | |
- git is basically, a version control system where you can collaborate with | |
other and work on your projects. Developed by Linus. | |
Advantages of using git over other version system? | |
- git maintains snapshot of your projects, while other SVN store the diff for every change. | |
- git uses SHA1, so data loss is almost impossible (checks for data integrity). | |
- git maintains the local database, so the search is faster as compare to other. |
NewerOlder