This is ported version of color theme xoria256.
Merge mintty-color-xoria256-rc into your .minttyrc
# encoding: utf-8 | |
require "timeout" | |
# Capture the standard output and the standard error of a command. | |
# Almost same as Open3.capture3 method except for timeout handling and return value. | |
# See Open3.capture3. | |
# | |
# result = capture3_with_timeout([env,] cmd... [, opts]) | |
# |
#!/bin/bash | |
# | |
# error handling and error report example | |
# | |
set -e | |
# logfile | |
LOGFILE=`mktemp` |
# | |
# nginx configuration example for CakePHP 2.x | |
# | |
server { | |
listen 80; | |
server_name cakephp2.example; | |
root /var/www/cakephp2/app/webroot; | |
access_log /var/log/nginx/cakephp2.access.log; | |
error_log /var/log/nginx/cakephp2.error.log; |
#!/bin/bash | |
# | |
# git-su - Git Switch User | |
# ======================== | |
# | |
# git-su switches user and sshCommand in the current repository. | |
# | |
# USAGE | |
# ----- | |
# |
// Simple HTTP proxy server written in Go. | |
package main | |
import ( | |
"context" | |
"flag" | |
"fmt" | |
"log" | |
"net/http" | |
"net/http/httputil" |
tell application "iTerm" | |
activate | |
tell the first terminal | |
set ssh_session to (make new session at end of sessions) | |
tell ssh_session | |
exec command "ssh {query}" | |
end tell | |
end tell | |
end tell |
// Simple HTTP echo server written in Go. | |
package main | |
import ( | |
"bytes" | |
"context" | |
"flag" | |
"io" | |
"io/ioutil" | |
"log" |