Skip to content

Instantly share code, notes, and snippets.

View palaniraja's full-sized avatar

palaniraja palaniraja

View GitHub Profile
@palaniraja
palaniraja / console.log
Created March 24, 2014 01:17
iOS provisioning hell
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 August 29, 2015 14:00
Salesforce1, YOU. ME. OUTSIDE NOW! (weird issues with html form elements with jquery mobile)
<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 / Readme.md
Created May 12, 2014 09:42
Check city or country for list of IP using ipinfo.io

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 17:59
Kingfisher - silhouette
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 July 20, 2014 13:02
Post values from sparkcore
// 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()
{
@palaniraja
palaniraja / hello.html
Created August 1, 2014 04:35
minimal ui
<!DOCTYPE html>
<html manifest="cache.appcache">
<head>
<title>Hello world app</title>
<meta charset="utf-8">
@palaniraja
palaniraja / flip.html
Last active August 29, 2015 14:04
Flipping card with css3 3d
<!DOCTYPE html>
<html>
<head>
<title>Backface</title>
<style type="text/css">
body{
margin-top: 100px;
}
#container{
background-color: lightblue;
@palaniraja
palaniraja / index.html
Created August 18, 2014 15:24
A Pen by Palaniraja.
<div id="outer">
<div id="inner">
this is the inner text <br> second line can be added.
<div class="date">16-aug-2014</div>
</div>
</div>