Skip to content

Instantly share code, notes, and snippets.

View DewofyourYouth's full-sized avatar
:octocat:
Pluckin' banjo or crafting a tinfoil hat. Also, sometimes I code. ;)

Jacob E. Shore DewofyourYouth

:octocat:
Pluckin' banjo or crafting a tinfoil hat. Also, sometimes I code. ;)
  • Dew of your Youth
  • Bet Shemesh, Israel
View GitHub Profile
@robinrendle
robinrendle / browsersync-webpack.md
Last active February 27, 2024 12:04
Getting set up with Browsersync and Webpack

Fixing our local environment with Browsersync

Whenever we change our templates we still have to use our build script and this can get annoying. Thankfully with webpack-dev-server and BrowserSync we can fix this:

npm i -D browser-sync browser-sync-webpack-plugin webpack-dev-server

BrowserSync will act like a proxy, waiting for webpack to do its thing and then reloading the browser for us.

@nanusdad
nanusdad / git-init-repo-from-dir
Created October 28, 2013 23:12
GitHub - initialize from existing directory
Create the remote repository, and get the URL such as
git@github.com:/youruser/somename.git or https://github.com/youruser/somename.git
If your local GIT repo is already set up, skips steps 2 and 3
Locally, at the root directory of your source, git init
Locally, add and commit what you want in your initial repo