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 / console.log
Created Mar 24, 2014
iOS provisioning hell
View console.log
installd[17] <Error>: entitlement 'keychain-access-groups' has value not permitted by provisioning profile
# I forgot to remove the entitlements U have added years ago when iCloud was new, shiny and full of hope.I
@palaniraja
palaniraja / sf1.page
Last active Aug 29, 2015
Salesforce1, YOU. ME. OUTSIDE NOW! (weird issues with html form elements with jquery mobile)
View sf1.page
<apex:page docType="html-5.0" standardController="Account" showHeader="false" sidebar="false" standardStylesheets="true" applyHtmlTag="false" applyBodyTag="false" >
<link rel="stylesheet" href="https://code.jquery.com/mobile/1.4.2/jquery.mobile-1.4.2.min.css" />
<script src="https://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="https://code.jquery.com/mobile/1.4.2/jquery.mobile-1.4.2.min.js"></script>

<body>
@palaniraja
palaniraja / Tinderizer-Bookmarklet.js
Last active Aug 29, 2015
Tinderizer - Send to kindle bookmarklet
View Tinderizer-Bookmarklet.js
javascript: (function () {
var setupDiv = function () {
var id = 'Tinderizer';
var div = document.getElementById(id);
var body = document.getElementsByTagName('body')[0];
if (null != div) {
body.removeChild(div);
}
div = document.createElement('div');
div.id = id;
@palaniraja
palaniraja / Readme.md
Created May 12, 2014
Check city or country for list of IP using ipinfo.io
View Readme.md

To find country names of all the ips in ips.txt

./ipinfo.sh country ips.txt will append all the countries to a out.txt file

cat out.txt | sort u will list all unique countries/list from the list

To find city names of all the ips in ips.txt

./ipinfo.sh city ips.txt

@palaniraja
palaniraja / kingfisher.svg
Created May 17, 2014
Kingfisher - silhouette
View kingfisher.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View wwdc-2014.js
var wwdcSessions = [];
jQuery('li.session').each(function(){
var sessionId = parseInt(jQuery(this).attr('id'));
var sessionDetails = [];
jQuery(this).find('ul').first().children('li').each(function(){
sessionDetails.push(this.innerText);
});
// console.log(sessionDetails);
@palaniraja
palaniraja / beam.cpp
Created Jul 20, 2014
Post values from sparkcore
View beam.cpp
// Message to post
char msg[] = "Message from spark core";
#include <string.h>
#define LIB_DOMAIN "mighty-island-9691.herokuapp.com"
TCPClient client;
// EXAMPLE USAGE
//http://mighty-island-9691.herokuapp.com/?val=valueFromDevice
void setup()
{
View hello.html
<!DOCTYPE html>
<html manifest="cache.appcache">
<head>
<title>Hello world app</title>
<meta charset="utf-8">
@palaniraja
palaniraja / flip.html
Last active Aug 29, 2015
Flipping card with css3 3d
View flip.html
<!DOCTYPE html>
<html>
<head>
<title>Backface</title>
<style type="text/css">
body{
margin-top: 100px;
}
#container{
background-color: lightblue;
You can’t perform that action at this time.