Skip to content

Instantly share code, notes, and snippets.

👷
Do pointing and calling!

nabinno

👷
Do pointing and calling!
Block or report user

Report or block nabinno

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View vimium.md
map p scrollToTop
map n scrollToBottom
map wf LinkHints.activateModeToCopyLinkUrl
map b nextTab
map y previousTab
map ; removeTab
map ww copyCurrentUrl
map J performFind
map p scrollToTop
View wsl-2--error-0x80370109.md

WSL 2

WslRegisterDistribution failed with error: 0x80370109
Error: 0x80370109 The operation timed out because a response was not received from the virtual machine or container.

Press any key to continue...

Settings -> Update & Security -> Device encryption

  • Device encryption is on: Turn off
@nabinno
nabinno / install-esperf.sh
Last active Sep 28, 2018
install esperf on ubuntu
View install-esperf.sh
# cmake
cd ~
wget https://cmake.org/files/v3.12/cmake-3.12.2.tar.gz
tar xvf cmake-3.12.2.tar.gz
cd cmake-3.12.2/
./configure
make
sudo make install
# esperf
View hatena-bookmark--old-style-for-stylebot.css
#container {
margin: 0;
}
#global-header, .left-container, .right-container, .centerarticle-entry-image, .centerarticle-reaction-thumb, .centerarticle-entry-contents, .centerarticle-search, .centerarticle-reaction-following, .footer {
display: none;
}
.bookmark-item, .interest-touch-bookmark-item {
border: none;
@nabinno
nabinno / im_nat_friedman_future_ceo_of_github_ama.md
Last active Jan 11, 2019
Reddit AMA - Nat Friedman, future CEO of GitHub(ama_compiler一部省略)
View im_nat_friedman_future_ceo_of_github_ama.md

https://www.reddit.com/r/AMA/comments/8pc8mf/im_nat_friedman_future_ceo_of_github_ama/e0a6bsz/

Question Answer Link
Atomどうなるの? 今後もAtom、VS Codeの開発とサポート続けるよ。 Here
GitLab事件についてどうおもう? 悲しい。 Here
広告つけるの? つけない。 Here
競合のレポジトリーをみたりする? みないよ。従業員のアクセス制限用にポリシー、コントロールが既にある。 Here
OSSのファイナンスの手助けをする?PatreonやOpenCollectiveのようなものを統合するとか。 いい質問だね(考えておく的なニュアンス)。個人的には、昨年aigrant.orgを立ち上げて、AIプロジェクトのファイナンスを手助けしてる。 Here
GitLabとBitBucketのようにプライベートレポジトリを無料にする予定はある? (答
View anonymous-gist.
align_assignments false
align_case_when false
align_chained_calls true
align_comments true
align_hash_keys false
double_newline_inside_type :no
indent_size 2
parens_in_def :yes
spaces_after_comma :one
spaces_after_lambda_arrow :one
@nabinno
nabinno / hatena-bookmark--old-style.css
Created Jul 8, 2017
Stylish for Hatena::Bookmark on 2017-07-08
View hatena-bookmark--old-style.css
#left-container,
#right-container,
#page-navi,
#help-pane {
display: none;
margin: 0;
padding: 0;
width: auto;
}
@nabinno
nabinno / *scratch*
Created Aug 9, 2016
git-awk-xargs-cp
View *scratch*
(cd ../foo.org && git status -sb | awk '$1=="M"{print $2}' | xargs -i cp -f {} ../foo/{})
@nabinno
nabinno / how-to-restore-postgresql-database-from-heroku.sh
Last active Jul 17, 2016
How to restore PostgreSQL database from Heroku.
View how-to-restore-postgresql-database-from-heroku.sh
curl -o db/app.dump `heroku pg:backups public-url -a app-name`
pg_restore --verbose --clean --no-acl --no-owner -h localhost -U postgres -d app_development db/app.dump
View warmup-select-condition.js
var page = require('webpage').create();
var system = require('system');
if (system.args.length === 1) {
console.log('Usage: phatomjs warmup-select-condition.js <some URL>');
phantom.exit();
}
var address = system.args[1];
var lib = "//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js";
page.onConsoleMessage = function(msg) { console.log("console> " + msg); }
You can’t perform that action at this time.