- 以下のようにしてスクリプトを取得する。もしくは、downloadして解凍。
$ git clone git://gist.github.com/3973319.git
- 実行
- 自マシンでのIPアドレスを取得してRoute53にhoge.example.com.のAレコードを設定する
--- | |
include: | |
- ".solargraph_definitions.rb" | |
- "app/**/*.rb" | |
- "config/**/*.rb" | |
- "lib/**/*.rb" | |
exclude: | |
- test/**/* | |
- vendor/**/* | |
- ".bundle/**/*" |
var dgram = require('dgram'); // dgram is UDP | |
// Listen for responses | |
function listen(port) { | |
var server = dgram.createSocket("udp4"); | |
server.on("message", function (msg, rinfo) { | |
console.log("server got: " + msg + " from " + rinfo.address + ":" + rinfo.port); | |
}); |
sudo apt-get install autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm6 libgdbm-dev libdb-dev | |
sudo apt-get update | |
sudo apt-get -y install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common libffi-dev postgresql-13 postgresql-13-postgis-3 libpq-dev libtool-bin cmake pkg-config | |
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash | |
sh -c 'echo "export PATH=~/.rbenv/bin:\$PATH" >> ~/.bash_profile' | |
sh -c 'echo "eval \"\$(rbenv init - bash)\"" >> ~/.bash_profile' |
require 'mail' | |
require 'securerandom' | |
size_distribution = { | |
10 => (0..19), | |
80 => (20..39), | |
150 => (40..59), | |
250 => (60..79), | |
15_000 => (80..100) | |
} |
#!/bin/bash | |
# | |
# provision.sh | |
# | |
# This file is specified in Vagrantfile and is loaded by Vagrant as the primary | |
# provisioning script whenever the commands `vagrant up`, `vagrant provision`, | |
# or `vagrant reload` are used. It provides all of the default packages and | |
# configurations included with Varying Vagrant Vagrants. | |
# By storing the date now, we can calculate the duration of provisioning at the |
SPC s c remove highlight | |
**** Files manipulations key bindings | |
Files manipulation commands (start with ~f~): | |
| Key Binding | Description | | |
|-------------+----------------------------------------------------------------| | |
| ~SPC f c~ | copy current file to a different location | | |
| ~SPC f C d~ | convert file from unix to dos encoding | | |
| ~SPC f C u~ | convert file from dos to unix encoding | |
;;; x12-mode.el --- major mode for editing X12 messages | |
;; Copyright (C) 2005 APP Design, Inc. | |
;; Author: Ivan K, x12 at users.sourceforge.net | |
;; Maintainer: Ivan K, x12 at users.sourceforge.net | |
;; Version: 1.0 | |
;; Keywords: X12 evil must die message file EDI major mode | |
;; Created: 2005-02-08 | |
;; Modified: 2005-02-08 |