Skip to content

Instantly share code, notes, and snippets.

View enkunkun's full-sized avatar

enkunkun enkunkun

View GitHub Profile
@sechiro
sechiro / ishikawasan_gomenrc.sh
Last active August 1, 2016 13:33
石川さんごめんなさい
cat <<EOT >> ~/.bashrc
alias ishikawasan_gomennasai='sudo sed -i "s/\(SELINUX=\).*/\1disabled/" /etc/selinux/config \
&& echo-sd "石川さんごめんなさい" 2>/dev/null \
|| banner "石川さんごめんなさい" 2>/dev/null \
|| echo "石川さんごめんなさい"
# お詫びのeject
eject -T 2>/dev/null && eject -T
sudo reboot'
EOT
@fuba
fuba / gangangansoku.txt
Created June 14, 2013 15:52
ガンガンガン速テロップ書き起こし
パソコン、もっと速かったのに!
どんどん遅くなった…
ファイル保存のし過ぎ?
遠くにいる孫たちの写真見たい!
インターネットもっと速くしたい!
もっと速く!
あなたのPCのスピードおちていませんか?
スパムメール
スパイウェア
ジャンクファイル
@nk0t
nk0t / helloworld.asm
Created June 18, 2013 09:04
HelloWorld
BITS 32
mov eax, 4
mov ebx, 1
push 0x0a21646c
push 0x726f576f
push 0x6c6c6548
mov ecx, esp
mov edx, 12
int 0x80
@d3m3vilurr
d3m3vilurr / feedly_api.md
Last active February 9, 2026 08:39
Unofficial Feedly API Document

IDs

  • user_id - user/:uid
  • feed_id - feed/:feed_uri
  • category_id - :user_id/category/:category (special category: global.all, global.uncategorized)
  • tag_id - :user_id/tag/:tag (special tag: global.saved)

APIs

http://cloud.feedly.com/:version/:api

#はるアイコンMOD鯖 ##現状 ###バージョン等

  • Minecraft1.6.2
  • port:25595

###前提MOD

###MODリスト初版作成 @lastarrow21 初期リスト

@sasamijp
sasamijp / bot.rb
Last active March 23, 2016 15:06
@sa2miのソースです
# -*- encoding: utf-8 -*-
require 'rubygems'
require 'tweetstream'
require 'twitter'
require 'prime'
require 'date'
require './key.rb'
Twitter.configure do |config|
config.consumer_key = Const::CONSUMER_KEY
source: https://twitter.com/WhitehackerZ1/status/381278065675870208/photo/1
・訳を作成したのは@qnighyです。
・内容は上記のURLに掲載されていた画像を参照しながら作成しました。
その画像の提供者は私ではありません。画像の提供者については、元ツイートの発言者に尋ねるのが適切でしょう。
・文脈がわからないと読みづらいところやインターネットスラングが含まれる部分についてはうまく訳せていないかもしれない。
Kirk_Caswell: Diciprine: they'll learn just for this game
Diciprineさん: このゲームのためだけに勉強するんですよ
bgates: Diciprine: It's not race or nationality or natural language that prevents people from writing shellcode, it's the lack of working shellcode.
Diciprineさん: シェルコードを書くのが難しいのは人種や国籍や自然言語のせいではなくて、動くシェルコードがないからですよ。
@ayafmy
ayafmy / NCom.md
Last active December 23, 2015 17:39

『高専生がお好き? 結構。 ではますます好きになりますよ! さぁさどうぞ、化学系の高専生です。 従順でしょう? んあぁ、おっしゃらないで、 見た目は堕落ぎみ。 でも大学生や大学院生なんて自分の意見を言いだしたり、 大学生活で堕落しロクなことはない。 体力もたっぷりありますよ、 どんなブラックでも大丈夫。 どうぞ使ってみてください。

@kazoo04
kazoo04 / ginko.rb
Last active December 25, 2015 18:49
ぎんこさんワロタbotの精度向上
require 'rubygems'
require 'levenshtein'
require 'shellwords'
def similar(s1, s2, threshold = 2)
d = Levenshtein.distance(toKatakana(s1), toKatakana(s2))
d <= threshold
end
def toKatakana(str)
@tondol
tondol / nicovideo_rtmpe.md
Last active June 9, 2018 02:50
ニコニコ公式アニメポータルのrtmpeプロトコル動画をダウンロードする覚え書き

はじめに

http://www.nicovideo.jp/watch/1380872606

上記の動画を例にDL方法を解説する。

パラメータの取得