I got dart-material-design-lite-site codes.
$ git clone --depth 1 https://github.com/MikeMitterer/dart-material-design-lite-site.git
$ cd dart-material-design-lite-site
and edit pubspec.yaml
, switch mdl
to any
:
mdl: any
#!/bin/bash | |
set -o errexit | |
set -o xtrace | |
set -o nounset | |
USER=$1 | |
id $USER\ | |
&& userdel -r $USER | |
useradd -m -s /bin/bash -g operator --password $USER $USER |
import 'dart:async'; | |
void main() async { | |
print(await f1(["hello"])); | |
} | |
Future<List<String>> f0(List<String> v) { | |
return Future.value(v); | |
} |
execve("/usr/local/go/bin/go", ["go", "version"], 0x7ffc95dbac28 /* 8 vars */) = 0 | |
arch_prctl(ARCH_SET_FS, 0x7f89d6448b88) = 0 | |
set_tid_address(0x7f89d6448bc0) = 330 | |
mprotect(0x7f89d6445000, 4096, PROT_READ) = 0 | |
sched_getaffinity(0, 8192, [0, 1]) = 16 | |
mmap(0xc000000000, 65536, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc000000000 | |
munmap(0xc000000000, 65536) = 0 | |
mmap(NULL, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f89d6405000 | |
mmap(0xc420000000, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc420000000 | |
mmap(0xc41fff8000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc41fff8000 |
#!/bin/bash | |
set -x | |
curl -X GET "https://api.netlify.com/api/v1/sites" -H "accept: application/json" -H "authorization: Bearer $NETLIFY_TOKEN" -f \ | |
| jq '.[]|select(.name|match("^.+-[0-9a-f]{6}$"))|.id' -r \ | |
| xargs -t -L1 bash -c 'curl -X DELETE "https://api.netlify.com/api/v1/sites/$0" -H "authorization: Bearer $NETLIFY_TOKEN"' \ | |
; |
package design | |
import ( | |
. "github.com/goadesign/goa/design" | |
. "github.com/goadesign/goa/design/apidsl" | |
) | |
var _ = API("dummy", func() { | |
Title(`Dummy API`) | |
}) |
{ | |
"vars": { | |
"account": "UA-00000000-0" | |
}, | |
"requests": { | |
"scrollEvent": "${host}/collect?${basePrefix}&t=event&ec=${eventCategory}&ea=${eventAction}&el=${eventLabel}&ev=${eventValue}&ni=${ni}${baseSuffix}", | |
"scrollTiming": "${host}/collect?${basePrefix}&t=timing&utc=${timingCategory}&utv=${timingVar}&utt=${timingValue}&utl=${timingLabel}${baseSuffix}" | |
}, | |
"triggers": { | |
"trackPageview": { |
(function() { | |
var $c = function(a) { | |
this.w = a || [] | |
}; | |
$c.prototype.set = function(a) { | |
this.w[a] = !0 | |
}; | |
$c.prototype.encode = function() { | |
for (var a = [], b = 0; b < this.w.length; b++) this.w[b] && (a[Math.floor(b / 6)] ^= 1 << b % 6); | |
for (b = 0; b < a.length; b++) a[b] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".charAt(a[b] || 0); |
// Amazonの注文履歴をTSV形式で出力するスクリプト | |
// | |
// 2015-01-01 時点での DOM 構造に対応, GoogleCrome, Opera でテスト済。 | |
// formatEntry関数を書き換えれば自由な書式で出力できます。 | |
// | |
// 参考: | |
// - Amazonの注文履歴をCSV形式にして出力するスクリプト | |
// https://gist.github.com/arcatdmz/8500521 | |
// - Amazon で使った金額の合計を出す奴 (2014 年バージョン) | |
// https://gist.github.com/polamjag/866a8af775c44b3c1a6d |
I got dart-material-design-lite-site codes.
$ git clone --depth 1 https://github.com/MikeMitterer/dart-material-design-lite-site.git
$ cd dart-material-design-lite-site
and edit pubspec.yaml
, switch mdl
to any
:
mdl: any
// paiWidget | |
;(function($){ | |
$.widget('ui.paiWidget',{ | |
options: { | |
wrapElmId : '', | |
img : { | |
src : '', | |
zoom : 1, | |
ow : 640, |