Skip to content

Instantly share code, notes, and snippets.

View hevans90's full-sized avatar
🍺
ez

Harrison Evans hevans90

🍺
ez
View GitHub Profile
@hevans90
hevans90 / autoplay.js
Created July 14, 2022 12:40
mine defense auto-play
const autoPlay = () => {
setInterval(() => MD.dig(200, 200));
setInterval(() => {
MD.combineGems();
for (let index = 0; index < 6; index++) {
MD.clickMage(index);
}
}, 200);
};
@hevans90
hevans90 / https.cs
Last active June 10, 2021 12:32
something
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System.Data.SqlClient;
using System.Net.Http;
using System.Threading.Tasks;
using Dapper;
using DigitalCoders.Domain;
using DigitalCoders.CustomRepository;
using DigitalCoders.WhatsAppProviderAPI.Domain;
@hevans90
hevans90 / scripts.js
Last active October 28, 2020 14:24
kittens scripts
setInterval(() =>game.tick(), 0.1);
alloyCrafting = setInterval(() => {
gamePage.craftAll('alloy');
}, 1 * 1000);
autoHunt = setInterval(() => {
const catpower = gamePage.resPool.get('manpower');
if (catpower.value / catpower.maxValue > 0.95) {
@hevans90
hevans90 / auth.actions.ts
Last active January 21, 2020 15:41
marble testing chained `from(promise)`
import { createAction, props } from '@ngrx/store';
export const login = createAction('[Auth] Login');
export const logout = createAction('[Auth] Logout');
export const logoutSuccess = createAction('[Auth] Logout success');
export const logoutError = createAction('[Auth] Logout error', props<{ error: any }>());