This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
taskkill /f /im explorer.exe | |
explorer.exe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bytes" | |
"log" | |
"os" | |
"os/exec" | |
"syscall" | |
"github.com/cloudfoundry/gosigar/psnotify" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
TMP_DIR="$(mktemp -d -t subshells.XXXXXXXXXX)" | |
function cleanup { | |
rm -rf "${TMP_DIR}" | |
} | |
trap cleanup EXIT | |
PIDS=() | |
for i in 1 2 3; do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
convertToKb() { | |
data="$1" | |
unit="${data//[0-9]/}" | |
value="${data//[!0-9]}" | |
converted="ERROR" | |
case $unit in | |
k | K) | |
converted="$value" | |
;; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Burndown chart | |
VersionOne | |
Jira | |
Velocity Chart | |
Scrum | |
Ideal Day | |
Meaningful backlogs | |
Prioritize epic | |
Agile | |
Tells the story |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.List; | |
import java.util.concurrent.*; | |
// SOURCE: http://stackoverflow.com/q/2758612 | |
public class TimeoutThreadPoolExecutor extends ThreadPoolExecutor { | |
private final long timeout; | |
private final TimeUnit timeoutUnit; | |
private final ScheduledExecutorService timeoutExecutor = Executors.newSingleThreadScheduledExecutor(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/groovy | |
import groovy.io.FileType | |
def optimize(inGif, outDir) { | |
def cmd = "gifsicle --colors 256 -O3 ${inGif.path} -o ${outDir.path}\\${inGif.name}" | |
//println cmd | |
def proc = cmd.execute() | |
proc.text.eachLine {println it} | |
def exitValue = proc.exitValue() |