Skip to content

Instantly share code, notes, and snippets.

Cside Cside

Block or report user

Report or block Cside

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 wait_for.js
function wait_for(selector, cb) {
const id = setInterval(() => {
const elems = document.querySelectorAll(selector);
if (elems.length >= 0) {
clearInterval(id);
cb(elems);
}
}, 1000);
}
@Cside
Cside / perl.tmLanguage.json
Created Mar 18, 2018
perl.tmLanguage.json
View 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",
View gulpfile.js
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()
View 好きな漫画.md

★ 5

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

★ 4.5

  • ジョジョの奇妙な冒険 Part1 ファントムブラッド
View jojo.md

ジョジョ私見

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

※ ネタバレ注意

最強のスタンド 好きなキャラ 好きなスタンド 名バトル No.1 名バトル No.2
3 クリーム ポルナレフ クリーム ポルナレフ vs ヴァニラ・アイス 承太郎 vs DIO
4 バイツァ・ダスト 億泰 ザ・ハンド 噴上裕也 vs エニグマの少年 仗助 vs 川尻浩作
View _.pl
use Test::More;
use Test::Hook::Guard qw(before);
my $guard = before 'Some::method' => sub {
my (@args) = @_;
is_deeply \@args, [qw(foo bar baz)];
};
View push-current-branch.sh
#!/bin/sh
branch=$(basename "`git symbolic-ref HEAD 2> /dev/null`")
git push origin $branch;
View .replyrc
script_line1 = use strict
script_line2 = use warnings
[Interrupt]
[FancyPrompt]
[DataDumper]
[Colors]
[ReadLine]
[Hints]
[Packages]
@Cside
Cside / github_activies_bot.pl
Last active Dec 10, 2015
A twitter bot posts your github's public activities
View github_activies_bot.pl
#!/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;
@Cside
Cside / repl.rc
Created Nov 13, 2012
~/.re.pl/repl.rc
View repl.rc
#!perl
=pod
Original rc file is https://gist.github.com/3fb14d60757e29f8ef13.
ttakezawa++
=cut
use strict;
use warnings;
use Term::ANSIColor;
You can’t perform that action at this time.