sudo apt-get install tightvncserver
vncserver :1 -geometry 1280x800 -depth 16 -pixelformat rgb565
- Set up a password for access (optional)
sudo vi /etc/init.d/tightvncserver
| /* | |
| * Gridism | |
| * A simple, responsive, and handy CSS grid by @cobyism | |
| * https://github.com/cobyism/gridism | |
| */ | |
| /* Preserve some sanity */ | |
| .grid, | |
| .unit { | |
| -webkit-box-sizing: border-box; |
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.
Remove the dist directory from the project’s .gitignore file (it’s ignored by default by Yeoman).
Download:
| #!/usr/bin/env ruby | |
| require 'rubygems' | |
| require 'open-uri' | |
| # Run `emojibomb` to get three emoji. | |
| # Run `emojibomb N`, where `N` is a positive integer to get N emoji. | |
| response = open("http://www.emoji-cheat-sheet.com/") | |
| html = response.read | |
| emoji = html.scan(/:\S+:/) |
| // Highlight articles on/about GitHub | |
| $('span, a, p').filter(':contains("github")') | |
| .css('background-color', '#ffff66') | |
| $('span, a, p').filter(':contains("GitHub")') | |
| .css('background-color', '#ffff66') |
| unnamed gist | |
| wat is this i don't even |
This is body text
Code listing line one Code listing line two
And more body text.
| class WidgetsController < ApplicationController | |
| # GET /widgets | |
| # GET /widgets.json | |
| def index | |
| @widgets = Widget.all | |
| respond_to do |format| | |
| format.html # index.html.erb | |
| format.json { render json: @widgets } | |
| end |