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 / .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 /
Created Jun 26, 2019
script to delete unwanted buildconfig from xcodeproj file
# 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 / 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" "">
<plist version="1.0">
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>
<td>File: (file1.txt)</td>
5755793 commit from master (correct this time)
322afb2 file 1 modified, and to be tagged as v1
<td>File: (file2.txt)</td>
palaniraja /
Created Nov 12, 2018
alias - alias from my work machine to refer later (ohmyzsh + few custom)
-='cd -'
1='cd -'
2='cd -2'
3='cd -3'
4='cd -4'
5='cd -5'
palaniraja / app.js
Last active Nov 1, 2018
React native - webview wrapper - keyboard issue
View app.js
* Sample React Native App
* @format
* @flow
import React, {Component} from 'react';
import {StyleSheet, WebView, View, Text, SafeAreaView, KeyboardAvoidingView} from 'react-native';
palaniraja / main.dart
Last active Oct 15, 2018
Flutter - Asynchronous programming snippet
View main.dart
import 'dart:convert';
import 'dart:async';
import 'dart:html';
void main(){
_getIPAddress() {
final url = '';
Future<HttpRequest> request = HttpRequest.request(url);
request.then((value) {
palaniraja / Default.idekeybindings
Last active Aug 20, 2018
xcode - behaviour keybindings from `~/Library/Developer/Xcode/UserData/KeyBindings`
View Default.idekeybindings
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
<key>Menu Key Bindings</key>
<key>Key Bindings</key>
palaniraja /
Created Aug 17, 2018
Twitter data size analysis

twitter.txt is output of df -ah twitter exported data. Removed each ./tweet_media file sizes)

Stats on my account

  45 - Followers
 287 - Following
   2 - Listed
9930 - Tweets  
7527 - Favorites
palaniraja /
Created Jul 26, 2018
PiLapse - Python script to take timelapse
import os
import time
import subprocess
from time import sleep
import random
# Configuration
You can’t perform that action at this time.