Skip to content

Instantly share code, notes, and snippets.

View shyamz-22's full-sized avatar
💭
🎭Feeling like OIDC ninja

Syamala Umamaheswaran shyamz-22

💭
🎭Feeling like OIDC ninja
View GitHub Profile
goroutine 114951 [running]:
runtime/pprof.writeGoroutineStacks(0x3896620, 0xc0004d2380, 0x0, 0x0)
/usr/local/go/src/runtime/pprof/pprof.go:665 +0x9d
runtime/pprof.writeGoroutine(0x3896620, 0xc0004d2380, 0x2, 0x0, 0xc000ee2000)
/usr/local/go/src/runtime/pprof/pprof.go:654 +0x44
runtime/pprof.(*Profile).WriteTo(0x4b2cfc0, 0x3896620, 0xc0004d2380, 0x2, 0xc0004d2380, 0xc000a079b0)
/usr/local/go/src/runtime/pprof/pprof.go:329 +0x3da
net/http/pprof.handler.ServeHTTP(0xc001733f31, 0x9, 0x38f15a0, 0xc0004d2380, 0xc0006d9d00)
/usr/local/go/src/net/http/pprof/pprof.go:248 +0x33a
net/http/pprof.Index(0x38f15a0, 0xc0004d2380, 0xc0006d9d00)
goroutine 37932 [running]:
runtime/pprof.writeGoroutineStacks(0x3896620, 0xc00115a460, 0x0, 0x0)
/usr/local/go/src/runtime/pprof/pprof.go:665 +0x9d
runtime/pprof.writeGoroutine(0x3896620, 0xc00115a460, 0x2, 0xeb3596, 0xc000732420)
/usr/local/go/src/runtime/pprof/pprof.go:654 +0x44
runtime/pprof.(*Profile).WriteTo(0x4b2cfc0, 0x3896620, 0xc00115a460, 0x2, 0xc00115a460, 0xc0014e39b0)
/usr/local/go/src/runtime/pprof/pprof.go:329 +0x3da
net/http/pprof.handler.ServeHTTP(0xc00123e011, 0x9, 0x38f15a0, 0xc00115a460, 0xc00134e000)
/usr/local/go/src/net/http/pprof/pprof.go:248 +0x33a
net/http/pprof.Index(0x38f15a0, 0xc00115a460, 0xc00134e000)
@shyamz-22
shyamz-22 / fluentlenim.gradle
Created March 3, 2018 08:13
Fluentlenium dependency rabbit hole
testCompile('org.fluentlenium:fluentlenium-junit:3.5.0')
testCompile('org.fluentlenium:fluentlenium-assertj:3.5.0')
testCompile('junit:junit:4.12')
testCompile('org.seleniumhq.selenium:htmlunit-driver:2.29.2')
testCompile 'org.seleniumhq.selenium:selenium-remote-driver:3.9.1'
testCompile 'org.seleniumhq.selenium:selenium-api:3.9.1'
testCompile 'org.seleniumhq.selenium:selenium-chrome-driver:3.9.1'
testCompile 'org.seleniumhq.selenium:selenium-support:3.9.1'
testCompile 'net.sourceforge.htmlunit:htmlunit:2.29'
testCompile 'com.google.guava:guava-gwt:24.0-jre'
@shyamz-22
shyamz-22 / Keybase.txt
Created January 24, 2018 17:36
Keybase
### Keybase proof
I hereby claim:
* I am shyamz-22 on github.
* I am shyamz22 (https://keybase.io/shyamz22) on keybase.
* I have a public key ASCGf8UR3zJV1V9DVQjQgnah8L5CBmTrM3aWLSeS4ktEdAo
To claim this, I am signing this object:
@shyamz-22
shyamz-22 / pre-push.sh
Created January 24, 2018 04:58
pre-push git hook with color formatted status messages
#!/usr/bin/env bash
format() {
local color=$1
local text=$2
case ${color} in
red*)
Message="$(tput setaf 1)$text$(tput sgr 0)"
;;
@shyamz-22
shyamz-22 / download-from-cf.sh
Last active January 23, 2018 20:42
Command line util to download a file from Cloud foundry
#!/usr/bin/env bash
set -e
main() {
if [ "$#" -lt 3 ]; then
echo ""
echo "$(tput setaf 5)Incorrect Usage:$(tput sgr 0) $0 APP_NAME PATH_TO_REMOTE_FILE PATH_TO_DOWNLOAD [APP_INSTANCE_INDEX]"
echo ""
exit 1