Skip to content

Instantly share code, notes, and snippets.

View smolgumball's full-sized avatar
💟
Being pink and smol

smolgumball smolgumball

💟
Being pink and smol
View GitHub Profile
@smolgumball
smolgumball / 1-vue.js
Last active December 27, 2021 03:47
Vue in BitBurner
let _window = eval('window')
let _document = eval('document')
let vueAppId = 'vueApp'
/** @param {NS} ns **/
export async function main(ns) {
let app = _window._vueApp || null
if (!_window.Vue) {
_window.Vue = await import(
@smolgumball
smolgumball / bitburner-vue.js
Created December 25, 2021 00:28
Run Vue Apps within BitBurner
let _window = eval('window')
let _document = eval('document')
let vueAppId = 'vueApp'
let appStyles = `
.app_root {
color: white;
font-family: "Lucida Console", "Lucida Sans Unicode", "Fira Mono", Consolas, "Courier New", Courier, monospace, "Times New Roman";
.layout {
@smolgumball
smolgumball / d2-photo-utils.ahk
Created May 11, 2020 02:58
Destiny 2 Photo Utilities (Pan Camera Left, Pan Camera Right, and Hide Weapon)
; Recommended for performance and compatibility with future AutoHotkey releases.
#NoEnv
; Recommended for new scripts due to its superior speed and reliability.
SendMode Input
; Ensures a consistent starting directory.
SetWorkingDir %A_ScriptDir%
;
#MaxThreadsPerHotkey 2
; Press F8 to pan your game camera slowly to the left