ls -la ~/.ssh/ssh-keygen -t rsa -C "[email protected]"cat ~/.ssh/id_rsa.pub
Copy that public key to github here
git clone [email protected]:<owner>/<repo>.git
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <link href="http://cdnjs.cloudflare.com/ajax/libs/foundation/5.0.3/css/normalize.min.css" rel="stylesheet" type="text/css" /> | |
| <link href="http://cdnjs.cloudflare.com/ajax/libs/foundation/5.0.3/css/foundation.min.css" rel="stylesheet" type="text/css" /> | |
| <script src="http://cdnjs.cloudflare.com/ajax/libs/foundation/5.0.3/js/vendor/jquery.min.js"></script> | |
| <script src="http://cdnjs.cloudflare.com/ajax/libs/foundation/5.0.3/js/foundation.min.js"></script> | |
| <script src="http://code.jquery.com/jquery-1.11.1.min.js"></script> | |
| <meta charset="utf-8"> | |
| <title>JS Bin</title> |
ls -la ~/.ssh/ssh-keygen -t rsa -C "[email protected]"cat ~/.ssh/id_rsa.pubCopy that public key to github here
git clone [email protected]:<owner>/<repo>.gitSteps
pip install django-rosetta and add to apps in settings if 'rosetta' in settings.INSTALLED_APPS:
urlpatterns += patterns('',
url(r'^rosetta/', include('rosetta.urls')),
)
| function Leaf(){ | |
| this.type; // 'active', 'seen', 'unseen' | |
| this.position; // [300,2311,45] (x,y,degree) degree in range 0...360 | |
| this.link; // '/program/page/13' | |
| this.num; // 4 | |
| } | |
| var l1 = new Leaf(); | |
| l1.type = 'active'; | |
| l1.position = [200,400,45]; |
#How to fork & clone
Go here and click "fork". This will basically make a copy of the repo for you. Then you can work completely in your own version.
git clone https://github.com/<username>/ipals.git
From there you can edit, add, commit, push, branch, etc.
#How to stay up to date with upstream
| { | |
| "_index": "logstash-2014.09.07", | |
| "_type": "apachelog", | |
| "_id": "ol9eYzadQ7OO__H_NCDuWw", | |
| "_score": 1.3266282, | |
| "_source": { | |
| "message": "98.234.57.119 - - [06/Sep/2014:19:34:02 -0700] \"GET /video/upload/ HTTP/1.1\" 418 789 \"-\" \"videoUploader/.01 (iPad; iOS 7.1; Scale/1.00)\"", | |
| "@version": "1", | |
| "@timestamp": "2014-09-07T02:34:03.284Z", | |
| "type": "apachelog", |
| # EASY-INSTALL-ENTRY-SCRIPT: 'grunt==0.1.1','console_scripts','grunt' | |
| __requires__ = 'grunt==0.1.1' | |
| import sys | |
| from pkg_resources import load_entry_point | |
| if __name__ == '__main__': | |
| sys.exit( | |
| load_entry_point('grunt==0.1.1', 'console_scripts', 'grunt')() | |
| ) |
| import ldap | |
| def check_credentials(username, password): | |
| """Verifies credentials for username and password. | |
| Returns None on success or a string describing the error on failure | |
| # Adapt to your needs | |
| """ | |
| LDAP_SERVER = 'ldap://xxx' | |
| # fully qualified AD user name | |
| LDAP_USERNAME = '%[email protected]' % username |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>PHP Markdown Lib - Readme</title> | |
| </head> | |
| <body> | |
| <?php | |
| # Put HTML content in the document | |
| echo $html; | |
| ?> |
| <nav class="top-bar"> | |
| <ul class="title-area"> | |
| <!-- Title Area --> | |
| <li class="name"> | |
| <h1><a href="#">The Title</a></h1> | |
| </li> | |
| <!-- Remove the class "menu-icon" to get rid of menu icon. Take out "Menu" to just have icon alone --> | |
| <li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li> | |
| </ul> |