A basic server setup guide for people from debian to CentOS.
yum
is apt-get/aptitude on CentOS.
// $ curl -i https://api.github.com/gists/4567703/fork_of | |
// | |
// HTTP/1.1 200 OK | |
// Server: GitHub.com | |
// Date: Wed, 23 Jan 2013 17:05:28 GMT | |
// Content-Type: application/json; charset=utf-8 | |
// Connection: keep-alive | |
// Status: 200 OK | |
// X-Content-Type-Options: nosniff | |
// Cache-Control: public, max-age=60, s-maxage=60 |
Hi |
# hi |
You can break these rules if you can talk your pair into agreeing with you.
// Steve Phillips / elimisteve | |
// 2013.01.03 | |
package main | |
import "fmt" | |
// intDoubler doubles the given int, then sends it through the given channel | |
func intDoubler(ch chan int, n int) { | |
ch <- n*2 |
html = '<div id="modal-confirm-dialog" class="modal hide fade in">' + | |
'<div class="modal-header">' + | |
'<button type="button" class="close" data-dismiss="modal">×</button>' + | |
'<h3>' + options.title + '</h3>' + | |
'</div>' + | |
'<div class="modal-body">' + | |
'<p>' + options.message + '</p>' + | |
'</div>' + | |
'<div class="modal-footer">' + | |
'<a class="btn btn-primary confirm">' + options.confirm_button_text + '</a>' + |
#!/usr/bin/env ruby | |
# encoding: utf-8 | |
# | |
# This file, gist, is generated code. | |
# Please DO NOT EDIT or send patches for it. | |
# | |
# Please take a look at the source from | |
# http://github.com/defunkt/gist | |
# and submit patches against the individual files | |
# that build gist. |
puts 'testing 1,2,3' |
// ==UserScript== | |
// @name GitHub delete all notifications button | |
// @namespace http://www.github.com/micolous/delete-all-notifications | |
// @description Adds a button to allow you to delete all notifications on a page. | |
// @include http://github.com/inbox/notifications* | |
// @include https://github.com/inbox/notifications* | |
// ==/UserScript== | |
/* |