Skip to content

Instantly share code, notes, and snippets.

View levibostian's full-sized avatar

Levi Bostian levibostian

View GitHub Profile
@cobyism
cobyism / gh-pages-deploy.md
Last active May 20, 2025 01:15
Deploy to `gh-pages` from a `dist` folder on the master branch. Useful for use with [yeoman](http://yeoman.io).

Deploying a subfolder to GitHub Pages

Sometimes you want to have a subdirectory on the master branch be the root directory of a repository’s gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master branch alongside the rest of your code.

For the sake of this example, let’s pretend the subfolder containing your site is named dist.

Step 1

Remove the dist directory from the project’s .gitignore file (it’s ignored by default by Yeoman).

@ndarville
ndarville / business-models.md
Last active May 21, 2025 11:34
Business models based on the compiled list at http://news.ycombinator.com/item?id=4924647. I find the link very hard to browse, so I made a simple version in Markdown instead.

Business Models

Advertising

Models Examples
Display ads Yahoo!
Search ads Google
@pcworld
pcworld / _README.md
Last active June 19, 2024 03:06
Linux Spotify Ad Mute
@mrkmg
mrkmg / tclock.sh
Created May 16, 2012 19:17
Floating Clock for linux (tclock)
#!/bin/sh
### Floating Clock ######################################################
# Created by Scott Garrett https://github.com/Wintervenom #
# Found via https://bbs.archlinux.org/viewtopic.php?pid=557778#p557778 #
# Maintained By Kevin Gravier <[email protected]> #
#########################################################################
cols=`tput cols`