Skip to content

Instantly share code, notes, and snippets.

@sj26
sj26 / LICENSE.md
Last active March 8, 2024 18:31
Bash retry function

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit

@subfuzion
subfuzion / curl.md
Last active May 1, 2024 18:04
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@hayderimran7
hayderimran7 / suseeeeee
Created May 19, 2015 21:16
Install vagrant + virtualbox on opensuse
Heaven forbid if u are using "basic" OS like OpenSuse , as i have been sturggling with it.. :(
i feel like a lot gists will go on my experiences with this terrible OS ..thanks openSuSE ..
ok here is how u install vagrant and virtualbox on SUSE based OS in the right way ..
======================
1.install virtualbox4.3
@cjaoude
cjaoude / gist:fd9910626629b53c4d25
Last active May 1, 2024 08:22
Test list of Valid and Invalid Email addresses
Use: for testing against email regex
ref: http://codefool.tumblr.com/post/15288874550/list-of-valid-and-invalid-email-addresses
List of Valid Email Addresses
email@example.com
firstname.lastname@example.com
email@subdomain.example.com
firstname+lastname@example.com
@benknight
benknight / gist:6575768
Last active December 23, 2015 03:49
Create a notepad in a browser tab bookmarklet.
Drag me to the bookmark bar:<br>
<a href="data:text/html, <body contenteditable style='font-family:Monaco,monospace;font-size:2rem;line-height:1.4;max-width:60rem;margin:0 auto;padding:4rem;'>">Notpad</a>