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.
| version: "3.3" | |
| services: | |
| caddy: | |
| image: abiosoft/caddy:1.0.3-no-stats | |
| container_name: caddy | |
| hostname: caddy | |
| restart: unless-stopped | |
| volumes: |
| sudo kill `ps -ax | grep 'coreaudiod' | grep 'sbin' |awk '{print $1}'` |
| package main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "os" | |
| "strings" | |
| ) | |
| func main() { |
| #!/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) |
| from datetime import datetime | |
| import urllib2 | |
| import urllib | |
| import json | |
| import os | |
| def ajaxRequest(url=None): | |
| """ | |
| Makes an ajax get request. | |
| url - endpoint(string) |
| #!/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 | |
| # |
| 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 |
| === 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 |