This is the sequence of steps to follow to create a root gh-pages
branch. It is based on a question at [SO]
cd /path/to/repo-name
git symbolic-ref HEAD refs/heads/gh-pages
rm .git/index
git clean -fdx
echo "My GitHub Page" > index.html
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
package com.vertigo.service.rest.search; | |
import java.util.EnumSet; | |
import org.eclipse.jetty.server.Server; | |
import org.eclipse.jetty.servlet.DefaultServlet; | |
import org.eclipse.jetty.servlet.ServletContextHandler; | |
import com.vertigo.service.rest.search.filter.GuiceFilter; | |
import com.vertigo.service.rest.search.listener.GuiceServletContextListener; |
// ==UserScript== | |
// @name Well-formatted Notion URLs to your clipboard | |
// @namespace https://gist.github.com/licarth | |
// @version 0.1.1 | |
// @description Adds a button to copy/paste a nicely formatted link to the current Notion page. Paste it in Slack, GitHub, or anywhere that supports text/helm Clipboard items. Paste as value for markdown version. | |
// @author licarth | |
// @match https://www.notion.so/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=notion.so | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js | |
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js |