Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
if ARGV.length != 1 | |
puts "Give one URL as argument" | |
exit | |
end | |
url = ARGV[0] | |
match = url.match(/\/videos\/([0-9a-f]+)/) | |
video_id = match[1] if match | |
if not video_id | |
puts "Could not find video ID" |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 dxfwrite import DXFEngine as dxf | |
from sys import argv | |
import re | |
if len(argv) < 2: | |
print("Need filename") | |
in_filename = argv[1] | |
out_filename = in_filename[:-4] + ".dxf" |
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
ruby_f_eval |
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
request transaction id: 491794075 | |
response transaction id: 491794075 | |
connection id: -7209407626934330214 | |
SIZE = 100 | |
Peers (39): | |
bad: Connection refused | |
bad: Connection refused | |
bad: Connection refused | |
bad: Connection refused | |
bad: Connection refused |
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
ahq | |
any | |
api | |
aqf | |
aqg | |
aqj | |
aqy | |
azj | |
bhq | |
bhv |
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
public class VaseDrop { | |
private static int[][] matrix; | |
public static void main(String[] args) { | |
int k = 100; | |
int v = 2; | |
matrix = new int[k + 1][v + 1]; | |
for (int[] row : matrix) | |
for (int i = 0; i < row.length; i++) |
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
require 'httparty' | |
require 'json' | |
AUTH_URL = 'https://authserver.mojang.com/authenticate' | |
accounts = ARGV.flat_map do |arg| | |
File.read(arg).split("\n").map { |l| l.split ":" } | |
end | |
accounts.each do |user, pass| |
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
Compiled from "String.java" | |
public final class java.lang.String implements java.io.Serializable, java.lang.Comparable<java.lang.String>, java.lang.CharSequence { | |
public static final java.util.Comparator<java.lang.String> CASE_INSENSITIVE_ORDER; | |
public java.lang.String(); | |
Code: | |
0: aload_0 | |
1: invokespecial #1 // Method java/lang/Object."<init>":()V | |
4: aload_0 | |
5: iconst_0 |
NewerOlder