Skip to content

Instantly share code, notes, and snippets.

@t-ashula
t-ashula / how_to_download_streaming_jp.md
Created April 18, 2017 05:56 — forked from rokugasenpai/how_to_download_streaming_jp.md
各ストリーミング配信のダウンロード方法(要curl・ffmpeg・rtmpdump・chrome・limechat・wireshark)

ツイキャス

@t-ashula
t-ashula / embeded.js
Created April 3, 2017 14:13
from http//sukasuka-anime.com/chara/nopht.html
$(function(){
//シェアボタンを取得
const shareTwitter = document.getElementsByClassName('js-share--twitter'); // ツイートボタンを取得
const shareFacebook = document.getElementsByClassName('js-share--facebook'); // ツイートボタンを取得
const shareLine = document.getElementsByClassName('js-share--line'); // ツイートボタンを取得
// 内容を取得
const url = location.href; // ページURLを取得
const title = document.title; // ページタイトルを取得
ゆるゆり ニャル子F ビビオペ きんモザ アルス・ノヴァ てさ部 WUG 55575 のうりん みでし ごちうさ
三上枝織 赤座あかり 1
津田美波 船見結衣 1
大坪由佳 歳納京子 暮井珠緒 三枝わかば 正岡小豆 4
大久保瑠美 吉川ちなつ 1
阿澄佳奈 ニャル子 1
松来未祐 クー子 1
佐倉綾音 一式あかね ココア 2
内田真礼 黒騎れい シャロ 2
村川梨衣 二葉あおい メグ 2
@t-ashula
t-ashula / program.cs
Last active September 25, 2015 14:36
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text;
using System.Xml;
namespace ConsoleApplication1
@t-ashula
t-ashula / data.tsv
Last active September 4, 2015 05:57
星座 から まで 歩行者 自転車 高齢死者 飲酒 ドライバー
おひつじ 3月21日 4月19日 7 10 8 9 9
おうし 4月20日 5月20日 11 6 7 5 5
ふたご 5月21日 6月21日 12 12 11 7 3
かに 6月22日 7月22日 5 6 10 10 10
しし 7月23日 8月22日 10 8 9 1 6
おとめ 8月23日 9月22日 4 4 3 3 8
てんびん 9月23日 10月23日 5 8 4 8 4
さそり 10月24日 11月22日 3 4 5 11 7
いて 11月22日 12月21日 9 11 12 6 12
@t-ashula
t-ashula / nsub.cs
Last active August 29, 2015 14:16
mono + NSubstitute + xunit
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using NSubstitute;
[assembly: InternalsVisibleTo("nsub.test")]
@t-ashula
t-ashula / ldr.js
Last active August 29, 2015 14:10
document.querySelector('#reader_logo').innerHTML='<a href="http://www.livedoor.com/" target="_self">'
+'<img src="/img/logo_livedoor.gif" border="none" align="left" title="livedoor" alt="livedoor" width="123" height="29">'
+'</a>'
+'<a href="/" target="_self">'
+'<img src="/img/logo_reader.gif" border="none" title="livedoor Reader" alt="livedoor Reader" width="113" height="29">'
+'</a>';
@t-ashula
t-ashula / q.js
Last active August 29, 2015 14:07
function f1(){}
functoin f2(){}
function e(s){
return s.replace(/\\/g,'\\\\').replace(/}/g,'%7d');
}
function x(s) {
eval('try { f1(' + 'f2("' + e(s) + '")' + ') } catch(e) {}');
}
// https://www.rumor.xyz/post/1000001
'use strict';
var page = require('webpage').create(),
system = require('system'),
num = parseInt(system.args[1], 10), // 1000001
url = 'https://www.rumor.xyz/post/';
if (isNaN(num) || num < 1000001) {
num = 1000001;
@t-ashula
t-ashula / functions.prf.diff
Last active August 29, 2015 14:03
qt5 + qtwebengine + windows + mingw
diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf
index 4dcd8ed..2731e0f 100644
--- a/tools/qmake/mkspecs/features/functions.prf
+++ b/tools/qmake/mkspecs/features/functions.prf
@@ -90,10 +90,11 @@ defineReplace(findOrBuildNinja) {
out = $$absolute_path("$$git_chromium_src_dir/../ninja/ninja", "$$QTWEBENGINE_ROOT")
win32: out = $$system_path($${out}.exe)
-
+ platform = ""