Skip to content

Instantly share code, notes, and snippets.

@chilkari
chilkari / specializedCSVparsing
Created December 29, 2021 16:23
TDM CSV parsing in cold fusion - https://cffiddle.org/ for testing
<cfhttp url="https://www.adobe.com"
method="get" result="httpResp" timeout="120">
<cfhttpparam type="header" name="Content-Type" value="application/json" />
</cfhttp>
<cfsavecontent variable="csvData">
1,tdm
2,classic
3,tdm
4, classic
### Keybase proof
I hereby claim:
* I am chilkari on github.
* I am chilkari (https://keybase.io/chilkari) on keybase.
* I have a public key ASBEOxgKuCspxsnIbBaWd3QqyFfCIJv8zKkmEYQTxZ-sKwo
To claim this, I am signing this object:
@chilkari
chilkari / ffmpeg_capture_transcode.sh
Created December 1, 2011 07:54
ffmpeg for screencapture and transcode on linux
# Not really polished sh scripts. Following are two separate commands I use to capture, then
# transcode screen captures.
# Capture. Notice 640x480 for window size (you'll probably want to change) and the +0,264 for where to grab.
# As you can see, I save into my $HOME/screencap dir. These are essentially uncompressed audio/video.
#/bin/sh
ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 640x480 -i :0.0+0,264 -acodec pcm_s16le -vcodec libx264 -vpre lossless_ultrafast -threads 0 $HOME/screencap/cap.mkv