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 path+=** | |
set modelines=0 | |
set autoread | |
au FocusGained,BufEnter * :silent! ! | |
set encoding=utf-8 | |
set visualbell | |
set backspace=indent,eol,start | |
set nobackup | |
set noswapfile | |
set relativenumber |
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 pako from "pako"; | |
decode = async (base64) => { | |
let bin = window.atob(base64) | |
let bytes = new Uint8Array(bin.length) | |
for (let i = 0; i < bin.length; i++) { | |
bytes[i] = bin.charCodeAt(i); | |
} | |
let data = String.fromCharCode.apply(null, new Uint16Array(pako.inflate(bytes))); | |
return JSON.parse(data); |
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
package main | |
import ( | |
"errors" | |
"fmt" | |
"github.com/streadway/amqp" | |
"log" | |
"math/rand" | |
"strconv" | |
) |
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 java.awt.*; | |
import java.awt.event.ActionListener; | |
import javax.swing.*; | |
/* Main issue currently: | |
* Applet Time | |
*/ | |
public class Main | |
{ | |
private static final int FRAME_WIDTH = 1000; | |
private static final int FRAME_HEIGHT = 750; |