Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am deejayhx on github.
  • I am deejayh (https://keybase.io/deejayh) on keybase.
  • I have a public key ASAquOtfOAb69-DpsHHLWFLQ01crwxDNR4-kz2a2EwZacwo

To claim this, I am signing this object:

@DeeJayhX
DeeJayhX / hacknet.ahk
Created April 6, 2019 04:20
Hacknet Authotkey for Shells
SetKeyDelay, 15, 25
^s::
if WinActive("ahk_exe Hacknet.exe")
{
Send shell
Send {enter}
Send cd log
Send {enter}
Send rm *
@DeeJayhX
DeeJayhX / add.py
Last active January 20, 2019 04:35
### Super inefficient adding algorithm
### By: Derek Steindel
#set variables
##STEP 1
carry = 0
##STEP 2
i = 0
result = ""
function checkAces(arr, sum)
{
if ( arr.includes("A") )
{
if ( sum + 10 < 22 )
{
sum += 10;
}
}
var arr = [];
var dHand = [];
var pHand = [];
var dSum = 0;
var pSum = 0;
while ( dHand.length < 2)
{
arr = randCard();
dHand.push(arr[0]);
$ ls -alR /etc/gdm3/
/etc/gdm3/:
total 24
drwxr-xr-x 4 root root 4096 Jun 2 01:45 .
drwxr-xr-x 135 root root 12288 Jun 2 01:43 ..
drwxr-xr-x 2 root root 4096 Jun 2 01:45 Init
drwxr-xr-x 2 root root 4096 Jun 2 01:45 PostLogin
/etc/gdm3/Init:
total 12
local component = require("component");
local fs = require("filesystem");
local serialization = require("serialization");
local term = require("term");
local internet = nil;
--[[
--]]
local packages = {"oop", "libGUI", "draconic_control", "dc_gui"};
def addLog( msg, type=0, game=0, write_to_file=$file_log )
#Type: 0=Info, 1=Warning, 2=Error, 3=Debug, 4=Start, 5=Stop
#Game: 0=None, 1=Roulette, 2=Crash
Console.write Time.now.strftime("%H:%M:%S"), :white
case type
when 0
Console.write "|Info: ", :white
when 1
require 'thread'
Thread.abort_on_exception = true
def addLog(x,y)
print x
puts y
end
def procA()
addLog("Stuff1", "Thing1")
class Roulette
def betting
print "betting1"
roll
end
def roll
print "roll1"
betting
end
end