Skip to content

Instantly share code, notes, and snippets.

...
{
"volumesFrom": [],
"portMappings": [],
"command": [],
"environment": [
{
"name": "apikey",
"value": "XXX"
}

😃 :haha:

@wakaba
wakaba / bookmarklet
Last active February 16, 2017 07:34
javascript:var s=document.createElement('script');s.src="https://gist.githack.com/wakaba/b90f120b2617afe5c2fc4d08d84e801f/raw/script.js";document.body.appendChild(s);void(0)
#!/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 "[email protected]"
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
You are granted a license to use, reproduce, and create derivative
works of these files.
@wakaba
wakaba / ss.js
Last active February 21, 2024 05:21
async function _capture (e) {
const stream = await navigator.mediaDevices.getDisplayMedia ({
video: {
cursor: "never",
},
audio: false,
displaySurface: "browser",
preferCurrentTab: true,
selfBrowserSurface: "include",
});
@wakaba
wakaba / a.json
Last active April 21, 2024 02:35
{
"success": true,
"result": {
},
"type": "packref",
"source": {
"type": "ckan",
"url": "https://data.gsj.jp/gkan/dataset/gsj_map_1233"
}
}