Downloads the frames from pixiv ugokus (like this one)
Works on R-18 as well without an account.
You need a couple of gems.
- nokogiri
- rubyzip
# vim:ft=zsh ts=2 sw=2 sts=2 | |
# | |
# agnoster's Theme - https://gist.github.com/3712874 | |
# A Powerline-inspired theme for ZSH | |
# | |
# # README | |
# | |
# In order for this theme to render correctly, you will need a | |
# [Powerline-patched font](https://gist.github.com/1595572). | |
# |
.zl .ws { padding-left: 0px !important; padding-right: 0px !important; } | |
.eWXGXb { width: 100% !important; } | |
.ws .Yy { padding-top: 0px !important; padding-bottom: 0px !important; } | |
.zl .r6Rtbe { border-top: none !important; border-right: none !important; border-left: none !important; } |
#!/usr/bin/env ruby | |
require 'openssl' | |
if ARGV.length == 0 | |
puts "This quickly gets ed2k links for anidb crequing." | |
puts "Usage: #{$0} [files]" | |
exit | |
end | |
def ed2k(file_name) |
(function () { | |
require(["ba783/e9c92/ebb42"], function(playlistapi){ | |
$('#export_div').remove(); | |
data = ""; | |
playlistapi.read().forEach(function (playlist) { | |
data += "Playlist: " + playlist.name + "\n"; | |
var playlist_data = playlistapi.getMedia(playlist.id); | |
var ids = playlist_data.filter(function (item) { |
#!/usr/bin/env ruby | |
require 'free-image' | |
require 'ruby-progressbar' | |
image = FreeImage::Bitmap.open(ARGV[0]) | |
count = (image.height + 1) / 29 | |
pb = ProgressBar.create(:title => "Scaling", :total => count) | |
count.times do |i| | |
#puts i |
Downloads the frames from pixiv ugokus (like this one)
Works on R-18 as well without an account.
You need a couple of gems.
#!/bin/bash | |
if [ $# -ne 4 ]; then | |
echo "Usage: `basename $0` file starttime length outdir" | |
exit 1 | |
fi | |
mpv --no-audio --no-sub --start=$2 --length=$3 --vo=image:format=png:outdir=$4 "$1" |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object: