Skip to content

Instantly share code, notes, and snippets.

View Hackerjef's full-sized avatar
🏠
Working from home

August Hackerjef

🏠
Working from home
View GitHub Profile
x_pos = 0
y_pos = 0
z_pos = 0
orientation = 0
function orient_to(target_orientation)
delta_orientation = ((target_orientation % 4) - orientation) % 4
if delta_orientation == 3 then
delta_orientation = -1
@Hackerjef
Hackerjef / README.md
Last active February 6, 2022 19:52
Add many ssh keys to proxmox containers

This shell script allows you to add public keys to specified containers

How to use:

  1. Download the script and make a folder called keys
  2. add all your keys to your newly created key folder
  3. add the servers to line 27's array [container id]="username" ex: servers+=( [235]="root" [421]="root" [123]="root" [124]="root" [321]="noroot" )
  4. Thats it! If your keys are correct and you had ssh enabled, it should work :D
@Hackerjef
Hackerjef / install.lua
Last active December 8, 2021 19:57
Computercraft script to control some things
print("installing")
local g_api_url = "https://api.github.com/gists/82284a0b00bb4a2d4ef54df3aa388de4"
local g_file = "soulautomation.lua"
local file = "startup.lua"
local resp = http.get(g_api_url)
if resp ~= nil then
local sresp = resp.readAll()
resp.close()
local gdata = textutils.unserialiseJSON(sresp)
# -*- coding: utf-8 -*-
# MIT License
# Copyright(c)2020 Nadie#0063
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files(the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@Hackerjef
Hackerjef / killdiscord.ahk
Created September 13, 2019 04:33
key to kill discord stable. AHK
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
; SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
insert::
process = Discord.exe
Loop
{
prev := ErrorLevel
# -*- coding: utf-8 -*-
# MIT License
# Copyright(c)2019 Nadie#0063
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files(the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell

Keybase proof

I hereby claim:

  • I am hackerjef on github.
  • I am nadie (https://keybase.io/nadie) on keybase.
  • I have a public key ASCfUoyG3do2li7J9zukjxbr9wIs9USlHpqE1VFZWVlCKgo

To claim this, I am signing this object:

@Hackerjef
Hackerjef / shorturldomains
Last active March 1, 2019 05:03
short url list
0rz.tw
1-url.net
126.am
1link.in
1tk.us
1un.fr
1url.com
1url.cz
1wb2.net
2.gp