Skip to content

Instantly share code, notes, and snippets.

@khanani92
khanani92 / CountryCodes.json
Created January 20, 2020 07:33 — forked from anubhavshrimal/CountryCodes.json
Country and Dial or Phone codes in JSON format
[
{
"name": "Afghanistan",
"dial_code": "+93",
"code": "AF"
},
{
"name": "Aland Islands",
"dial_code": "+358",
"code": "AX"
@khanani92
khanani92 / Node.js Gist
Created July 28, 2016 12:33
Node.js Gist User Services
/*
All the method relative to the user
*/
module.exports = function(app, q) {
var User = app.db.User,
jwt = require('jsonwebtoken');
app.services._guestLogin = function(payload){
var deferred = q.defer();
@khanani92
khanani92 / commands.sh
Created April 27, 2016 19:52
restore Upwork on Ubuntu 14.04
# Problem package: https://launchpad.net/ubuntu/+source/nss
# Repository of package releases: http://security.ubuntu.com/ubuntu/pool/main/n/nss
#
# NOTE: This recipe tested only for ubuntu 14.04 32 bit
# Open ubuntu terminal, copy and paste and run commands below
# Check your ubuntu version
lsb_release -a
# Download old version of nss libraries