Skip to content

Instantly share code, notes, and snippets.

View dheeraj-rn's full-sized avatar
🎯
Focusing

Dheeraj Remanan dheeraj-rn

🎯
Focusing
View GitHub Profile
@dheeraj-rn
dheeraj-rn / Numerics.cs
Created March 2, 2018 10:37
Shellcode Stuffed Into A System.Numerics.BigInteger - Cause You Know Why Not ;-)
using System;
using System.Diagnostics;
using System.Reflection;
using System.Configuration.Install;
using System.Runtime.InteropServices;
/*
Author: Casey Smith, Twitter: @subTee
@dheeraj-rn
dheeraj-rn / Numerics.cs
Created March 2, 2018 10:37
Shellcode Stuffed Into A System.Numerics.BigInteger - Cause You Know Why Not ;-)
using System;
using System.Diagnostics;
using System.Reflection;
using System.Configuration.Install;
using System.Runtime.InteropServices;
/*
Author: Casey Smith, Twitter: @subTee
@dheeraj-rn
dheeraj-rn / HLS_dvr.sh
Created November 22, 2017 05:21 — forked from John07/HLS_dvr.sh
A small script to make recording http live streams (HLS, those streams that work on iOS devices) nicer on a Mac. Script records the stream for a defined period of time and sends the user notifications if anything goes wrong and once it's done.
# required: ffmpeg (e.g. from homebrew), terminal-notifier from https://github.com/alloy/terminal-notifier
# you can schedule this with launchd to run e.g. weekly
# Specify in seconds how long the script should record (default here is 1 hour).
seconds=3600
# Date format for the recording file name
DATE=`date "+%d-%m-%y_%H-%M"`
# start ffmpeg recording