git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| --- | |
| layout: nil | |
| --- | |
| <?xml version="1.0" encoding="utf-8"?> | |
| <feed xmlns="http://www.w3.org/2005/Atom"> | |
| <title type="text" xml:lang="en">{{ site.root_desc }}</title> | |
| <link type="application/atom+xml" href="http://paulstamatiou.com/feed/" rel="self"/> | |
| <link type="text" href="http://paulstamatiou.com" rel="alternate"/> | |
| <updated>{{ site.time | date_to_xmlschema }}</updated> |
| <!DOCTYPE HTML> | |
| <html xmlns:ng="http://angularjs.org" ng:controller="Main"> | |
| <head> | |
| <title ng:bind-template="Prefix: {{pageTitle}}"></title> | |
| <script type="text/javascript" src="build/angular.js" ng:autobind></script> | |
| <script type="text/javascript"> | |
| function Main(){} | |
| function Child(){} | |
| </script> |
| To remove a submodule you need to: | |
| Delete the relevant line from the .gitmodules file. | |
| Delete the relevant section from .git/config. | |
| Run git rm --cached path_to_submodule (no trailing slash). | |
| Commit and delete the now untracked submodule files. |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| { | |
| // -------------------------------------------------------------------- | |
| // JSHint Configuration, Strict Edition | |
| // -------------------------------------------------------------------- | |
| // | |
| // This is a options template for [JSHint][1], using [JSHint example][2] | |
| // and [Ory Band's example][3] as basis and setting config values to | |
| // be most strict: | |
| // | |
| // * set all enforcing options to true |
| #!/bin/sh | |
| ### | |
| # SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
| # For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
| ### | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
go to https://github.com/maxogden/art-of-node#art-of-node to view the newer versions of this document
| package main | |
| import ( | |
| "fmt" | |
| "time" | |
| ) | |
| // Suggestions from golang-nuts | |
| // http://play.golang.org/p/Ctg3_AQisl |