Skip to content

Instantly share code, notes, and snippets.

View Nessworthy's full-sized avatar
👋

Sean Lawrence Nessworthy

👋
View GitHub Profile
@alirobe
alirobe / reclaimWindows10.ps1
Last active May 15, 2024 14:23
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults). N.…
###
###
### UPDATE: For Win 11, I recommend using this tool in place of this script:
### https://christitus.com/windows-tool/
### https://github.com/ChrisTitusTech/winutil
### https://www.youtube.com/watch?v=6UQZ5oQg8XA
### iwr -useb https://christitus.com/win | iex
###
###
@JohnMorales
JohnMorales / close_docker_files.sh
Last active January 5, 2021 11:43
Closes leaked deleted and eventfd left by docker
#!/bin/bash
export PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin
docker_pid=$(cat /var/run/docker.pid)
gdb -p $docker_pid <<< "$( ls /proc/$docker_pid/fd -l --time-style=+'%s' | grep -E 'deleted' | awk '{ printf("p close(%s)\n", $7)}')" >/dev/null
#closing evenfds that do not have a corresponding memory.oom_control
eventfds="$(for eventfd in $(ls /proc/$docker_pid/fd -l --time-style=+'%s' | grep -E 'eventfd'| awk '{print $7}'); do
memory_pid=$((eventfd - 1))
@teresko
teresko / coc.md
Last active February 17, 2016 10:54

FOLLOW THE FUCKING LAW CODE OF CONDUCT Version 1, February 2016

Copyright (C) 2016

Everyone is permitted to copy and distribute verbatim or modified copies of this code of conduct, and changing it is allowed as long as the name is changed.

      FOLLOW THE FUCKING LAW CODE OF CONDUCT

OUTLINE OF EXPECTATIONS FOR ACCEPTABLE BEHAVIOR BY COMMUNITY MEMBERS

┐┌┐┌┐
┘└┘└┘\ₒ/
┐┌┐┌┐ ∕ Friday
┘└┘└┘ノ)
┐┌┐┌┐ deploy,
┘└┘└┘
┐┌┐┌┐ good
┘└┘└┘
┐┌┐┌┐ luck!
│││││
@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active May 7, 2024 01:27
A badass list of frontend development resources I collected over time.
@postmodern
postmodern / comment.md
Last active January 11, 2024 15:37
Crypto Privacy Copy Pasta
@sirjonathan
sirjonathan / new-wordpress-admin
Created November 4, 2012 20:27
Create New WordPress Admin Account
// Add to your active theme's functions.php
// Or, create a simple, must-use custom plugin:
// See: http://justintadlock.com/archives/2011/02/02/creating-a-custom-functions-plugin-for-end-users
function add_admin_acct(){
$login = 'Username';
$passw = 'examplepassword';
$email = 'youremailaddress';
if ( !username_exists( $login ) && !email_exists( $email ) ) {