This guide provides a steps for setting up a unified shell chat proxy & client running in a persistent screen session. The following steps are covered:
- Server operating system & packages will be updated.
- Timezone will be updated.
| === Epic Snow Leopard Upgrayyyyd Guide === | |
| Son, you’re now living in the land of 64-bit systems. | |
| That means that some of your 32-bit shit is now broken. | |
| Not all is lost. | |
| == Fixing MySQL weirdness |
| script/generate plugin HelloWorld | |
| # vendor/plugins/hello_world/init.rb | |
| Rails.configuration.gem "sinatra" | |
| Rails.configuration.middleware.insert_before("ActionController::Failsafe", "HelloWorld") | |
| # vendor/plugins/hello_world/lib/hello_world.rb | |
| # your sinatra app goes here... | |
| require 'sinatra/base' | |
| class HelloWorld < Sinatra::Base |
| #Ruby | |
| Area = '555' # My area code | |
| Tz = -8 # Time zone (GMT-8) | |
| # Speed dial entries. Format: "key" => "number" | |
| Speeddial = { | |
| '0' => '555-5555', # Home | |
| '1' => '1 555 555-5555', # Another Number |
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # |
| from datetime import datetime | |
| import urllib2 | |
| import urllib | |
| import json | |
| import os | |
| def ajaxRequest(url=None): | |
| """ | |
| Makes an ajax get request. | |
| url - endpoint(string) |
| ### Keybase proof | |
| I hereby claim: | |
| * I am digitalknk on github. | |
| * I am digitalknk (https://keybase.io/digitalknk) on keybase. | |
| * I have a public key whose fingerprint is 0D61 DE94 BA6E E570 6FC4 F2EE F3FC 5EE9 83E7 BA89 | |
| To claim this, I am signing this object: |
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| import sublime_plugin | |
| import subprocess | |
| from time import sleep | |
| import sys | |
| cl = lambda line: subprocess.Popen(line, shell=True, stdout=subprocess.PIPE).communicate()[0].strip() | |
| log = lambda message: sys.stderr.write("Log: %s\n" % message) |
| Verifying my Blockstack ID is secured with the address 1FTKKCiCFQFA4oW9B2pxZpe1BFnxQvWr88 https://explorer.blockstack.org/address/1FTKKCiCFQFA4oW9B2pxZpe1BFnxQvWr88 |
| package main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "os" | |
| "strings" | |
| ) | |
| func main() { |