Skip to content

Instantly share code, notes, and snippets.

From 3ece1d7a935a2960372e2ef75599fc434c2e63bb Mon Sep 17 00:00:00 2001
From: ImportTaste <53661808+ImportTaste@users.noreply.github.com>
Date: Wed, 1 Jul 2020 12:33:24 -0500
Subject: [PATCH] Replace deprecated libsrt calls
---
libavformat/libsrt.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/libavformat/libsrt.c b/libavformat/libsrt.c
@Copy-link
Copy-link / steam_console_params.txt
Created October 23, 2020 04:48 — forked from davispuh/steam_console_params.txt
Steam client parameters, consoles commands and variables
-480p - Run tenfoot in 480p rather than 1080p
-720p - Run tenfoot in 720p rather than 1080p
-accountrecovery - Perform account recovery
-all_languages - show longest loc string from any language
-bigpicture - Start in Steam Big Picture mode
-cafeapplaunch - Launch apps in a cyber cafe context
-candidates - Show libjingle candidates for local connection as they are processed
-ccsyntax - Spew details about the localized strings we load
-community - Set the community URL
-complete_install_via_http - Run installation completion over HTTP by default
@Copy-link
Copy-link / Get-CRC32.ps1
Last active October 2, 2021 20:28 — forked from r3t3ch/crc32.ps1
Powershell CRC32 Function
Add-Type -TypeDefinition @"
// Copyright (c) Damien Guard. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
using System;
using System.Collections.Generic;
using System.Security.Cryptography;
/// <summary>
@Copy-link
Copy-link / GoogleDorking.md
Created December 15, 2021 21:24 — forked from ikuamike/GoogleDorking.md
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
*{padding:0}html{overflow-y:scroll}:focus{outline:0}header,section{display:block}body{padding-bottom:15px;font-family:Verdana;font-size:12px}#container{-webkit-box-shadow:0 0 20px #ddd;-moz-box-shadow:0 0 20px #ddd;box-shadow:0 0 20px #ddd;border-bottom-left-radius:10px;border-bottom-right-radius:10px;-moz-border-radius-bottomleft:10px;-moz-border-radius-bottomright:10px;background-color:white}#content{clear:both}.content-rounded{-webkit-box-shadow:0 0 4px #ddd;-moz-box-shadow:0 0 4px #ddd;box-shadow:0 0 4px #ddd;border:1px solid #e0e0e0;padding:10px 10px 0 10px;border-radius:5px}#content header p{margin-bottom:5px;font-size:11px;color:#898989}#content header{border-bottom:1px dotted #e0e0e0;margin-bottom:5px}#content h1{text-decoration:none;font-family:'Arial Narrow',Arial;font-weight:normal;font-size:24px}#content h2{font-size:16px}#content h2{font-family:Arial;margin-bottom:5px;font-weight:bold;color:#232323}#content a:hover{text-decoration:underline}#content a{text-decoration:none}#content p{margin-bottom
@Copy-link
Copy-link / dropbox-php-auth.md
Created September 20, 2022 21:16 — forked from phuze/dropbox-php-auth.md
Dropbox API V2: PHP Authentication Process

Effective September 2021, Dropbox will be deprecating long-lived access tokens.

This GIST generally describes how to authenticate requests to Dropbox API v2, for anyone working on a server-side PHP Dropbox implementation.

It's important to understand three types of codes you'll encounter:

  1. Access Code - this is a one-time code that represents user-granted app access.
  2. Access Token - this is short-lived token that provides access to Dropbox API endpoints.
  3. Refresh Token - this is a long-lived token that allows you to fetch a fresh Access Token.
SQL Server 2017
----------------
Enterprise Core - 6GPYM-VHN83-PHDM2-Q9T2R-KBV83
Developer - 22222-00000-00000-00000-00000
Enterprise - TDKQD-PKV44-PJT4N-TCJG2-3YJ6B
Standard - PHDV4-3VJWD-N7JVP-FGPKY-XBV89
Web - WV79P-7K6YG-T7QFN-M3WHF-37BXC
https://www.teamos-hkrg.com/index.php?threads/microsoft-sql-server-english-2017-rtm-teamos.42103/
@Copy-link
Copy-link / google-docs-copy.js
Created February 3, 2023 00:33 — forked from Snarp/google-docs-copy.js
Script to allow copying from a protected Google Doc
/*
<https://stackoverflow.com/questions/40296831/is-it-possible-to-force-a-copy-of-a-protected-google-doc>
NOTE - 2021-05-24
-----------------
The script below isn't the fastest way to copy-and-paste from a protected
Google Doc. Before trying it, I'd suggest following MikoFrosty's advice from
the comments:
@Copy-link
Copy-link / 1_QuickReinstallBetterDiscord.md
Created May 26, 2023 21:33 — forked from Knewest/1_QuickReinstallBetterDiscord.md
Reinstall BetterDiscord seconds after Discord uninstalls it against your will. Avoid using the time consuming installer with this trick.
@Copy-link
Copy-link / New-ErrorRecord.ps1
Created June 8, 2023 00:39 — forked from wpsmith/New-ErrorRecord.ps1
PowerShell: Creates an custom ErrorRecord that can be used to report a terminating or non-terminating error.
<#
.Synopsis
Creates an custom ErrorRecord that can be used to report a terminating or non-terminating error.
.Description
Creates an custom ErrorRecord that can be used to report a terminating or non-terminating error.
.Parameter Exception
The Exception that will be associated with the ErrorRecord.