Skip to content

Instantly share code, notes, and snippets.

Avatar

Jun Morimoto mrmt

View GitHub Profile
@t-yamamoto-mercury-inc
t-yamamoto-mercury-inc / gist:b58969dcc58bb13ee4b7e2c1fc316501
Created Jan 24, 2019
Googleドライブのパスをクリップボードにコピーするブックマークレット
View gist:b58969dcc58bb13ee4b7e2c1fc316501
javascript:(function(){
var pre = 'Googleドライブ:';
var xpath = '//*[@guidedhelpid="folder_path"]';
document.getElementsByXPath = function(expression, parentElement) {
var r = [];
var x = document.evaluate(expression, parentElement || document, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
for (var i = 0, l = x.snapshotLength; i < l; i++) {
r.push(x.snapshotItem(i));
} return r;
View gist:122907e95956602e5c09
<?
/////////////////////
// slack2html
// by @levelsio
/////////////////////
//
/////////////////////
// WHAT DOES THIS DO?
/////////////////////
//
@lestrrat
lestrrat / gist:9104980
Last active Aug 3, 2017
ヘビメタ英語を日常で使う風景
View gist:9104980
@aras-p
aras-p / preprocessor_fun.h
Last active Jun 21, 2022
Things to commit just before leaving your job
View preprocessor_fun.h
// 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,
@mrmt
mrmt / gist:5149066
Created Mar 13, 2013
gmail定型文
View gist:5149066
森本と申します。こんにちは。
morimoto@gmail.com というメールアドレスを利用しているものです。
以下にお伝えいただいた件、私には覚えがありません。
なんらかのメールアドレス打ち間違えではないかと思われます。
また、morimoto@gmail.com を、ご自分のメールアドレスだと勘違いして
いらっしゃるかたも十数名以上いらっしゃるようです。
配信先からの削除、メールアドレスのアドレス帳の修正、必要なご通知など
お願いいたします。
@grkvlt
grkvlt / Tiny_RayTracing.txt
Created May 10, 2012
Tiny RayTracing Postscript
View Tiny_RayTracing.txt
Tiny_RayTracing.ps by Takashi Hayakawa (h-takasi@isea.is.titech.ac.jp)
is a ray tracing program in only 762 bytes (plus header)!
BEST OBFUSCATED ARTWORK -- 1st prize
-- The 2nd most coveted prize. These combine obfuscation with great artwork.
Don't send this one to a printer. It will take too long. Display it
on the screen and be ready to wait a while. The picture is well worth it.
If you want to print the picture much faster, use Tiny_RayTracing_Fast.ps instead.