Skip to content

Instantly share code, notes, and snippets.

Marc Lambert Agas marcagas

Block or report user

Report or block marcagas

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View sample_num_memoization
class Num
extend Memoist
def sample_num
Random.rand(100)
end
memoize :sample_num
class << self
@marcagas
marcagas / curl.md
Created Feb 15, 2018 — forked from marc-agas/curl.md
curl POST examples
View curl.md

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.

You can’t perform that action at this time.