Skip to content

Instantly share code, notes, and snippets.

View Vinc0682's full-sized avatar

VincBreaker Vinc0682

View GitHub Profile
const LINE_HOLD_TIME = 1;
const SILENT_TIME = 10;
const SONGS: { [key: string]: string[]} = {
'I am machine': [
'I am', 'machine',
'I never', 'sleep',
'I keep', 'my eyes', 'wide open',
'I am', 'machine',
'A part', 'of me',
@Vinc0682
Vinc0682 / Cargo.toml
Last active August 8, 2023 17:42
rust-sgx local attestation made easy
[dependencies]
sgx-isa = { version = "0.2", features = ["sgxstd"] }
# RustCrypto, used for CMAC
cmac = "0.2.0"
crypto-mac = "0.7.0"
aes = "0.3.2"
block-cipher-trait = "0.6.2"
generic-array = "0.12"
[2018-06-12 09:39:16 +0000] [24] [INFO] Starting gunicorn 19.7.1
[2018-06-12 09:39:16 +0000] [24] [INFO] Listening at: http://0.0.0.0:8000 (24)
[2018-06-12 09:39:16 +0000] [24] [INFO] Using worker: gevent
[2018-06-12 09:39:16 +0000] [34] [INFO] Booting worker with pid: 34
[2018-06-12 09:39:16 +0000] [35] [INFO] Booting worker with pid: 35
[2018-06-12 09:39:16 +0000] [36] [INFO] Booting worker with pid: 36
[2018-06-12 09:39:16 +0000] [37] [INFO] Booting worker with pid: 37
[2018-06-12 09:39:19 +0000] [35] [ERROR] Exception in worker process
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/gunicorn/arbiter.py", line 578, in spawn_worker
#!/usr/bin/env python2
#-*- coding:utf-8 -*-
from random import randint, shuffle
def invserse(wheel):
result = [ 0 for _ in range(26) ]
for i in range(26):
result[wheel[i]] = i
return result
{
"balanceData": [
{
"id": 1,
"date": "13.06.2017",
"cause": "Startkapital bei Tabellenerstellung",
"amount": 432,
"fulfilled": true
},
{
0 JMP 4 # Uses the Blum-Macali-Algorithm https://en.wikipedia.org/wiki/Blum%E2%80%93Micali_algorithm
1 DEF 2 # g, a primitive root of "p"
2 DEF 37 # p, a prime number :)
3 DEF 2 # x, The last random number
4 JSR 20 # x = g^x
5 JSR 50 # x = x mod p
6 OUT 3 # print result
7 INM 127 # Wait for the user to accept it
@Vinc0682
Vinc0682 / tmux-cheatsheet.markdown
Created March 1, 2017 19:58 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@Vinc0682
Vinc0682 / 0_reuse_code.js
Created November 29, 2016 20:42
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@Vinc0682
Vinc0682 / NTAC config.yml
Created August 21, 2016 20:40
NTAC Config.yml - NTAC's config file
#GENERAL INFORMATION
#String formating:
#Colors:
#You can use the essentials color codes
# http://ess.khhq.net/mc/
# Orig Chars --> Will be replaced with
#
# %n --> A new line
@Vinc0682
Vinc0682 / Uncraftable Items.md
Last active November 15, 2022 15:33
Uncraftable Items

#Uncraftable Items This list generated against spigot 1.9.4 Material lists, which also cantains a lot of internal items / blocks which may be obtainable by crafting, like the BED_BLOCK which can be placed using a BED_ITEM...

EDIT: I quickly looked over the list and removed the most obvious ones, just comment if you find any more of these blocks 😄

  • AIR
  • GRASS
  • COBBLESTONE
  • SAPLING
  • BEDROCK
  • SAND