Skip to content

Instantly share code, notes, and snippets.

Prakash Kumar Chakka prakash122

Block or report user

Report or block prakash122

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 stocks.json
[
"NSE:NCC",
"NSE:SHALPAINTS"
]
@prakash122
prakash122 / nginx-cors.conf
Created Jul 5, 2017 — forked from algal/nginx-cors.conf
nginx configuration for CORS (Cross-Origin Resource Sharing), with an origin whitelist, and HTTP Basic Access authentication allowed
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
@prakash122
prakash122 / .zshrc
Created May 14, 2017
Shell shortcuts
View .zshrc
# GIT Commands
alias gpl="git pull"
alias gsh="git stash"
alias gsp="git stash pop"
alias gci="git commit"
alias gd="git diff"
alias gpu="git push"
#NPM Commands
View designer.html
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../topeka-elements/category-images.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-calculator/paper-calculator.html">
<polymer-element name="my-element">
View udp_hole_punch_tester.py
#!/usr/bin/env python
#
# udp_hole_punch_tester.py - UDP Hole Punching test tool
#
# Usage: udp_hole_punch_tester.py remote_host remote_port
#
# Run this script simultaneously on 2 hosts to test if they can punch
# a UDP hole to each other.
#
# * remote_port should be identical on 2 hosts.
You can’t perform that action at this time.