Skip to content

Instantly share code, notes, and snippets.

@iwanPlays
iwanPlays / A Place, Forbidden Freesound Credits
Created May 23, 2020 12:24
A Place, Forbidden Freesound Credits
Additional Assets Used:
Footstep sounds, felix.blume, CC0 (modified)
https://freesound.org/people/felix.blume/sounds/413839/
Filing cabinet drawer sound, LloydEvans09, CC0 (modified)
https://freesound.org/people/LloydEvans09/sounds/185842/
Lamp on/off sound, Goup_1, Attribution
https://freesound.org/people/Goup_1/sounds/171148/
@obfusk
obfusk / break.py
Last active May 1, 2024 20:32
python "breakpoint" (more or less equivalent to ruby's binding.pry); for a proper debugger, use https://docs.python.org/3/library/pdb.html
import code; code.interact(local=dict(globals(), **locals()))
@matteous1
matteous1 / index.html
Last active May 1, 2024 20:32
Test - Frontend
<div class="general-wrap">
<!-- Header logo mobile start -->
<div class="header-logo-mobile-wrap">
<div class="hader-logo-container">
<img class="header-logo-img" src="https://media.yoox.biz/ytos/resources/FEDTEST/images/logo-ynap/logo-ynap.svg" alt="Logo">
</div>
</div>
<!-- Header logo mobile finish -->
Host IP
192.168.100.1

Launch msfconsole

service postgresql start
sudo msfdb start
msfconsole -qr /home/siddicky/tools/multi-handler.rc
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active May 1, 2024 20:31
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
IndexedDB
Instances in: /data/user/0/com.android.chrome/app_chrome/Default (Bucket count = 93)
Origin: https://172f4b1de3c9728d7fca213f9859d52c.safeframe.googlesyndication.com:443
Storage partition - top level site: https://googlesyndication.com:443
Storage key: https://172f4b1de3c9728d7fca213f9859d52c.safeframe.googlesyndication.com/
Bucket: '_default'
Size: 1257
Last modified: Wed Sep 27 2023 06:33:35 GMT-0700 (Pacific Daylight Time)
Open connections: 0
Paths:
const data = {
"url": "https://news.polymer-project.org/",
"title": "Top Stories - NEWS",
"children": [
{
"url": "https://news.polymer-project.org/list/doodles",
"title": "Doodles - NEWS",
"children": [
{
"url": "https://news.polymer-project.org/list/top_stories",
@vikas891
vikas891 / ExtractAllScripts.ps1
Last active May 1, 2024 20:26
A PowerShell script to re-construct a suspicious .PS1 from script-blocks recorded in Event ID 4104
#Usage:
#
#NOTE: The script expects an argument which is the full File Path of the EVTX file.
#
#C:\>ExtractAllScripts.ps1
#The default behavior of the script is to assimilate and extract every script/command to disk.
#
#C:\ExtractAllScripts -List
#This will only list Script Block IDs with associated Script Names(if logged.)
#
@pawelel
pawelel / MudHorizontalNavMenu.razor
Created October 16, 2021 11:44
MudBlazor horizontal menu alternative
<style>
.mud-expand-panel, .muudstrap-navbar-expand{
color: var(--mud-palette-appbar-text);
background-color: var(--mud-palette-appbar-background);
}
.muudstrap-navbar .mud-button{
text-transform: none;
}
@astamicu
astamicu / Remove videos from Youtube Watch Later playlist.md
Last active May 1, 2024 20:23
Script to remove all videos from Youtube Watch Later playlist

UPDATED 22.11.2022

It's been two years since the last update, so here's the updated working script as per the comments below.

Thanks to BryanHaley for this.

setInterval(function () {
    video = document.getElementsByTagName('ytd-playlist-video-renderer')[0];

 video.querySelector('#primary button[aria-label="Action menu"]').click();