subscribe non default features
/github subscribe {user}/{repo} reviews comments branches commits:all
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
#!/bin/bash | |
set -eux | |
CURRENT_DIR="$(pwd)" | |
WORK_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" | |
echo "WORK_DIR to $WORK_DIR" | |
cd $WORK_DIR |
subscribe non default features
/github subscribe {user}/{repo} reviews comments branches commits:all
my hammerspoon confing
require 'date' | |
require 'pathname' | |
ARTICLE_PATH = 'source/contents/articles/' | |
STUB_START_DATE = '2018-01-01' | |
namespace :stub do | |
@article_path = Pathname.pwd + Pathname.new(ARTICLE_PATH) |
class InvalidSemanticVersionError < StandardError; end | |
class SemanticVersion | |
def initialize(sem_str) | |
raise InvalidSemanticVersionError unless _valid_schema? sem_str | |
@version_ary = sem_str.split('.').freeze | |
end | |
def version_ary |
#!/bin/bash | |
sudo apt-get update -y | |
# Install the rbenv and Ruby dependencies with apt-get: | |
sudo apt-get install -y git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev nodejs |