This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name C97 コミケスプレッドシートへるぱー | |
// @version 0.3 | |
// @description Twitterのユーザーページかお品書きツイートページを開くとGoogleSpreadsheetにいい感じに貼り付けられる文字列が出てきます | |
// @author sjcl | |
// @namespace https://teamfruit.net | |
// @include https://twitter.com/* | |
// @exclude https://twitter.com/*/status/*/photo* | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js | |
// @grant none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
import java.util.Collections; | |
import java.util.Scanner; | |
public class Main { | |
public static void main(final String[] args) { | |
try (final Scanner sc = new Scanner(System.in)) { | |
final String[] init = sc.nextLine().split(" "); | |
final int count = Integer.parseInt(init[0]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import json | |
from multiprocessing import Pool | |
from functools import partial | |
from requests import session | |
def download(id, session): | |
req = session.get('https://osu.ppy.sh/d/' + id, stream=True) | |
osz = req.headers['Content-Disposition'][21:-2] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from os import path, listdir | |
import json | |
def main(): | |
dir = path.dirname(path.abspath(__file__)) | |
songs = set() | |
for song in listdir(dir): | |
id = song.split(' ')[0] | |
if id.isdigit(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"points": { | |
"北海道": { | |
"北海道": { | |
"石狩地方北部": [ | |
{ | |
"name": "石狩市花川", | |
"lat": 43.1717, | |
"lon": 141.315, | |
"avs": 260.2, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.teamfruit.arkservermodshelper; | |
import java.awt.BorderLayout; | |
import java.awt.Font; | |
import java.io.File; | |
import java.io.FileFilter; | |
import java.io.IOException; | |
import javax.swing.JFrame; | |
import javax.swing.JOptionPane; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import mods.clayium.ClayMachines; | |
ClayMachines.remove("MatterTransformer", <gregtech:gt.metaitem.01:11129>); | |
ClayMachines.remove("MatterTransformer", <gregtech:gt.metaitem.01:11058>); | |
ClayMachines.remove("MatterTransformer", <gregtech:gt.metaitem.01:11070>); | |
ClayMachines.remove("MatterTransformer", <gregtech:gt.metaitem.01:11323>); | |
ClayMachines.remove("MatterTransformer", <gregtech:gt.metaitem.01:11326>); | |
ClayMachines.remove("MatterTransformer", <gregtech:gt.metaitem.01:11324>); | |
ClayMachines.remove("MatterTransformer", <minecraft:nether_star>); | |
ClayMachines.remove("MatterTransformer", <gregtech:gt.metaitem.01:11103>); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.bebehp.mc.experimental; | |
import java.math.BigDecimal; | |
import java.util.IllegalFormatConversionException; | |
public class MyNumber { | |
private final BigDecimal number; | |
/** | |
* 値のない(ヌルヌルな)マイナンバーです(こんなマイナンバーあってたまるかww) |