- 2012-01-07 (Sat)
- 2012-01-08 (Sun)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| #coding:utf-8 | |
| require 'mechanize' | |
| alice = Mechanize.new | |
| page = alice.get ARGV[0] | |
| url = CGI.unescape page.root.xpath('//*[@id="flash-player-embed"]')[0]['flashvars'].split('&flv_url=').last.split('&').first | |
| title = page.root.xpath('//div[@id="main"]/h2')[0].inner_text.to_s+'.flv' |
- AWSでEC2のインスタンスを借りる
- 今回は東京リージョンのCentOS 6.3 x86_64 Release MediaのAIM(ami-3fe8603e)でインスタンスを建てる
- Security Group: L2TP/IPsec(Inbound 22/TCP: SSH, 500/UDP: ISAKMP, 1701/UDP: L2TP, 4500/UDP: IPSec NAT Traversal)を許可
- ec2-54-249-173-214.ap-northeast-1.compute.amazonaws.com(グローバルIPアドレス:
54.249.173.214)にrootでログイン
[root@ip-10-132-164-105 ~]# setenforce 0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require "net/http" | |
| require "net/https" | |
| require "uri" | |
| require "rexml/document" | |
| class NicoLiveException < StandardError; end | |
| class NicoLive | |
| attr_accessor :mail_tel, :password | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "AWSTemplateFormatVersion": "2010-09-09", | |
| "Description": "VPC knowhow template", | |
| "Parameters": { | |
| "KeyName": { | |
| "Description": "Name of an existing EC2 KeyPair to enable SSH access to the instances", | |
| "Type": "String", | |
| "MinLength": "1", | |
| "MaxLength": "64", | |
| "AllowedPattern": "[-_ a-zA-Z0-9]*", |
- メインスピーカー:マシューさん(@matthewmccull)
- サブスピーカー:ジョンさん(@johndbritton)
従来の CVCS (集中バージョン管理システム)のリビジョン番号は連番。 SVN はサーバーにデプロイした時点でリビジョン番号1と設定される。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| あせ (・_・;) 顔文字 | |
| あせ (・∀・;) 顔文字 | |
| あせ (^ω^;;) 顔文字 | |
| あせ (゚∀゚ ;) 顔文字 | |
| あせ (゚∀゚ ;)タラー 顔文字 | |
| あたふた ヽ(´・ω・`ヽ) 顔文字 | |
| あつい (。>﹏<) 顔文字 | |
| あつい (。>﹏<)あㄘ”ゅい 顔文字 | |
| あつい (>﹏<。Ξ。>﹏<) 顔文字 | |
| あつい ι(´Д`υ) 顔文字 |
クレジットカード番号には法則があり、先頭6桁でカードの種類を識別、分類することができる。
詳細はISO/IEC 7812で規定されている。
ISO/IEC 7812 - Wikipedia https://ja.wikipedia.org/wiki/ISO/IEC_7812
先頭の6桁を銀行識別番号(Bank Identification Number、略称:BIN)ないしは発行者識別番号(Issuer Identification Number、略称:IIN)と呼び、この先頭6桁でカード発行会社(イシュア、issuer)が判るようになっている。
OlderNewer