天下一gitconfig大会(サイボウズ社内git勉強会@2012/11/20)の@teppeisの資料です。
- gistでmarkdown書いたらbookmarkletでプレゼンになるよ。
| /** | |
| * Google Spreadsheet向けBigQuery取り込みスクリプト | |
| * http://toreta.blog.jp/archives/20649904.html | |
| * License: MIT 2014- Toreta, Inc. | |
| * | |
| * runAllQueries() をトリガーで毎日実行してください | |
| * Queries, Single row queries, Dataの三つのシートを作って下さい | |
| * Queries, Single row queriesのシートには実行するクエリを書きます | |
| * A列にクエリ名、B列にクエリです。 | |
| * conuntなどの集約関数で1行しか返らないクエリは「Single row queries」、それ以外は「Queries」に書いて下さい |
以下転載:
Why Uber Engineering Switched from Postgres to MySQL - Uber Engineering Blog のまとめ
Posgresqlだと
Author(s): Austin Clements, Rick Hudson
Last updated: 2016-10-18
Discussion at https://golang.org/issue/17503.
| #!/usr/bin/sudo ruby | |
| # | |
| # revealer.rb -- Deobfuscate GHE .rb files. | |
| # | |
| # This is simple: | |
| # Every obfuscated file in the GHE VM contains the following code: | |
| # | |
| # > require "ruby_concealer.so" | |
| # > __ruby_concealer__ "..." |
| <# | |
| ================ | |
| PATCHEXTRACT.PS1 | |
| ================= | |
| Version 1.25 Microsoft MSU Patch Extraction and Patch Organization Utility by Greg Linares (@Laughing_Mantis) | |
| This Powershell script will extract a Microsoft MSU update file and then organize the output of extracted files and folders. | |
| Organization of the output files is based on the patch's files and will organize them based on their archicture (x86, x64, or wow64) | |
| as well as their content-type, ie: resource and catalog files will be moved to a JUNK subfolder and patch binaries and index files will |
https://facebook.github.io/react/contributing/codebase-overview.html
require('../foo/bar') の代わりに require('bar') とする/lib 下にフラットに配置する| def encode(str) | |
| str | |
| .gsub(" ", "%20") | |
| .gsub("\n", "%0d%0a") | |
| end | |
| cmd = "curl gopher://example.com:80/_" + encode(<<-EOD) | |
| GET / HTTP/1.1 | |
| Host: example.com |