Skip to content

Instantly share code, notes, and snippets.

View meso's full-sized avatar
🤗

Toshihiro Shimizu meso

🤗
View GitHub Profile
@meso
meso / emoji.json
Created September 1, 2020 04:48
絵文字の shortname から unicode の文字参照記述に変換
{
'100': '&#x1F4AF',
'1234': '&#x1F522',
hash: '&#x0023&#xFE0F&#x20E3',
keycap_star: '&#x002A&#xFE0F&#x20E3',
zero: '&#x0030&#xFE0F&#x20E3',
one: '&#x0031&#xFE0F&#x20E3',
two: '&#x0032&#xFE0F&#x20E3',
three: '&#x0033&#xFE0F&#x20E3',
four: '&#x0034&#xFE0F&#x20E3',
echo "USAGE: rpi-netflix.sh workdirectory"
echo "THIS ASSUMES YOU HAVE CHROMIUM!!!"
echo "IF NOT, PRESS CTRL+C"
sleep 5
wget https://dl.google.com/dl/edgedl/chromeos/recovery/linux_recovery.sh
echo "YOU MUST HAVE ENOUGH FREE SPACE!!!"
echo "14\n" | sudo WORKDIR=$1 ./linux_recovery.sh
cd $1
sudo apt-get install kpartx
sudo kpartx -avs chromeos*.bin
var vertx = require('vertx');
var container = require('vertx/container');
var conf = {
"crash.auth": "simple",
"crash.auth.simple.username": "admin",
"crash.auth.simple.password": "admin",
"crash.ssh.port": "2000"
}

Node.js 入門

  • 清水俊博(@meso)
    • 株式会社ドワンゴ 技術コミュニケーション室
    • Node.js 日本ユーザグループ

Node.js とは何か

Github leaks 1500 emails
A few months back i applied for a github enterprise trial and apparently they added me to some sort of mailing list. It seems like someone made the mistake of putting the whole mailing list inside of the to fields for all of their expirations. So i received the following emails at 7:01AM.
Email 1:
To: (1477 recipients)
From: GitHub
Subject: COOKPAD Inc., your GitHub Enterprise license expires in 31 days

Twitter公式クライアントのコンシューマキー

Twitter for iPhone

Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU

Twitter for Android

Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys

Twitter for Google TV

Consumer key: iAtYJ4HpUVfIUoNnif1DA

var http = require('http'),
URL = require('url'),
jsdom = require('jsdom');
module.exports = function sqrape(url, callback) {
if (!callback) throw new Error('Callback is not specified');
if (!url) return callback(new Error('URL is not specified'));
var parsedUrl = URL.parse(url);
var options = {

Node.js 日本ユーザグループ主催の勉強会案

確定事項

  • 勉強会(Meetup)を定期的に行う
  • 3月に第1回を行う
  • 2ヶ月に一度を目処
  • 5月の勉強会はJJUG CCCと一体化
@meso
meso / modules.markdown.patch
Created February 11, 2011 13:53
correct path
diff --git a/doc/api/modules.markdown b/doc/api/modules.markdown
index 35cdbac..55e2fdc 100644
--- a/doc/api/modules.markdown
+++ b/doc/api/modules.markdown
@@ -242,7 +242,7 @@ then it does *not* add the full resolved path to where `./lib`
is on the filesystem. Instead, it literally adds `'./lib'`,
meaning that if you do `require('y.js')` in `/a/b/x.js`, then it'll look
in `/a/b/lib/y.js`. If you then did `require('y.js')` in
-`/l/m/n/o/p.js`, then it'd look in `/l/m/n/o/p/lib/y.js`.
+`/l/m/n/o/p.js`, then it'd look in `/l/m/n/o/lib/y.js`.
@meso
meso / eiei.user.js
Created June 24, 2009 05:18
License: MIT
// ==UserScript==
// @name eiei
// @namespace http://www.mesolabs.com/
// @include *
// ==/UserScript==
var eiei_textarea, eiei_loadingtextarea;
var eiei_word_in2, eiei_word_in3;
var eiei_flg;