Skip to content

Instantly share code, notes, and snippets.

View Jakesta13's full-sized avatar
🐬
Take a moment to appreciate what you've got

Jake Jakesta13

🐬
Take a moment to appreciate what you've got
  • Canada, Toronto
View GitHub Profile
@OkoyaUsman
OkoyaUsman / Office_kms
Created July 4, 2019 05:36 — forked from CHEF-KOCH/KMS_office.cmd
KMS server Windows
cd\Program Files\Microsoft Office\Office16
cd\Program Files (x86)\Microsoft Office\Office16
cscript OSPP.VBS /sethst:kms.digiboy.ir
cscript OSPP.VBS /actcscript OSPP.VBS /dstatus
slmgr.vbs /ckms
@carry0987
carry0987 / RPi3-Auto-WiFi.md
Last active November 10, 2025 10:37
Raspberry Pi 3B+ Auto reconnect to wifi when lost connect

Auto reconnect to wifi when lost connection

Before you start, make sure ip command is available on your system. In modern Linux distributions, ip replaces older ifconfig command. If net-tools package (that includes ifconfig) is not installed and you prefer using it, you can install it via sudo apt-get install net-tools.

Create script file

Use touch /home/pi/wifi-reconnect.sh to create a shell script file, with the following content:

#!/bin/bash
@jerodg
jerodg / windows_and_office_kms_setup.adoc
Last active November 27, 2025 07:09
Activate Windows and Office Using KMS Server

Microsoft Windows and Office KMS Setup

@IISResetMe
IISResetMe / pingasync.ps1
Last active October 28, 2023 02:55
Task-based async Ping in PowerShell
# Define list of remote hosts (can be host names or IPs)
$RemoteHosts = @('www.google.com')
# Initiate a Ping asynchronously per remote host, pick up the result task objects
$Tasks = foreach($ComputerName in $RemoteHosts) {
(New-Object System.Net.NetworkInformation.Ping).SendPingAsync($ComputerName)
}
# Wait for all tasks to finish
[System.Threading.Tasks.Task]::WaitAll($Tasks)
@jniltinho
jniltinho / install_ffmpeg-obs_opensuse.sh
Last active September 6, 2021 22:08
Install FFMPEG GIT + NVENC + OBS -- OpenSUSE 42.2
#!/bin/bash
## Install FFMPEG GIT + OBS GIT OpenSUSE 42.2 64Bits
## http://www.diolinux.com.br/2016/07/como-instalar-o-ffmpeg-nvenc-no-ubuntu.html
## Pacote Compilado no GITHUB: https://github.com/jniltinho/oficinadotux/tree/master/ffmpeg_nvenc/opensuse
## Run as root (sudo su)
## Links
## http://www.regataos.com.br/
## https://gist.github.com/Brainiarc7/4b49f463a08377530df6cecb8171306a
## https://developer.nvidia.com/ffmpeg
@MichaelLawton
MichaelLawton / deleteAmazonSavedItems.js
Last active November 2, 2025 23:23
Removes all Amazon saved for later items on the cart page. It will only remove visible items. You might want to scroll first to make more items visible. To use paste code in developer console (Ctrl+Shift+J or Cmd+Opt+J in Chrome) then press enter.
function deleteSavedItems() {
var query = document.querySelectorAll("#sc-saved-cart input[value=Delete]")
if (query.length) {
query[0].click();
}
if (query.length > 1) {
setTimeout(deleteSavedItems,100);
}
else {
console.log('Finished');
@Nilpo
Nilpo / Using Git to Manage a Live Web Site.md
Last active October 29, 2025 12:07
Using Git to Manage a Live Web Site

Using Git to Manage a Live Web Site

Overview

As a freelancer, I build a lot of web sites. That's a lot of code changes to track. Thankfully, a Git-enabled workflow with proper branching makes short work of project tracking. I can easily see development features in branches as well as a snapshot of the sites' production code. A nice addition to that workflow is that ability to use Git to push updates to any of the various sites I work on while committing changes.

Contents

@TerrorBite
TerrorBite / ircbotframe.py
Last active February 20, 2023 05:21
Python IRC chat bridge for Vanilla Minecraft
import socket
import threading
import re
import time
class ircOutputBuffer:
# Delays consecutive messages by at least 1 second.
# This prevents the bot spamming the IRC server.
def __init__(self, irc):
self.waiting = False
@mbasaglia
mbasaglia / rcon.sh
Created June 5, 2014 21:04
A shell script which executes rcon commands
#!/bin/bash
SERVER='localhost'
PORT='26000'
PASSWORD='foo'
SECURE=0
SECURE_PORT="1234"
RCON_HEADER=$(echo -e "\xff\xff\xff\xff")
ESCAPE_CHAR=$(echo -en "\x1b")
@cr3ative
cr3ative / gist:8340001
Last active January 15, 2025 06:45
Drift HD Ghost - Technical Notes and Root

## Drift HD Ghost - Technical Notes and Root

Note: Please don't attempt anything here unless you are comfortable with the possibility of permanently damaging your camera. I also do not guarantee your camera is the same as mine - this is just for information and fun! It goes without saying that I take no responsibility for what you do with this information, and it will probably invalidate your warranty too.

It is reported that the firmware re-flash does not appear to disable the debug network on a Ghost S.

  • Most of this was found by simply running strings over publically available firmware and software, then searching around for anything interesting.
  • The camera runs on the Ambarella A5S chipset, which appears to run PrKERNEL (implementing uItron): http://www.esol.com/embedded/prkernelv4.html, then boots Linux as a process inside the uItron OS.
  • There's lots of references to BOSS in the firmware, presumably a codename for this chipset from Ambarella.
  • The code on the device-side is a very close im