Skip to content

Instantly share code, notes, and snippets.


Vizay Soni vs4vijay

View GitHub Profile
vs4vijay /
Created Oct 3, 2022 — forked from JoeyBurzynski/
58 bytes of css to look great nearly everywhere

58 bytes of CSS to look great nearly everywhere

When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:

main {
  max-width: 38rem;
  padding: 2rem;
  margin: auto;
vs4vijay / Docker-Alternatives
Last active Sep 1, 2022
Windows Docker Alternatives
View Docker-Alternatives
# OPTION-I: Using Containerd with nerdctl on WSL
- Start WSL2
- Install `containerd` - sudo apt install containerd
- Run `sudo /etc/init.d/docker start` # systemd is not available on WSL, use this Step
- OR
- Run `containerd` - `sudo systemctl enable --now containerd`
- Install nerdctl - `wget`
- `nerdctl run -it --rm nginx`
View viz-metadata.json
"name": "Viz Pool",
"description": "A Cardano Pool on Testnet",
"ticker": "VIZ",
"homepage": ""
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:
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 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