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 * as crypto from 'crypto' | |
import assert from 'assert' | |
const ivKey = 'randomString1-fah3f;aklajr' | |
const initialVec = Buffer.alloc(16, 0) | |
crypto | |
.createHash('sha256') | |
.update(ivKey) | |
.digest().copy(initialVec) |
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 ConstructorArgs { | |
namespace: string[] = ["default", "values"] | |
} | |
class Base extends ConstructorArgs { | |
constructor(opts: ConstructorArgs = new ConstructorArgs) { | |
super() | |
Object.assign(this, opts) | |
} | |
} |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Dumber Gist</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no"> | |
<base href="/"> | |
</head> | |
<!-- | |
Dumber Gist uses dumber bundler, the default bundle file |
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 | |
import struct | |
N=32 | |
def rp(a) : | |
a=list(range(0,32)) | |
x=0 | |
for i in range(0,N-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
N=32 | |
BYTE = false | |
x0=[0]*N | |
x1=[0]*N | |
x2=[0]*N | |
a=[0]*N | |
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
N=32 | |
BYTE = false | |
x0=[0]*N | |
x1=[0]*N | |
x2=[0]*N | |
a=[0]*N | |
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
#include <stdio.h> | |
#include <time.h> | |
#include <stdlib.h> | |
#define N 16 | |
#define M 16 | |
#define NN 2 | |
unsigned char x0[N]={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
#include <stdio.h> | |
#include <time.h> | |
#include <stdlib.h> | |
#define N 16 | |
#define M 16 | |
#define NN 2 | |
unsigned char xx[N]; |
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 "set" | |
N=32 | |
srand ARGV[0]&.to_i | |
class P < Array | |
def self.rand | |
new(N.times.to_a.shuffle) | |
end | |
def *(o) |
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
Set-ExecutionPolicy AllSigned | |
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
choco install -y googlechrome firefox | |
choco install -y dropbox itunes | |
choco install -y cryptomator | |
choco install -y atom sublimetext3 velocity typora | |
choco install -y sysinternals procexp treesizefree | |
choco install -y chocolateygui | |
choco install -y resilio-sync-home slack |