- 有休…
- 病休…
- 育休…
- 年収(月給、賞与など)…
- 残業代…
- 早朝/深夜手当…
- 休出手当…
- 住宅補助…
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
// Amazonの注文履歴をTSV形式で出力するスクリプト | |
// | |
// 2015-01-01 時点での DOM 構造に対応, GoogleCrome, Opera でテスト済。 | |
// formatEntry関数を書き換えれば自由な書式で出力できます。 | |
// | |
// 参考: | |
// - Amazonの注文履歴をCSV形式にして出力するスクリプト | |
// https://gist.github.com/arcatdmz/8500521 | |
// - Amazon で使った金額の合計を出す奴 (2014 年バージョン) | |
// https://gist.github.com/polamjag/866a8af775c44b3c1a6d |
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
# -*- coding: utf-8 -*- | |
Plugin.create :auto_retweet_previous_tweet do | |
tweet_before = {} | |
on_appear do |ms| | |
ms.each do |m| | |
if tweet_before[m.user] | |
tweet_before[m.user].retweet if m.to_s == "いまのなし" |
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
Plugin.create :naniittenda_koitu do | |
command(:naniittenda_koitu, | |
name: '何言ってんだこいつ', | |
condition: lambda{ |opt| opt.messages.size == 1 }, | |
visible: true, | |
role: :timeline) do |opt| | |
Service.primary.post message: "何言ってんだこいつ #{opt.messages.first.parma_link}" | |
end | |
end |
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
def AheGaoDoublePeace(text) | |
str = text | |
str = str.gsub(/(気持|きも)ちいい/,'ぎも゛ぢい゛い゛ぃ') | |
str = str.gsub(/(大好|だいす)き/,'らいしゅきいぃっ') | |
str = str.gsub(/(ミルク|みるく|牛乳)/,'ちんぽミルク') | |
str = str.gsub(/お(願|ねが)い/,'お願いぃぃぃっっっ゙') | |
str = str.gsub(/ぁ/,'ぁぁ゛ぁ゛') | |
str = str.gsub(/あ/,'ぁあああ あぉ') | |
str = str.gsub(/お/,'お゙ぉおォおん') | |
str = str.gsub(/ごきげんよう/,'ごきげんよぉおお!んおっ!んおおーーっ! ') |
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
// Just before switching jobs: | |
// Add one of these. | |
// Preferably into the same commit where you do a large merge. | |
// | |
// This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
// and then it quickly escalated into more and more evil suggestions. | |
// I've tried to capture interesting suggestions here. | |
// | |
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |
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
#!/bin/bash | |
# Modified by Yu-Jie Lin for Bash from zsh version | |
ORG="$1" | |
if [[ ${ORG##*.} =~ JPG|jpg|JPEG|jpeg|GIF|gif|PNG|png ]]; then | |
CATWIDTH=$(tput cols) | |
SRC=$(mktemp).png |
- 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
# -*- coding:utf-8 -*- | |
from pymongo import MongoClient | |
client = MongoClient() | |
db = client.xvideos | |
def create_db(): | |
f = open('xvideos.com-db.csv') | |
for line in f: |
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
#-*- coding: utf-8 -*- | |
Plugin.create :aieeeee do | |
filter_gui_postbox_post do |gui_postbox| | |
Plugin.create(:gtk).widgetof(gui_postbox).widget_post.buffer.text = "アイエエエエエ!#{' ' * rand(30)}" | |
[gui_postbox] | |
end | |
end |