Skip to content

Instantly share code, notes, and snippets.

@bluecookies
bluecookies / comic-walker.py
Last active August 22, 2022 10:08
working comic walker downloader as of 2018-03-22
from sys import argv
import requests
import json
import os
import itertools
endpoint_url = "https://ssl.seiga.nicovideo.jp"
OUT_DIR = "out"
# endpoint + "/api/v1/comicwalker/episodes/" + episode_id + "/frames"
@moroya
moroya / nico_mylist_search.js
Created October 17, 2013 15:15
Niconico Mylist Search ブックマークレット(GINZA)
/***** Niconico Mylist Search ブックマークレット *****
ニコニコ動画のマイリストをインクリメンタルサーチします。
@auther : moroya http://moroya.hatenablog.jp/
@license: MIT License
*/
(function($){
if(location.href.indexOf('www.nicovideo.jp/my/mylist') === -1) {
if(window.confirm('このページはニコニコ動画の\nマイリストページではありません\nマイリストページへジャンプしますか?')) {
location.href="http://www.nicovideo.jp/my/mylist";
@molio
molio / User.js
Last active March 11, 2017 05:06
firefoxのUser.js
_
@FrankFang
FrankFang / tween
Created September 20, 2012 10:49 — forked from icai/tween
Tween Action
var timer;
var originalValue = lib.getScrollTop();
var alteration = lib.getPos(dom).y;
var currentTime = 0;
var duration = 50;
var interval = 25;
function action(){
window.scrollTo( 0, tween.quad.easeInOut(originalValue,alteration,currentTime,duration);
@nfriedly
nfriedly / ddg-google-da.xml
Created May 6, 2012 20:31
DDGG: Duck Duck Go + Google Suggest in Danish
<?xml version="1.0"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>Duck Duck Go + Google Suggest</ShortName>
<Description>Duck Duck Go + Google Suggest</Description>
<Image height="16" width="16" type="image/x-icon">http://duckduckgo.com/favicon.ico</Image>
<Url type="text/html" method="get" template="http://duckduckgo.com/?q={searchTerms}"/>
<Url type="application/x-suggestions+json" template="http://google.com/complete/search?output=firefox&amp;q={searchTerms}&amp;hl=da"/>
<Url rel="suggestions" type="application/x-suggestions+xml" template="http://google.com/complete/search?q={searchTerms}&amp;client=ie8&amp;mw={ie:maxWidth}&amp;sh={ie:sectionHeight}&amp;rh={ie:rowHeight}&amp;inputencoding={inputEncoding}&amp;outputencoding={outputEncoding}&amp;hl=da" />
</OpenSearchDescription>
@gre
gre / easing.js
Last active April 23, 2024 04:20
Simple Easing Functions in Javascript - see https://github.com/gre/bezier-easing
/*
* This work is free. You can redistribute it and/or modify it under the
* terms of the Do What The Fuck You Want To Public License, Version 2,
* as published by Sam Hocevar. See the COPYING file for more details.
*/
/*
* Easing Functions - inspired from http://gizma.com/easing/
* only considering the t value for the range [0, 1] => [0, 1]
*/
EasingFunctions = {
(function() {
window.addEventListener('DOMContentLoaded', setScrollBar, false);
window.addEventListener('load', setScrollBar, false);
function setScrollBar(ev) {
window.removeEventListener('DOMContentLoaded', setScrollBar, false);
window.removeEventListener('load', setScrollBar, false);
var root = document.compatMode === 'BackCompat' ? document.body : document.documentElement;