Skip to content

Instantly share code, notes, and snippets.

View joar's full-sized avatar
:bowtie:
Not wearing a bowtie

Joar Wandborg joar

:bowtie:
Not wearing a bowtie
View GitHub Profile
#include <dlfcn.h>
#include <syslog.h>
#include <stdio.h>
#include <unistd.h>
typedef struct FCC_OPS FCC_OPS;
typedef void *HDMOVERMBIMTOSARHANDLE;
typedef int BOOL;
#SingleInstance, Force
#KeyHistory, 0
SetBatchLines, -1
ListLines, Off
;SendMode Input ; Forces Send and SendRaw to use SendInput buffering for speed.
; SetTitleMatchMode, 3 ; A window's title must exactly match WinTitle to be a match.
SetWorkingDir, %A_ScriptDir%
SplitPath, A_ScriptName, , , , thisscriptname
#MaxThreadsPerHotkey, 1 ; no re-entrant hotkey handling
; DetectHiddenWindows, On
settings
{
main
{
Description: "READ ME! Call of Duty Zombies! Gain points by dealing damage and getting kills. Spend points on buyable items around the map. Don't worry about the timer, it'll reset once it hits 0. Controls: M&KB: Buy Item: Hold (Interact). Switch Hero: Tap (Interact). Controller: Buy Item: Hold (Reload). Switch Hero: Tap (Ultimate). Use Ultimate: Hold (Ultimate). Made by APM."
}
lobby
{
Map Rotation: Paused
@joar
joar / Eichenwalde Zombies.ow
Last active March 10, 2020 17:25
Overwatch Workshop mode: "COD Zombies" on eichenwalde
settings
{
lobby
{
Max Spectators: 12
Max Team 2 Players: 0
}
modes
{
variables
{
global:
0: roundCount
1: roundKills
2: C_canBuyReinhardtIfMoreThan_3
3: bool_ShowConnectPower
4: arrSlot_PlayerDead
9: arrEntity_TeleporterActive
10: int_TeleporterPhase
import flask
from opencensus.ext.flask.flask_middleware import FlaskMiddleware
from opencensus.trace import utils, execution_context
from opencensus.trace.blank_span import BlankSpan
ATTR_REQUEST_BLACKLISTED = "request_blacklisted"
class FixedFlaskMiddleware(FlaskMiddleware):
def _before_request(self):
import json
import multiprocessing
import datetime as dt
import logging
import time
from queue import Empty
import pandas as pd
from colorama import Fore
import pydivert
#!/usr/bin/env bash
# This section should be copied to any script that uses it.
# BEGIN UTILS
# Utility functions ⚠ Do not edit ⚠ Automatically inserted by scripts/utils.sh
# ==============================================================================
# Does not capture stdout, prints helpful info to stderr
function show_call_passthrough {
fileHeaders = Array.slice(document.querySelectorAll(".file-header"))
MARK_AS_VIEWED_FILENAME_REGEX = /vendor\//
CAREFULNESS = 300
if (typeof AUTO_VIEWED_INTERVAL_HANDLE !== "undefined") {
clearInterval(AUTO_VIEWED_INTERVAL_HANDLE)
}
AUTO_VIEWED_INTERVAL_HANDLE = setInterval(() => {
import logging
import apache_beam as beam
from apache_beam.options.pipeline_options import PipelineOptions, SetupOptions
_log = logging.getLogger(__name__)
def main(argv=None):
logging.basicConfig(level=logging.INFO)