Skip to content

Instantly share code, notes, and snippets.

View ReanimationXP's full-sized avatar

ReanimationXP ReanimationXP

View GitHub Profile
@mackwage
mackwage / windows_hardening.cmd
Last active April 23, 2024 15:13
Script to perform some hardening of Windows OS
:: Windows 10 Hardening Script
:: This is based mostly on my own personal research and testing. My objective is to secure/harden Windows 10 as much as possible while not impacting usability at all. (Think being able to run on this computer's of family members so secure them but not increase the chances of them having to call you to troubleshoot something related to it later on). References for virtually all settings can be found at the bottom. Just before the references section, you will always find several security settings commented out as they could lead to compatibility issues in common consumer setups but they're worth considering.
:: Obligatory 'views are my own'. :)
:: Thank you @jaredhaight for the Win Firewall config recommendations!
:: Thank you @ricardojba for the DLL Safe Order Search reg key!
:: Thank you @jessicaknotts for the help on testing Exploit Guard configs and checking privacy settings!
:: Best script I've found for Debloating Windows 10: https://github.com/Sycnex/Windows10Debloater
:
@tobozo
tobozo / Hector.ino
Last active September 19, 2020 21:31
Code used in this ESP32 Wrover Kit (v3) LCD Test video https://youtu.be/jsKxpVOI6no
/*
Rotatey Hector Nunchuck is placed under the MIT license
Copyleft (c+) 2017 tobozo
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
@ReanimationXP
ReanimationXP / iOS_device_types.txt
Last active August 18, 2021 11:04 — forked from adamawolf/Apple_mobile_device_types.txt
List of iOS device codes types a.k.a. machine ids (e.g. iPhone1,1) and their matching product names
i386 : iPhone Simulator 32-bit
x86_64 : iPhone Simulator 64-bit
iPhone1,1 : iPhone
iPhone1,2 : iPhone 3G
iPhone2,1 : iPhone 3GS
iPhone3,1 : iPhone 4
iPhone3,2 : iPhone 4 (GSM Rev A)
iPhone3,3 : iPhone 4 (CDMA)
iPhone4,1 : iPhone 4S
@abrambailey
abrambailey / invite-all-users-to-slack-channel.js
Last active October 29, 2020 06:10
Invite all users to slack channel
var i = 1;
function inviteAllUsers() {
setTimeout(function () {
setTimeout(function() {
$('#channel_actions_toggle').click();
},100)
setTimeout(function() {
$('#channel_invite_item').click();
},200)
@steinwaywhw
steinwaywhw / One Liner to Download the Latest Release from Github Repo.md
Last active April 14, 2024 15:39
One Liner to Download the Latest Release from Github Repo
  • Use curl to get the JSON response for the latest release
  • Use grep to find the line containing file URL
  • Use cut and tr to extract the URL
  • Use wget to download it
curl -s https://api.github.com/repos/jgm/pandoc/releases/latest \
| grep "browser_download_url.*deb" \
| cut -d : -f 2,3 \
| tr -d \" \
void TestCopy()
{
BOOL cond = FALSE;
IFileOperation *FileOperation1 = NULL;
IShellItem *isrc = NULL, *idst = NULL;
BIND_OPTS3 bop;
SHELLEXECUTEINFOW shexec;
HRESULT r;
do {