Skip to content

Instantly share code, notes, and snippets.

var mediaJSON = { "categories" : [ { "name" : "Movies",
"videos" : [
{ "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ],
"subtitle" : "By Blender Foundation",
"thumb" : "images/BigBuckBunny.jpg",
"title" : "Big Buck Bunny"
},
{ "description" : "The first Blender Open Movie from 2006",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ],
@mokiding
mokiding / sql_dork_list
Created December 7, 2014 23:15
Google SQL dork list
trainers.php?id=
play_old.php?id=
declaration_more.php?decl_id=
Pageid=
games.php?id=
newsDetail.php?id=
staff_id=
historialeer.php?num=
product-item.php?id=
news_view.php?id=
@MilenPavlov
MilenPavlov / gist:98e210e3ffe1fbe4ecd9
Last active September 14, 2020 10:42
ContentObserver for Xamarin Android Photos using MediaStore.IntentActionStillImageCamera
//PhotoObserver.cs
public class Media
{
public System.DateTime Added { get; set; }
public File File { get; set; }
public System.DateTime Modified { get; set; }
public string Type { get; set; }
public override string ToString()
@afreeland
afreeland / gist:5957c2a48a15c6501352
Created December 3, 2015 15:00
Zip a directory excluding a folder (node_modules) using 7z
C:\Program Files\7-Zip>7z.exe a -tzip utility.zip C:\nChannel_2014\nChannel\Dev\
nodejs\management -xr!node_modules
@Manouchehri
Manouchehri / rfc3161.txt
Last active October 9, 2025 14:52
List of free rfc3161 servers.
https://rfc3161.ai.moda
https://rfc3161.ai.moda/adobe
https://rfc3161.ai.moda/microsoft
https://rfc3161.ai.moda/apple
https://rfc3161.ai.moda/any
http://rfc3161.ai.moda
http://timestamp.digicert.com
http://timestamp.globalsign.com/tsa/r6advanced1
http://rfc3161timestamp.globalsign.com/advanced
http://timestamp.sectigo.com
@jagrosh
jagrosh / Github Webhook Tutorial.md
Last active October 11, 2025 20:01
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings
#!/bin/bash
while [ 1 ]
do
reset
echo 'VirtualBox OpenSores Commandline. Release Version:. 2.0-ESR "os2-ception"'
echo " VirtualBox GUI "
echo " VirtualBox exit "
echo " VirtualBox Overview "
echo "# VirtualBox ResetConfig# "
echo && VBoxManage list vms
@Paradoxis
Paradoxis / agressive-url-encode.md
Last active February 10, 2024 23:00
Agressive URL encode

Agressive URL encode

Python based CLI tool to agressively url-encode strings, rather than just encoding non-url characters this tool will encode every character in the URL.

Usage:

Firstly make a function in your .bash_profile to call the script

function url-encode()
{
 python ~//url_encode.py $@
@marcgeld
marcgeld / CompileLoad.ps1
Created May 23, 2017 11:35
Compile and load in Powershell
[string] $scriptPath = Split-Path -Parent $MyInvocation.MyCommand.Definition
[string] $fileName = $($MyInvocation.MyCommand).ToString().Replace(".ps1", ".dll")
[string] $dllPath = Join-Path $scriptPath $fileName
Write-Host "Dll fileName: $($fileName)"
Write-Host "Dll scriptPath: $($scriptPath)"
Write-Host "Dll Path: $($dllPath)"
@sparksbat
sparksbat / ProcessUtils.cs
Created October 24, 2017 21:23
C# Get Foreground Process
using System;
using System.Runtime.InteropServices;
using System.Diagnostics;
namespace FGWindow
{
class ProcessUtils
{
[DllImport("user32.dll")]
private static extern IntPtr GetForegroundWindow();