Skip to content

Instantly share code, notes, and snippets.

View keepanote's full-sized avatar
🎯
Focusing

levelup keepanote

🎯
Focusing
View GitHub Profile
@jikeytang
jikeytang / [ Javascript ] - 20140718-题目1
Created July 17, 2014 15:44
[ Javascript ] - 20140718-题目1
请把一组有规律的单词拼接起来,规则为:
前一个单词的结尾应该与下一个单词的首字母相同。
如: aloha, dog, arachnid, gopher, tiger, rat
结果为:aloha-arachnid-dog-gopher-rat-tiger.
PS:
1. 回复时注意加上下面这句话,才会有语法高亮或格式缩进。
```javascript
@oodavid
oodavid / README.md
Last active March 11, 2025 21:41 — forked from aronwoost/README.md
Deploy your site with git

Deploy your site with git

This gist assumes:

  • you have a local git repo
  • with an online remote repository (github / bitbucket etc)
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by apache
  • apache's home directory is /var/www/
@aronwoost
aronwoost / README.md
Created July 25, 2011 19:48
Build auto-deploy with php and git(hub) on an EC2 Amazon AMI instance

Kind of continue from the other gist how to install LAMP on an Amazon AMI

##Install git

sudo yum install git-core

##Create ssh directory since it doesn't exists by default on the Amazon AMI