Skip to content

Instantly share code, notes, and snippets.

View cantgis's full-sized avatar

Cantgis cantgis

  • BM
  • Beijing, China
View GitHub Profile
@cantgis
cantgis / curl.md
Created September 26, 2018 10:28 — forked from subfuzion/curl.md
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.

@cantgis
cantgis / GitHub Example for 51cto
Last active August 29, 2015 14:02
GitHub Example for 51cto
<#
.Synopsis
Short description
.DESCRIPTION
Long description
.EXAMPLE
Example of how to use this cmdlet
.EXAMPLE
Another example of how to use this cmdlet
#>
@cantgis
cantgis / remote client
Created May 29, 2014 08:29
Quickly extract information from remote client
Function Get-DiskInfo
{
Param(
$ComputerName = $env:COMPUTERNAME,
[Switch]$PassThru
)
Function Get-ColorSplat
{
# Create color Splats