Skip to content

Instantly share code, notes, and snippets.

palaniraja palaniraja

Block or report user

Report or block palaniraja

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@palaniraja
palaniraja / timezone.txt
Created Mar 20, 2016
osx list of timezone - output of command "sudo systemsetup -listtimezones"
View timezone.txt
Africa/Abidjan
Africa/Accra
Africa/Addis_Ababa
Africa/Algiers
Africa/Asmara
Africa/Bamako
Africa/Bangui
Africa/Banjul
Africa/Bissau
Africa/Blantyre
@palaniraja
palaniraja / url.txt
Last active Nov 1, 2019
Chennai FM Radio stations streaming urls
View url.txt
Source: https://www.tamilradios.com
Hello FM 106.4
http://163.172.158.94:8048/;stream.mp3
Radio Mirchi FM 98.3
http://163.172.158.94:8052/;stream.mp3
Big FM 92.7
@palaniraja
palaniraja / merge-mp4.sh
Last active Oct 26, 2019
Bash script to merge all mp4 videos in current directory (recursively 2 levels). It also updates the chapter marks to retain the folder/filename of source dir
View merge-mp4.sh
#!/bin/bash
## Script to merge all mp4 videos in current directory (recursively 2 levels)
## And update chapter marks to retain the folder/filename
## Script for merging videos
filename=`basename pwd`
current=`pwd`
@palaniraja
palaniraja / .jazzy.yaml
Created Jul 3, 2019
output of "jazzy --help config" from jazzy version: 0.9.6
View .jazzy.yaml
By default, jazzy looks for a file named ".jazzy.yaml" in the source
directory and its ancestors. You can override the config file location
with --config.
(The source directory is the current working directory by default.
You can override that with --source-directory.)
The config file can be in YAML or JSON format. Available options are:
@palaniraja
palaniraja / xcode-buildconfig-delete.sh
Created Jun 26, 2019
script to delete unwanted buildconfig from xcodeproj file
View xcode-buildconfig-delete.sh
#!/bin/bash
# get these ids by "grep -B 2 buildConfigurations project.pbxproj"
targets=("040030D22004301100C4B676" "0420B3DA1FD1E91B00F66B8C" "042171FE1F7EB27500B3578D" "0421731D1F7EB3EC00B3578D" "04CD5F511FD0D1650053BE87" "3461E09E1A7BF77600B666A1" "3461E0C21A7BF77600B666A1" "A0D180071F46067500E00C0C")
# get these xcodebuild -project YOURPROJ.xcodeproj -list
configsToSkip=("us-debug" "us-debug-free" "us-release" "us-release-free" )
@palaniraja
palaniraja / pdf2png.wflow
Created Jun 24, 2019
PDF to PNG - OSX Automator - Finder workflow
View pdf2png.wflow
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AMApplicationBuild</key>
<string>444.42</string>
<key>AMApplicationVersion</key>
<string>2.9</string>
<key>AMDocumentVersion</key>
<string>2</string>
@palaniraja
palaniraja / wwdc2013.js
Last active May 25, 2019
WWDC 2013 download goodies.
View wwdc2013.js
jQuery("li.session").each (function(idx, elem){
id = parseInt($(elem).id);
title = jQuery(elem).find('.title').text();
track = jQuery(elem).find('li.track').text();
date = jQuery(elem).find('li.date').text();
as = jQuery(elem).find('p.download a');
hd = sd = pdf = 'NONE AVAILABLE';
@palaniraja
palaniraja / myorg.org
Created Mar 25, 2017
orgmode template for GTD
View myorg.org

Today

Inbox

This Week

ScratchPad

Backlog

Someday

Schedule

@palaniraja
palaniraja / out.html
Last active Mar 12, 2019
Find all the files changed between two commits and cumulated commit messages per file
View out.html
<html><head><style>td{white-space: pre;}</style></head><body><table border=1>
<tr>
<td>File: (file1.txt)</td>
<td>
5755793 commit from master (correct this time)
322afb2 file 1 modified, and to be tagged as v1
</td></tr>
<tr>
<td>File: (file2.txt)</td>
@palaniraja
palaniraja / geektool.shell.sh
Last active Mar 3, 2019
Geek tool scripts I use with my desktop
View geektool.shell.sh
# to list todo's from todotxt file - refersh every 900 sec
cat /Users/palaniraja/Dropbox/Personal/orgmode/todo.txt | grep -v ^x\ | cut -c 12- | awk '{print "* " $0}'
# calendar events - next 5 days grouped by date - refresh every 1800 sec
/usr/local/bin/icalbuddy -nc -sd eventsToday+5
# previous month - refersh every 3600 sec
cal `date -v -1m "+%m %Y"`
You can’t perform that action at this time.