Skip to content

Instantly share code, notes, and snippets.

View zst123's full-sized avatar

zst123 zst123

View GitHub Profile
@dupuy
dupuy / README.rst
Last active June 4, 2025 14:19
Common markup for Markdown and reStructuredText

Markdown and reStructuredText

GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.

@mmar
mmar / gist:1182301
Created August 30, 2011 22:42
Calling the Facebook Graph API using Latin
#!/usr/bin/env perl
use Lingua::Romana::Perligata;
ute UserAgent intra LWP.
ute Headers intra HTTP.
adnota >>> Change the URL below if needed <<<.
meo statio da dictum sic https://graph.facebook.com/me cis.
adnota >>> Replace <oauth2-token> with your OAuth 2.0 token <<<.
@jagregory
jagregory / gist:710671
Created November 22, 2010 21:01
How to move to a fork after cloning
So you've cloned somebody's repo from github, but now you want to fork it and contribute back. Never fear!
Technically, when you fork "origin" should be your fork and "upstream" should be the project you forked; however, if you're willing to break this convention then it's easy.
* Off the top of my head *
1. Fork their repo on Github
2. In your local, add a new remote to your fork; then fetch it, and push your changes up to it
git remote add my-fork [email protected]