- Created full fledged tool to manage ssl certificates for their cluster of servers.
- Automated distribution of Jenkins config changes using python.
- Wrote code in groovy to do api health-checks.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
{% block body %} | |
<head> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> | |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> | |
<title>ProMon</title> | |
<link rel="stylesheet" href="../static/styles.css" type="text/css" /> | |
<!-- <script src="../static/js/form1.js"></script> --> | |
<script src="{{ url_for('static', filename='js/form.js') }}"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Shoe": [ | |
{ | |
"Women": [ | |
{ | |
"Sandals": [ | |
{ | |
"Slide": [ | |
{ | |
"id": "1", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://flask.pocoo.org/docs/0.12/becomingbig/#becomingbig | |
http://flask.pocoo.org/docs/0.12/design/ | |
https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-xv-ajax | |
http://flask.pocoo.org/snippets/98/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $OpenBSD: sshd_config,v 1.101 2017/03/14 07:19:07 djm Exp $ | |
# This is the sshd server system-wide configuration file. See | |
# sshd_config(5) for more information. | |
# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin | |
# The strategy used for options in the default sshd_config shipped with | |
# OpenSSH is to specify options with their default value where | |
# possible, but leave them commented. Uncommented options override the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess | |
import os | |
while(1): | |
r=subprocess.check_output(['who','-u']) | |
s1=r.split("\n") | |
for x in s1: | |
s2=x.split(" ") | |
if(len(s2[5])==18): | |
s3=s2[5] | |
s4=s3.split(" ") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def check_descending(l): | |
for i in range(len(l)-1,0,-1): | |
if l[i] > l[i-1]: | |
break | |
print (i) | |
return i | |
def main_next(l): | |
i=check_descending(l) | |
if(i==1): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
├── admin # this contained business logic for admin users. Seperated using blueprints. | |
│ ├── 2111.csv | |
│ ├── admin.py | |
│ ├── bugzilla.py # this was that bugzilla scraper to scrape | |
│ ├── gemail.py #this was used to mail | |
│ ├── github.py # this was used to scrape issues from github wrt keywords. It was kind of scraping api. | |
│ └── __init__.py | |
├── guideline | |
├── __init__.py | |
├── install.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Hello World</title> | |
<script src="https://unpkg.com/react@16/umd/react.development.js"></script> | |
<script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script> | |
<!-- Don't use this in production: --> | |
<script src="https://unpkg.com/[email protected]/babel.min.js"></script> |