Skip to content

Instantly share code, notes, and snippets.


Vizay Soni vs4vijay

Block or report user

Report or block vs4vijay

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:bf4d49dce1321b023a07e9c1f807389e
### Keybase proof
I hereby claim:
* I am vs4vijay on github.
* I am vs4vijay ( on keybase.
* I have a public key ASBV_u_0IvkkCaNqzD09urK2ioS-zpwABimqh0UmjFurpgo
To claim this, I am signing this object:
View IL - Filter Options.js
"customers": [
"name": "Customer 1",
"number": 7000,
"sites": [
"name": "Site 1",
"country": "India",
"city": "Delhi",
vs4vijay / sms_rules.json
Created Apr 18, 2017
Jio SMS Rules JSON
View sms_rules.json
"blacklist_regex": "(?i).*[^a-z](password|otp|verification|activation|passcode)[^a-z].*",
"min_app_version": "131",
"rules": [
"name": "Airtel",
"telco": true,
"patterns": [
"regex": "(?i)Bill.*\\sfor\\sRs.\\s?([\\d,\\,]*(?:.\\d{2})?).*mobile\\s?(\\d{10})?.*Due\\sDate:\\s?([\\d,\\-,A-Z]*)",
vs4vijay / latency.txt
Created Nov 17, 2016 — forked from jboner/latency.txt
Latency Numbers Every Programmer Should Know
View latency.txt
Latency Comparison Numbers
L1 cache reference 0.5 ns
Branch mispredict 5 ns
L2 cache reference 7 ns 14x L1 cache
Mutex lock/unlock 25 ns
Main memory reference 100 ns 20x L2 cache, 200x L1 cache
Compress 1K bytes with Zippy 3,000 ns 3 us
Send 1K bytes over 1 Gbps network 10,000 ns 10 us
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD
View preprocessor_fun.h
// Just before switching jobs:
// Add one of these.
// Preferably into the same commit where you do a large merge.
// This started as a tweet with a joke of "C++ pro-tip: #define private public",
// and then it quickly escalated into more and more evil suggestions.
// I've tried to capture interesting suggestions here.
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_,
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant,
View gist:8af170d03525bd6a623b
// Source:!topic/angular/hVrkvaHGOfc
// jsFiddle:
// author: Pawel Kozlowski
var myApp = angular.module('myApp', []);
//service style, probably the simplest one
myApp.service('helloWorldFromService', function() {
this.sayHello = function() {
return "Hello, World!"
View gist:0f82565bbcdea21338ae
function decrypt(input1,input2)
var encText = input1.split(' ');
var flag=false;
for(var i=1; i <= 26; i++) {
var decText = "";
for(var encWordIndex in encText) {
var encWord = encText[encWordIndex];
var decWord = "";
//return encWord;
# Author = Nikhil Venkat Sonti
# email =
# github ID = shadowfax92
import sys
from xml.dom.minidom import _get_StringIO
from lxml import html
import requests
import os
import re
import time
View app.yaml
application: you-app-name-here
version: 1
runtime: python
api_version: 1
default_expiration: "30d"
- url: /(.*\.(appcache|manifest))
mime_type: text/cache-manifest
View Viz-Note-Frostic.markdown
You can’t perform that action at this time.