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
using System; | |
using System.Collections.Generic; | |
using System.Globalization; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
public class JsonReader | |
{ | |
private string path; |
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
[Violation] 'setTimeout' handler took <N>ms | |
[Violation] 'setTimeout' handler took <N>ms | |
[Violation] 'setTimeout' handler took <N>ms | |
[Violation] 'setTimeout' handler took <N>ms | |
[Violation] 'setTimeout' handler took <N>ms | |
[Violation] 'setTimeout' handler took <N>ms | |
[Violation] 'setTimeout' handler took <N>ms | |
[Violation] Forced reflow while executing JavaScript took 285ms | |
workbench.desktop.main.js:623 [Violation] 'load' handler took 159ms | |
workbench.desktop.main.js:1734 [matklad.rust-analyzer]: 'configuration.property' must be an object |
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 sympy.algebras.quaternion import Quaternion | |
from sympy import latex, Matrix, symbols | |
i, j, k = symbols('i j k') | |
def display(q): | |
return sum([ | |
x*y | |
for x, y in [(q.a, 1), | |
(q.b, 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
class Empty: | |
def __init__(self): | |
pass | |
def __repr__(self): | |
return '[]' | |
def reduce(self): | |
yield Empty() |
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
!<arch> | |
7.1b.log/ 0 0 0 644 176 ` | |
1 7 7 9 | |
7 5 1 -1 | |
4 2 -1 -3 | |
-1 1 3 5 | |
~2 - 7*~1 | |
~3 - 4*~1 | |
~4 + ~1 |
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
(function(my_name_is) { | |
let head_table = $("table").rows[1].cells; | |
let luckies = parseInt(head_table[0].textContent) + parseInt(head_table[1].textContent); | |
let enemies = $("table.tableFixHead").rows; | |
let my_points = 0; | |
let my_place = 0; | |
let suspicious = 0; | |
let better_than_me = 0; | |
let fat_people = 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
def getChar(x, y, accuracy, fns): | |
d = 1 / accuracy / 2 | |
res = ' ' | |
clr = 0 | |
n = 0 | |
for fn in fns: | |
ll = 1 if fn(x, y)[0] else 0 | |
lr = 2 if fn(x + d, y)[0] else 0 | |
ul = 4 if fn(x, y + d)[0] else 0 | |
ur = 8 if fn(x + d, y + d)[0] else 0 |
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
import random | |
ROCK = 1 | |
SCISSORS = 2 | |
PAPER = 3 | |
DRAW = 'Draw.' | |
HUMAN = 'Human' | |
BOT = 'BIP-BOP' |