Skip to content

Instantly share code, notes, and snippets.

const waitFor = (selector: string): Promise<NodeList> => {
return new Promise(resolve => {
const id = setInterval(() => {
const elems = document.querySelectorAll(selector);
if (elems.length >= 0) {
clearInterval(id);
resolve(elems);
}
}, 300);
});
@Cside
Cside / perl.tmLanguage.json
Created March 18, 2018 15:07
perl.tmLanguage.json
// Applications/Visual Studio Code.app/Contents/Resources/app/extensions/perl/syntaxes/perl.tmLanguage.json
{
"information_for_contributors": [
"This file has been converted from https://github.com/textmate/perl.tmbundle/blob/master/Syntaxes/Perl.plist",
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request."
],
"version": "https://github.com/textmate/perl.tmbundle/commit/c0b7a4bd65882380522d82a60b536479a62b07c3",
"name": "Perl",
"scopeName": "source.perl",
var gulp = require('gulp');
var browserify = require('browserify');
var babelify = require('babelify');
var source = require('vinyl-source-stream');
var webserver = require('gulp-webserver');
gulp.task('browserify', function() {
browserify('./src/index.js', { debug: true })
.transform(babelify)
.bundle()

★ 5

  • ジョジョの奇妙な冒険 Part2 戦闘潮流
  • ジョジョの奇妙な冒険 Part4 ダイヤモンドは砕けない
  • ジョジョの奇妙な冒険 Part5 黄金の風
  • ONE PIECE(アラバスタ編くらいまで)

★ 4.5

  • ジョジョの奇妙な冒険 Part1 ファントムブラッド
@Cside
Cside / jojo.md
Last active October 26, 2016 08:50

ジョジョ私見

スマートフォンの人は表を右にスクロールできます。

※ ネタバレ注意

最強のスタンド 好きなキャラ 好きなスタンド 名バトル No.1 名バトル No.2
3 クリーム ポルナレフ クリーム ポルナレフ vs ヴァニラ・アイス 承太郎 vs DIO
4 バイツァ・ダスト 億泰 ザ・ハンド 噴上裕也 vs エニグマの少年 仗助 vs 川尻浩作
@Cside
Cside / anime.md
Last active September 20, 2021 06:07

5.0

  • Fate/Zero
  • あの日見た花の名前を僕達はまだ知らない。

4.5

  • STEINS;GATE
  • あの夏で待ってる
  • とらドラ!
use Test::More;
use Test::Hook::Guard qw(before);
my $guard = before 'Some::method' => sub {
my (@args) = @_;
is_deeply \@args, [qw(foo bar baz)];
};
#!/bin/sh
branch=$(basename "`git symbolic-ref HEAD 2> /dev/null`")
git push origin $branch;
@Cside
Cside / .replyrc
Last active August 29, 2015 13:56
script_line1 = use strict
script_line2 = use warnings
[Interrupt]
[FancyPrompt]
[DataDumper]
[Colors]
[ReadLine]
[Hints]
[Packages]
@Cside
Cside / github_activies_bot.pl
Last active December 10, 2015 06:58
A twitter bot posts your github's public activities
#!/usr/bin/env perl
=pod
INSTALL
cpanm Script::State Net::Twitter::Lite autobox::Core JSON::XS
=cut
use 5.10.0;
use strict;
use warnings;
use Script::State;
use LWP::UserAgent;