Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View tsubasa's full-sized avatar
🏕️
Camp in Lake Shibire

tsubasa

🏕️
Camp in Lake Shibire
  • Tokyo, Japan
View GitHub Profile
@tsubasa
tsubasa / get_all_tweets.py
Last active February 5, 2021 05:36
ツイッターで指定ユーザーの過去の全ツイートを取得
# -*- coding: utf-8 -*-
import datetime
import pytz
# パッケージは下記のリポジトリのモノを使用してください
# https://github.com/twopon/MonitUserstream
from tweepy.auth import OAuthHandler
from tweepy.parsers import ModelParser
from extends import ExAPI, ExModelFactory
@tsubasa
tsubasa / madoka_magica_ip_decrypt.java
Created February 12, 2017 13:15
madoka_magica_ip_decrypt.java
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.HashMap;
public class decrypt {
private static boolean ios = true;
private static String fileName = "madoka_default_pack.kog";
//private static String fileName = "all_pack.kog";
@tsubasa
tsubasa / madoka_magica_ip_encrypt.java
Created February 12, 2017 13:23
madoka_magica_ip_encrypt.java
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
public class encrypt {
private static boolean ios = true;
private static String[] files = {"h00.caf","h01.caf","h02.caf","h03.caf","h04.caf","h05.caf","h06.caf","h07.caf","h08.caf","h09.caf","h10.caf","h11.caf","h12.caf","h13.caf","h14.caf","h15.caf","h16.caf","h17.caf","h18.caf","h19.caf","h20.caf","h21.caf","h22.caf","h23.caf","live2d_bg_afternoon.png","live2d_bg_afternoon@2x.png","live2d_bg_evening.png","live2d_bg_evening@2x.png","live2d_bg_night.png","live2d_bg_night@2x.png","m00.caf","m01.caf","m02.caf","m03.caf","m04.caf","m05.caf","m06.caf","m07.caf","m08.caf","m09.caf","m10.caf","m11.caf","m12.caf","m13.caf","m14.caf","m15.caf","m16.caf","m17.caf","m18.caf","m19.caf","m20.caf","m21.caf","m22.caf","m23.caf","m24.caf","m25.caf","m26.caf","m27.caf","m28.caf","m29.caf","m30.caf","m31.caf","m32.caf","m33.caf","m34.caf","m35.caf","m36.caf","
@tsubasa
tsubasa / amazon-total-payment-calc.js
Last active May 20, 2023 02:19
Amazon.co.jpで使った金額を集計するJS
(() => {
let total = {};
let year = new Date().getFullYear();
let isAll = false;
const createElement = document.createElement.bind(document);
const querySelector = document.querySelector.bind(document);
year = window.prompt(
"集計する年を半角数字4桁で入力してください、全期間の場合は all と入力してください",