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> | |
<link rel='stylesheet' href='style.css'/> | |
</head> | |
<body> | |
<script type='application/x-shader' id='vertex'> | |
attribute vec3 Position; | |
attribute float Size, Life; |
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
const exec = require('child_process').exec; | |
const conf = require('./package.json').buildjs || {}; | |
const C0 = '\033[0m', | |
C1 = '\033[1;34m', | |
C2 = '\033[1;32m', | |
C3 = '\033[1;31m'; | |
const runCmd = (function() { |
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
clear; | |
clc; | |
sigmoid = @(x) 1 ./ (1 + exp(-x)); | |
tset = [ | |
0, 0, 0 ; % 0 xor 0 = 0 | |
0, 1, 1 ; % 0 xor 1 = 1 | |
1, 0, 1 ; % 1 xor 0 = 1 | |
1, 1, 0 % 1 xor 1 = 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
import java.io.*; | |
import java.nio.file.*; | |
import java.awt.event.*; | |
import java.util.*; | |
import java.util.function.*; | |
public class FsWatcher { | |
private Thread t; | |
private File 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 time | |
import requests | |
import win10toast | |
import threading | |
import datetime | |
from colorama import * | |
class GdaxWatcher: | |
def __init__(self, notifBelow, notifAbove): | |
self.toaster = win10toast.ToastNotifier() |
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
state("Risen") { | |
float igt : "Game.dll", 0x00FA63A0, 0x48, 0x24 | |
} | |
init { | |
vars.igt = 0.0f; | |
} | |
startup { | |
} |
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 sys | |
import time | |
import tqdm | |
import cbpro | |
import pandas as pd | |
if __name__ == '__main__': | |
if len(sys.argv) < 3: | |
print(f'Usage: {sys.argv[0]} start_date end_date') | |
exit() |
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 pandas as pd | |
pd.read_csv('ok.csv', header=[0, 1], index_col=0) | |
pd.read_csv('not_ok.csv', header=[0, 1], index_col=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
LPVOID swapchain_present_vtable_lookup() { | |
// Credits: https://www.unknowncheats.me/forum/d3d-tutorials-and-source/88369-universal-d3d11-hook.html | |
D3D_FEATURE_LEVEL featureLevel = D3D_FEATURE_LEVEL_11_0; | |
ID3D11Device *pDevice = nullptr; | |
ID3D11DeviceContext *pContext = nullptr; | |
IDXGISwapChain* pSwapChain = nullptr; | |
DXGI_SWAP_CHAIN_DESC swapChainDesc; | |
ZeroMemory(&swapChainDesc, sizeof(swapChainDesc)); | |
swapChainDesc.BufferCount = 1; |