Rubyのインストールにはrbenvを使います。
sudo apt-get -y install libncurses5-dev build-essential libreadline-dev libssl-dev libcurl4-openssl-dev zlib1g-dev libxml2-dev libxslt-dev git
#include <stdio.h> | |
#include <stdlib.h> | |
#ifdef _MSC_VER | |
#include <Windows.h> | |
#endif | |
// define定義 | |
#define LEN 8 |
--============================== | |
-- Extract Keynote Presenter Notes to TextEdit | |
-- Refered to https://gist.github.com/benwaldie/9955151 | |
--============================== | |
tell application "Keynote" | |
if (front document exists) = false then | |
display alert "Unable to proceed." message "Please open a presentation in Keynote." | |
return | |
end if |
require 'nokogiri' | |
require 'open-uri' | |
require 'json' | |
id = ARGV.first | |
url = 'https://www.instagram.com/p/' + id | |
f = open(url) | |
doc = Nokogiri::HTML.parse(f.read) |
#!/bin/bash | |
#---------------------------------------# | |
# 設定開始 # | |
#---------------------------------------# | |
# WANインタフェース名定義 | |
WAN=eth0 | |
# VPNネットワークの範囲 |
#include <LiquidCrystal.h> | |
#define RS 12 | |
#define ENABLE 11 | |
#define DB4 10 | |
#define DB5 7 | |
#define DB6 9 | |
#define DB7 8 | |
#define SW_ESC 19 |