Skip to content

Instantly share code, notes, and snippets.


Kaji Bikash kajisaap

Block or report user

Report or block kajisaap

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:ef7a06d712d8b71897119ada01115633
"एक कविता"
‘भोक लाग्यो’ ठिटोप्रति
न गाँसको प्रबन्ध
न बासको प्रबन्ध
बाँचेकै छ
हुर्केकै छ
यो मगन्ते ठिटो
नयाँ सडकको पेटीमा
usage() { echo "Usage: $0 github-username" 1>&2; exit 1; }
if [ $# -lt "1" ]; then
kajisaap / nginx.conf
Created Sep 24, 2015 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here
View nginx.conf
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
kajisaap / com.kajisaap.boot2docker.timesync.plist
Last active Aug 29, 2015
A way to resolve time drift between dockerVM and OSX
View com.kajisaap.boot2docker.timesync.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
# Set the ROOM_ID(This can be room name as well) & AUTH_TOKEN variables below.
# Further instructions at
MESSAGE="Hello world!"
curl -H "Content-Type: application/json" \
View nginx-cors.conf
# A CORS (Cross-Origin Resouce Sharing) config for nginx
# == Purpose
# This nginx configuration enables CORS requests in the following way:
# - enables CORS just for origins on a whitelist specified by a regular expression
# - CORS preflight request (OPTIONS) are responded immediately
# - Access-Control-Allow-Credentials=true for GET and POST requests
#!/usr/bin/env python
import os
import sys
import getopt
from sys import stderr
import boto.ec2
You can’t perform that action at this time.