-
Simplest intro to git by github and codeschool - Try Git
-
[Intro to github]
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 | |
| # | |
| # This builds and installs a newer version of nginx on Ubuntu 14 with the same build/configure arguments | |
| # as the apt version | |
| # | |
| ./configure \ | |
| --prefix=/etc/nginx \ | |
| --sbin-path=/usr/sbin \ | |
| --conf-path=/etc/nginx/nginx.conf \ |
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 | |
| curl -fsSL https://yum.dockerproject.org/gpg | sudo apt-key add - | |
| sudo apt-get install -y \ | |
| apt-transport-https \ | |
| software-properties-common \ | |
| ca-certificates | |
| sudo add-apt-repository \ |
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 | |
| # | |
| # steps taken verbatim from: | |
| # http://docs.aws.amazon.com/AmazonECS/latest/developerguide/docker-basics.html#install_docker | |
| # | |
| sudo yum update -y | |
| sudo yum install -y docker | |
| sudo service docker start | |
| sudo usermod -a -G docker ec2-user | |
| # log out and log in to pickup the added group |
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 | |
| #title : replication-start.sh | |
| #description : This script automates the process of starting a Mysql Replication on 1 master node and N slave nodes. | |
| #author : Nicolas Di Tullio | |
| #date : 20160706 | |
| #version : 0.2 | |
| #usage : bash mysql_replication_autostart.sh | |
| #bash_version : 4.3.11(1)-release | |
| #============================================================================= |
I just had to set up Jenkins to use GitHub. My notes (to myself, mostly):
For setting up Jenkins to build GitHub projects. This assumes some ability to manage Jenkins, use the command line, set up a utility LDAP account, etc. Please share or improve this Gist as needed.
- get both the git and github plugin
- http://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin