Skip to content

Instantly share code, notes, and snippets.

View ryosan-470's full-sized avatar
🍻
Working with Elixir and Beer

ryosan-470 ryosan-470

🍻
Working with Elixir and Beer
View GitHub Profile
@kazuho
kazuho / git-blame-pr.pl
Last active June 28, 2022 07:15
git-blame by PR #
#! /usr/bin/perl
#
# Written in 2017 by Kazuho Oku
#
# To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
# You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
#
use strict;
use warnings;
@rekkusu
rekkusu / chat.py
Last active December 12, 2016 19:11
[SECCON 2016 Online] chat 500
from pwn import *
import string
strcmp_got = 0x603050
free_libc = 0x222c40
free_got = 0x603018
strchr_libc = 0x86d40
strchr_got = 0x603038
#system_libc = 0x46590
system_libc = 0xe5765 # One gadget RCE
@nownabe
nownabe / .commit_template
Created July 5, 2016 06:54
Emojiで楽しく綺麗なコミットを手に入れる
# ==== Emojis ====
# 🐛 :bug: バグ修正
# 👍 :+1: 機能改善
# ✨ :sparkles: 部分的な機能追加
# 🎉 :tada: 盛大に祝うべき大きな機能追加
# ♻️ :recycle: リファクタリング
# 🚿 :shower: 不要な機能・使われなくなった機能の削除
# 💚 :green_heart: テストやCIの修正・改善
@edvakf
edvakf / 社内ISUCON事前ハンズオン.md
Last active April 30, 2023 13:12
ピクシブで新卒エンジニア全員向けに「インフラ研修」として次の内容のハンズオン講義を行いました。ちょうど2時間で終わる内容になっています。新卒達にはこの直後に社内ISUCONに挑んでもらいました。

AWSにインスタンスを立ててみよう

  • 質問:AWSにEC2インスタンスを立てたことがある人?
    • AWSのアカウント持ってない人はこの機会に取得してみよう
    • クレカがない人は言ってください
  • AWSにログインしてみよう https://portal.aws.amazon.com/
    • 東京リージョンに変更してみよう
  • Debian Jessieのインスタンスを起動してみよう
    • Rubyビルド済みインスタンスを用意しました
  • サイドバーのAMIから、検索欄に ami-53021a3d と書いて「パブリックイメージ」を選択
@shopetan
shopetan / AndroidとiOSのアプリサンドボックス
Last active October 20, 2015 09:37
セキュキャン2015講義メモまとめ
守る技術
モバイル端末の様々なセキュリティ機構がどのような仕組みなのか知ってほしい
日本の端末独自の取り組み
今後のモバイルセキュリティの向上のための提案をできたらいいね
攻める技術
jailbreakやアプリの脆弱性がどのようなものか知ってほしい
ブラックボックスとなっている危機のセキュリティ機構をry
Jailbreakとは

pixivの開発フロー

  • 社内用のリポジトリ管理のためにGitLabを使用
    • pixivはPC・Touch版などがありそれぞれソースコードを一部共有しているためpixiv.gitという1つの大きなリポジトリで管理している
      • 社内で一番大きく関わっている人も多いリポジトリ
    • pixiv.gitは1.4GBくらい(昔は2GB超だったが工夫して減らした)なので外部サービスのGitHubに置くと遅すぎて開発ができない
      • GitHubの障害によりデプロイができなくなるのも困る
      • GitHubにはファイルの容量制限など様々な制限もあるのでそういったことで悩みたくない
      • 社内のデータセンター内で管理する必要がある
  • GitHub Enterpriseを使えば社内のサーバー上にGitHubを立てることができる
@10long
10long / geeknote.el
Created February 17, 2014 03:39
geeknote call inside emacs
;; geeknote ==============================================================
(defun geeknote-mode ()
(interactive)
(eshell-command "python ~/geeknote/geeknote.py settings --editor /Applications/Emacs.app/Contents/MacOS/bin/emacsclient")
)
(defun geeknote-create (newnote)
(interactive "sname: ")
(eshell-command
(format "python ~/geeknote/geeknote.py create --content WRITE --title %s" newnote))
@teppeis
teppeis / tenkaichi-git.md
Last active April 29, 2023 14:58
天下一gitconfig大会

天下一gitconfig大会(サイボウズ社内git勉強会@2012/11/20)の@teppeisの資料です。

ぎっとぎとにしてやんよ

DojoCat

  • gistでmarkdown書いたらbookmarkletでプレゼンになるよ。