Skip to content

Instantly share code, notes, and snippets.

View darkcheftar's full-sized avatar
👋
Hola Soy Tarun

MTR darkcheftar

👋
Hola Soy Tarun
View GitHub Profile
@darkcheftar
darkcheftar / gh-pages-deploy.md
Last active April 4, 2022 02:44 — forked from cobyism/gh-pages-deploy.md
Deploy to `gh-pages` from a `dist` folder on the master branch. Useful for use with [yeoman](http://yeoman.io).

@gunnarmorling solution was about 10000 times easier! To elaborate for git >2.5 (worktree)

Setup $ rm -rf dist $ echo "dist/" >> .gitignore $ git worktree add dist gh-pages Making changes $ make # or what ever you run to populate dist $ cd dist $ git add --all

@darkcheftar
darkcheftar / SimpleHTTPServerWithUpload.py
Created January 14, 2021 15:47 — forked from UniIsland/SimpleHTTPServerWithUpload.py
Simple Python Http Server with Upload
#!/usr/bin/env python
"""Simple HTTP Server With Upload.
This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.
"""