Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Soubhik Chatterjee soubhikchatterjee

🎯
Focusing
View GitHub Profile
View locales.js
[
{ af: "Afrikaans" },
{ af_NA: "Afrikaans (Namibia)" },
{ af_ZA: "Afrikaans (South Africa)" },
{ ak: "Akan" },
{ ak_GH: "Akan (Ghana)" },
{ sq: "Albanian" },
{ sq_AL: "Albanian (Albania)" },
{ sq_XK: "Albanian (Kosovo)" },
{ sq_MK: "Albanian (Macedonia)" },
@soubhikchatterjee
soubhikchatterjee / timezones.js
Created Jul 10, 2019 — forked from themeteorchef/timezones.js
Array of timezones as objects, sorted by offset and name.
View timezones.js
[
  {
    "offset": "GMT-12:00",
    "name": "Etc/GMT-12"
  },
  {
    "offset": "GMT-11:00",
    "name": "Etc/GMT-11"
  },
  {
@soubhikchatterjee
soubhikchatterjee / Country Currency Codes JSON
Last active Feb 25, 2021 — forked from grosscorporation/Country Currency Codes JSON
currency symol, name, plural, and decimal digits for all major and minor currencies
View Country Currency Codes JSON
[
{
"USD" : {
"symbol" : "$",
"name" : "US Dollar",
"symbol_native" : "$",
"decimal_digits" : 2,
"rounding" : 0,
"code" : "USD",
"name_plural" : "US dollars"
View Locales
var LANGUAGE_BY_LOCALE = {
af_NA: "Afrikaans (Namibia)",
af_ZA: "Afrikaans (South Africa)",
af: "Afrikaans",
ak_GH: "Akan (Ghana)",
ak: "Akan",
sq_AL: "Albanian (Albania)",
sq: "Albanian",
am_ET: "Amharic (Ethiopia)",
am: "Amharic",
@soubhikchatterjee
soubhikchatterjee / functions.php
Created Jan 21, 2017
Quick Debugging Functions for your PHP Application
View functions.php
/**
* Print with formatting and Die. Used for debugging purpose.
*
* @author Soubhik Chatterjee
* @param string $text
* @param string $label
*/
function prd($text = '', $label = ''){
echo '<pre>',"\n";
@soubhikchatterjee
soubhikchatterjee / debug.php
Last active Nov 28, 2016
Debugging helper functions for your php code. Easy to write prd() instead of echo '<pre>'; print_r(); echo '</pre>'; die;
View debug.php
<?php
/**
* Print with formatting and Die. Used for debugging purpose.
*
* @author Soubhik Chatterjee <soubhik@chatterjee.pw>
* @param string $text
* @param string $label
*/
function prd($text = '', $label = '')
{
View product installation
Installation Steps
==================
----------
Step 1. Downloading the webserver.
----------------------------------
We use WAMP Server as our primary web server software to run our Portal on our local system. You can download the same from http://www.wampserver.com/en/. If you are running a 32-bit Windows system make sure you choose the correct setup package.