Skip to content

Instantly share code, notes, and snippets.

View mastindersingh's full-sized avatar

mastinder singh mastindersingh

  • india
View GitHub Profile
@mastindersingh
mastindersingh / web-servers.md
Created April 18, 2017 03:53 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@mastindersingh
mastindersingh / shachk.php
Created April 18, 2017 03:49 — forked from dwclifton/shachk.php
PHP/Perl/Python scripts to calculate or compare the SHA1 digest for a file
#!/usr/bin/env php
<?php
/* ~/bin/shachk.php -- calculate or compare the SHA1 digest for a file
gory details are at: http://www.isi.edu/in-notes/rfc3174.txt
(cc) Copyright 2004-2008, Douglas W. Clifton, some rights reserved.
for more copyright information visit the following URI:
http://loadaveragezero.com/info/copyright.php */
@mastindersingh
mastindersingh / shachk.php
Created April 18, 2017 03:49 — forked from dwclifton/shachk.php
PHP/Perl/Python scripts to calculate or compare the SHA1 digest for a file
#!/usr/bin/env php
<?php
/* ~/bin/shachk.php -- calculate or compare the SHA1 digest for a file
gory details are at: http://www.isi.edu/in-notes/rfc3174.txt
(cc) Copyright 2004-2008, Douglas W. Clifton, some rights reserved.
for more copyright information visit the following URI:
http://loadaveragezero.com/info/copyright.php */
@mastindersingh
mastindersingh / README.md
Created March 17, 2017 20:58 — forked from warmfusion/README.md
stash-pull-requests widget for Dashing

Description

Simple Dashing widget (and associated job) to display open pull requests for a specific Project and/or repository from Atlassian Stash

See the example.png below for an idea on how this widget looks on a dashboard.

Dependencies

None