Skip to content

Instantly share code, notes, and snippets.

View ninp0's full-sized avatar

ninp0

View GitHub Profile

Steps to Make the doskey mv=move Alias Permanent for All Users Create a Batch File for the Alias: Open a text editor (e.g., Notepad).

Add the following lines:

@echo off
doskey mv=move $*
State of Charge Voltage (V)
100% 3.60-3.65
90% 3.50-3.55
80% 3.45-3.50
70% 3.40.3.45
60% 3.35-3.40
50% 3.30-3.35
40% 3.25-3.30
30% 3.20-3.25
#!/usr/bin/env ruby
# frozen_string_literal: true
require 'pwn'
loop do
# Clear the screen
print "\e[2J\e[f"
puts PWN::Banner::Matrix.get
sleep 0.09
#!/bin/bash --login
find $target_dir \
-type d \
-name $target_name \
-printf "%T+\t%p\n" | \
sort | \
tail -1 | \
awk '{print $2}'`

On the terminal tab, send the following commands:

M92 E830

and

M500


OctoPrint >> Settings >> GCODE Scripts:

#!/user/bin/env ruby
# frozen_string_literal: true
require 'csv'
require 'optparse'
opts = {}
OptionParser.new do |options|
options.banner = "USAGE:
#{File.basename($PROGRAM_NAME)} [opts]
#!/bin/bash --login
dmesg --ctime --level=0,1,2,3
#!/usr/bin/env python
import hid
# Using hid.enumerate() to get a list of all HID devices
devices = hid.enumerate()
# Loop through each device
for device in devices:
# Accessing data from a enumerated device
print("Device path: ", device['path'])
#!/usr/bin/env python
# CVE-2018-16706
import argparse
import requests
import sys
parser = argparse.ArgumentParser()
parser.add_argument(
'-t',
'--target',