See Heroku Platform API for details.
- Config Vars
- Get
curl -n -X GET https://api.heroku.com/apps/${APP_NAME}/config-vars \See Heroku Platform API for details.
curl -n -X GET https://api.heroku.com/apps/${APP_NAME}/config-vars \Measure-Command { Some-Command | Out-Default }参考 Timing a command's execution in PowerShell -- stack overflow
curl -v -H 'Content-Type: application/json; charset=UTF-8' -H 'X-Accept: application/json' -X POST --data-binary @path/to/file.json https://getpocket.com/v3/get| #!/bin/sh | |
| PROJECT=${1:sample} | |
| SBT_VER=0.13.5 | |
| PLAY_VER=2.3.4 | |
| SCALA_VER=2.11.2 | |
| mkdir -p project |
| dir -Directory | % { $d = $_ | |
| move "$d\*" . | |
| rmdir $d | |
| } |
| # powershell -executionPolicy unrestricted -command "ie.ps1" | |
| while($True) { | |
| #$shell = New-Object -COM WScript.Shell | |
| #$ie = $shell.CreateObject("InternetExplorer.Application") | |
| $ie = New-Object -Com InternetExplorer.Application | |
| echo "launching ie" | |
| $ie.navigate2("about:blank") | |
| sleep 1 | |
| $ie.visible=$true |
| #!/bin/bash | |
| vimdir=/usr/share/vim/vim74 | |
| mkdir -p $vimdir/{ftdetect,indent,syntax} | |
| for d in ftdetect indent syntax | |
| do | |
| curl -o $vimdir/$d/scala.vim https://raw.githubusercontent.com/scala/scala-tool-support/master/tool-support/vim/$d/scala.vim | |
| done | |
| for f in html javascript css vb |