Skip to content

Instantly share code, notes, and snippets.

View sanketplus's full-sized avatar
:shipit:
Gotta ship 'em all!

Sanket Patel sanketplus

:shipit:
Gotta ship 'em all!
View GitHub Profile
@sanketplus
sanketplus / vaccine.py
Last active May 3, 2021 12:49
`pip install twilio`
import os
import datetime
import requests
import time
from twilio.rest import Client
account_sid = <SID>
auth_token = <AUTH>
PIN = <PINCODE>

Keybase proof

I hereby claim:

  • I am sanketplus on github.
  • I am sanketplus (https://keybase.io/sanketplus) on keybase.
  • I have a public key ASBPX6CFmpyDHdcof_uXznlGelosk95m0KRZ1p4Mve6jyQo

To claim this, I am signing this object:

@sanketplus
sanketplus / miscdevice.c
Created December 6, 2017 13:21
miscdevice.c
#define DEBUG
#include<linux/init.h>
#include<linux/module.h>
#include<linux/kernel.h>
#include <linux/miscdevice.h>
#include <linux/fs.h>
#include <linux/uaccess.h>
static char message[12] = {0};
static char *id = "7b5250202546";
ambari-server stop
ambari-agent stop
pkill -9 java
#################################
# Remove Packages
################################
yum -y remove ambari-\*
yum -y remove hcatalog\*
yum -y remove hive\*
@sanketplus
sanketplus / prompt.fish
Created October 3, 2016 08:11
fish prompt with user@host <full_cwd> <git>
function fish_prompt --description 'Write out the prompt'
#Save the return status of the previous command
set stat $status
# Just calculate these once, to save a few cycles when displaying the prompt
if not set -q __fish_prompt_hostname
set -g __fish_prompt_hostname (hostname|cut -d . -f 1)
end
if not set -q __fish_prompt_normal