Send iMessages from the Command Line
Just run the following in your shell:
require 'nibbler' | |
require 'open-uri' | |
CODE_RE = /[A-Za-z1-9]{4}-[A-Za-z1-9]{4}-[A-Za-z1-9]{4}/ | |
class String | |
[:gray, :red, :green, :yellow, :blue, :purple, :cyan, :white].each_with_index do |color, i| | |
define_method color do "\033[1;#{30+i}m#{self}\033[0m" end | |
define_method :"#{color}ish" do "\033[0;#{30+i}m#{self}\033[0m" end | |
end |
git: | |
Setup | |
----- | |
git clone <repo> | |
clone the repository specified by <repo>; this is similar to "checkout" in | |
some other version control systems such as Subversion and CVS | |
Add colors to your ~/.gitconfig file: | |
package main | |
import ( | |
"context" | |
"fmt" | |
"time" | |
"golang.org/x/time/rate" | |
) |
require 'toml' | |
def standard_name(name) | |
parts = name.split("/", 2) | |
domain = parts[0].split(".").reverse.join("_") | |
path = parts[1].split("/").join("_") | |
"#{domain}_#{path}".gsub("-", "_").gsub(".", "_") | |
end |
class Libgit2 < Formula | |
desc "C library of Git core methods that is re-entrant and linkable" | |
homepage "https://libgit2.github.com/" | |
url "https://github.com/libgit2/libgit2/archive/v0.24.6.tar.gz" | |
sha256 "7b441a96967ff525e790f8b66859faba5c6be4c347124011f536ae9075ebc30c" | |
head "https://github.com/libgit2/libgit2.git" | |
depends_on "pkg-config" => :build | |
depends_on "cmake" => :build | |
depends_on "libssh2" => :recommended |
boop |
platform: linux | |
params: | |
A: hello | |
B: goodbye | |
run: | |
path: /bin/sh | |
args: | |
- -c |
// Pipeline CSS | |
section.pipe { | |
display: none; | |
} |
bosh_q9qlsff59@c08689bb-b559-41be-878c-77c0c4142497:~$ ifconfig | |
lo Link encap:Local Loopback | |
inet addr:127.0.0.1 Mask:255.0.0.0 | |
inet6 addr: ::1/128 Scope:Host | |
UP LOOPBACK RUNNING MTU:65536 Metric:1 | |
RX packets:16011 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:16011 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:0 | |
RX bytes:3830284 (3.8 MB) TX bytes:3830284 (3.8 MB) |