Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View soubhikchatterjee's full-sized avatar
🎯
Focusing

Soubhik Chatterjee soubhikchatterjee

🎯
Focusing
View GitHub Profile
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.
@soubhikchatterjee
soubhikchatterjee / debug.php
Last active November 28, 2016 09:55
Debugging helper functions for your php code. Easy to write prd() instead of echo '<pre>'; print_r(); echo '</pre>'; die;
<?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 = '')
{
@soubhikchatterjee
soubhikchatterjee / functions.php
Created January 21, 2017 05:34
Quick Debugging Functions for your PHP Application
/**
* 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";
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 / timezones.js
Created July 10, 2019 07:20 — forked from themeteorchef/timezones.js
Array of timezones as objects, sorted by offset and name.
[
  {
    "offset": "GMT-12:00",
    "name": "Etc/GMT-12"
  },
  {
    "offset": "GMT-11:00",
    "name": "Etc/GMT-11"
  },
  {
[
{ 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 / Country Currency Codes JSON
Last active February 25, 2021 09:14 — forked from grosscorporation/Country Currency Codes JSON
currency symol, name, plural, and decimal digits for all major and minor currencies
[
{
"USD" : {
"symbol" : "$",
"name" : "US Dollar",
"symbol_native" : "$",
"decimal_digits" : 2,
"rounding" : 0,
"code" : "USD",
"name_plural" : "US dollars"