Skip to content

Instantly share code, notes, and snippets.

View hikilaka's full-sized avatar
🤟

Zack Penn hikilaka

🤟
View GitHub Profile
#include <time.h>
char *w="AAAA########+++///9999AA Good %s!\n\0morning\0day\0afternoon\0evening\0night";
int main(){time_t t=time(0);return printf(w+25,w+w[localtime(&t)->tm_hour]);}
#include <chrono>
#include <cmath>
#include <functional>
#include <iomanip>
#include <iostream>
#include <thread>
template <typename clock,
std::size_t cycle_rate,
typename cycle_duration>
auto exec_chaiscript() {
auto opts = {
chaiscript::Options::No_Load_Modules,
chaiscript::Options::External_Scripts
};
chaiscript::ChaiScript engine({}, {}, opts);
engine.use("prime.chai");
auto start = std::chrono::high_resolution_clock::now();
#ifndef SYSD_STL_UTIL
#define SYSD_STL_UTIL
#pragma once
#include <algorithm>
#include <cstddef>
#include <iterator>
#include <random>
#include <string>
#!/bin/python3
import random
doors = ['car', 'goat', 'goat']
def monty(switch_doors):
random.shuffle(doors)
number = random.randint(0, 2)
remaining = [0, 1, 2]
#!/bin/python3
import random
doors = ['car', 'goat', 'goat']
def print_door(secret=True, *args):
pass
#!/bin/bash
REDTEXT="\e[91m"
GREENTEXT="\e[92m"
PLAINTEXT="\e[39m"
err_str() {
echo -e "$(echo $REDTEXT)$1$(echo $PLAINTEXT)"
}
public void method212(int i, int j, int k, int l, int i1) {
int j1 = 256 - i1;
int k1 = (l >> 16 & 0xff) * i1;
int l1 = (l >> 8 & 0xff) * i1;
int i2 = (l & 0xff) * i1;
int i3 = j - k;
if (i3 < 0)
i3 = 0;
int j3 = j + k;
if (j3 >= menuDefaultHeight)
require 'cinch'
require 'nokogiri'
require 'open-uri'
class FML
include Cinch::Plugin
match /fml/
def initialize(*args)