Skip to content

Instantly share code, notes, and snippets.

View iliakonnov's full-sized avatar
🦕

Ilia Konnov iliakonnov

🦕
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
public class JsonReader
{
private string path;
[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
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),
class Empty:
def __init__(self):
pass
def __repr__(self):
return '[]'
def reduce(self):
yield Empty()
!<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
(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;
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.
import random
ROCK = 1
SCISSORS = 2
PAPER = 3
DRAW = 'Draw.'
HUMAN = 'Human'
BOT = 'BIP-BOP'