Skip to content

Instantly share code, notes, and snippets.

View saxenap's full-sized avatar

Praveen Saxena saxenap

  • West Lafayette, IN
View GitHub Profile
@saxenap
saxenap / currency-symbols.xml
Last active September 15, 2015 18:20 — forked from bzerangue/currency-symbols.xml
World currencies with their symbols
<?xml version="1.0" encoding="UTF-8"?>
<!--
## SOURCE: xe.com
-->
<currency-symbol count="115">
<entry code="ALL" unicode-decimal="76, 101, 107" unicode-hex="4c, 65, 6b">Albania Lek</entry>
<entry code="AFN" unicode-decimal="1547" unicode-hex="60b">Afghanistan Afghani</entry>
<entry code="ARS" unicode-decimal="36" unicode-hex="24">Argentina Peso</entry>
<entry code="AWG" unicode-decimal="402" unicode-hex="192">Aruba Guilder</entry>
<entry code="AUD" unicode-decimal="36" unicode-hex="24">Australia Dollar</entry>
@saxenap
saxenap / world-currency-list.xml
Last active September 15, 2015 18:20 — forked from bzerangue/world-currency-list.xml
World currencies list source from themoneyconverter.com. With name of currency, currency code, (unicode symbols for those available), and rss feed locations.
<?xml version="1.0" encoding="UTF-8"?>
<currency source-url="http://themoneyconverter.com">
<entry code="ARS" feed-location="/rss-feed/ARS/rss.xml">
<name>Argentine Peso</name>
<unicode>
<decimal>36</decimal>
<hex>24</hex>
</unicode>
</entry>
<entry code="AWG" feed-location="/rss-feed/AWG/rss.xml">
@saxenap
saxenap / us-states-and-counties.xml
Last active September 15, 2015 18:20 — forked from bzerangue/us-states-and-counties.xml
US States and Counties in XML and YAML format
<?xml version="1.0" encoding="utf-8"?>
<states updated="2007-10-17">
<state>
<name>Alabama</name>
<abv>AL</abv>
<counties>
<county>Autauga County</county>
<county>Baldwin County</county>
<county>Barbour County</county>
<county>Bibb County</county>
@saxenap
saxenap / 0_reuse_code.js
Last active August 29, 2015 14:23
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console

(This is the text of the keynote I gave at Startup Riot 2009. Will update when video becomes available.)

Hi everyone, I'm Chris Wanstrath, and I'm one of the co-founders of GitHub.

GitHub, if you haven't heard of it, has been described as "Facebook for developers." Which is great when talking about GitHub as a website, but not so great when describing GitHub as a business. In fact, I think we're the polar opposite of Facebook as a business: we're small, never took investment, and actually make money. Some have even called us successful.

Which I've always wondered about. Success is very vague, right? Probably even relative. How do you define it?

After thinking for a while I came up with two criteria. The first is profitability. We employ four people full time, one person part time, have thousands of paying customers, and are still growing. In fact, our rate of growth is increasing - which means January was our best month so far, and February is looking pretty damn good.

<?php
//much of this borrowed from the amazon documentation
//http://docs.amazonwebservices.com/amazondynamodb/latest/developerguide/LowLevelPHPTableOperationsExample.html
require_once('include.php');
$response = $dynamoDB->query(array(
'TableName' => $properties["table"]["TableName"]
, 'HashKeyValue' => array(
$properties["table"]["KeySchema"]["HashKeyElement"]["AttributeType"]
=> $hashKey )

Awesome PHP Libraries

A list of amazingly awesome PHP libraries that you should be using: