Skip to content

Instantly share code, notes, and snippets.

View oyearunpal's full-sized avatar
:octocat:
On GitHub after a long time!

Arun Pal oyearunpal

:octocat:
On GitHub after a long time!
View GitHub Profile
@oyearunpal
oyearunpal / get_covid_slotCurl.py
Last active May 8, 2021 04:30
Find if there is any covid slot available
from datetime import datetime
import requests
import pandas as pd
import ast
import json
import sys
import subprocess
import os
# mail part will only work if you have smtp setup available
#sys.path.insert(1,'/home/arun/scripts/')
@oyearunpal
oyearunpal / get_covid_slot.py
Last active May 7, 2021 06:54
Get available covid slot available.
from datetime import datetime
import requests
import pandas as pd
import ast
import json
date=datetime.now().strftime("%d-%m-%Y")
by_pincode_url="https://cdn-api.co-vin.in/api/v2/appointment/sessions/public/calendarByPin?pincode=400059&date=03-05-2021"
mumbai_district="395"
min_age=18
alias pgr='ps -ef | grep '
alias l='ls -lrt'
alias cronjob="crontab -l | grep -v '^#'"
alias usefulProcess="ps -ef | awk '$1!~/^root|^avahi|^systemd|^daemon|^syslog|^message|^whoopsie|^gdm|^rtkit|^colord|^chronog|^kernoops|^ntp/ && $8!~/^\/lib\/systemd\/systemd|^tmux|^sshd|^\(sd/ {if ($6 ~ /?/) print $0}'"
alias vimd="vim -u ~/.vimrc_back"
$1 = (std::ofstream &) @0xf1a238: {
<std::basic_ostream<char, std::char_traits<char> >> = {
<std::basic_ios<char, std::char_traits<char> >> = <invalid address>,
members of std::basic_ostream<char, std::char_traits<char> >:
_vptr.basic_ostream = 0x3132300000eccd50
},
members of std::basic_ofstream<char, std::char_traits<char> >:
_M_filebuf = {
<std::basic_streambuf<char, std::char_traits<char> >> = {
_vptr.basic_streambuf = 0xe27869662e2a2f31,
0 info it worked if it ends with ok
1 verbose cli [ 'I:\\node.js\\\\node.exe',
1 verbose cli 'I:\\node.js\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install',
1 verbose cli '-g',
1 verbose cli 'gulp',
1 verbose cli 'bower' ]
2 info using [email protected]
3 info using [email protected]
4 verbose install initial load of C:\Users\Meet\AppData\Roaming\npm\package.json
<link rel="import" href="../topeka-elements/theme.html">
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-app.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
@oyearunpal
oyearunpal / designer.html
Last active August 29, 2015 14:14
designer
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-progress/paper-progress.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../paper-toast/paper-toast.html">
<link rel="import" href="../../salesforce/mobile-ui-elements/elements/force-sobject/force-sobject.html">
<link rel="import" href="../../salesforce/s1-elements/scaffold/s1AppScaffold.html">
<link rel="import" href="../../salesforce/s1-elements/scaffold/s1PageContainer.html">
<link rel="import" href="../../salesforce/s1-elements/s1StagedNavigationStageLeft.html">
<link rel="import" href="../../salesforce/s1-elements/s1StagedNavigationNotifications.html">
<link rel="import" href="../../salesforce/s1-elements/s1AnchorLightDefault.html">