This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"success": true, | |
"result": { | |
}, | |
"type": "packref", | |
"source": { | |
"type": "ckan", | |
"url": "https://data.gsj.jp/gkan/dataset/gsj_map_1233" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async function _capture (e) { | |
const stream = await navigator.mediaDevices.getDisplayMedia ({ | |
video: { | |
cursor: "never", | |
}, | |
audio: false, | |
displaySurface: "browser", | |
preferCurrentTab: true, | |
selfBrowserSurface: "include", | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You are granted a license to use, reproduce, and create derivative | |
works of these files. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
open $file, '>', '.travis-merge'; | |
print $file q{#!/bin/sh | |
curl -s -S -L -o travis_after_all.py https://gist.githubusercontent.com/wakaba/9970857/raw/travis_after_all.py && \ | |
python travis_after_all.py && \ | |
(ls .to_export_back || echo "BUILD_LEADER=YES BUILD_AGGREGATE_STATUS=others_succeeded" > .to_export_back) | |
export DUMMY=0 $(cat .to_export_back) | |
echo "BUILD_LEADER = $BUILD_LEADER, BUILD_AGGREGATE_STATUS = $BUILD_AGGREGATE_STATUS, TRAVIS_BRANCH = $TRAVIS_BRANCH, TRAVIS_COMMIT = $TRAVIS_COMMIT" | |
if [ "$BUILD_LEADER" = "YES" ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
open $file, '>', '.travis-merge'; | |
print $file q{#!/bin/sh | |
if [ "$TRAVIS_BRANCH" = "staging" ] || [ "$TRAVIS_BRANCH" = "nightly" ] || [ "$TRAVIS_BRANCH" = "nightlywp" ]; then | |
echo "Merge $TRAVIS_BRANCH ($TRAVIS_COMMIT) into master..." | |
git config --global user.email "merger@travis.test" | |
git config --global user.name "Travis Merger" | |
git config --global url.https://$TRAVISMERGER_GH_TOKEN:@github.com/.pushInsteadOf https://github.com/ | |
if [ -s "$(git rev-parse --git-dir)/shallow" ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:var s=document.createElement('script');s.src="https://gist.githack.com/wakaba/b90f120b2617afe5c2fc4d08d84e801f/raw/script.js";document.body.appendChild(s);void(0) |
😃 :haha:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use strict; | |
use warnings; | |
$ENV{LANG} = 'C'; | |
my @host = qw( | |
www.google.com | |
mail.google.com | |
github.com | |
gist.github.com | |
gist.githubusercontent.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# XXX This is a very early prototype. | |
use strict; | |
use warnings; | |
use Path::Class; | |
use lib glob file (__FILE__)->dir->subdir('modules/*/lib'); | |
use Web::DOM::Document; | |
use Algorithm::Diff qw(sdiff); |
NewerOlder