Skip to content

Instantly share code, notes, and snippets.

Mahmood Ali notnoop

Block or report user

Report or block notnoop

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
notnoop / cmd_test.go
Created Apr 1, 2019
testing command behavior
View cmd_test.go
package main
import (
notnoop /
Created Nov 21, 2018
illustrating job run behavior after completion with Nomad 0.8.2
root@cc8ad15fa0f9:/tmp/jobs# cat ./test.nomad
job "test"
datacenters = ["dc1"]
type = "batch"
task "diamondbcapacitycollector"
driver = "exec"
notnoop / lift-webkit-trace.txt
Created May 7, 2011
Stacktrace for errors related to lift-webkit copy resources
View lift-webkit-trace.txt
[info] == lift-webkit / copy-resources ==
at java.util.Stack.peek(
at net.liftweb.sbt.YuiCompressor$$anonfun$net$liftweb$sbt$YuiCompressor$$compressJs$2.apply(YuiCompressor.scala:130)
at net.liftweb.sbt.YuiCompressor$$anonfun$net$liftweb$sbt$YuiCompressor$$compressJs$2.apply(YuiCompressor.scala:129)
at sbt.Control$.trapUnit(Control.scala:19)
at net.liftweb.sbt.YuiCompressor$$liftweb$sbt$YuiCompressor$$compressJs(YuiCompressor.scala:129)
notnoop / ProtoUserSpec.scala
Created May 2, 2011
Sample case to show an infinite recursion in ProtoUser
View ProtoUserSpec.scala
package code
import org.specs._
import net.liftweb.common._
import net.liftweb.record._
// Please note that program compiles without me providing a save method!
class User extends MegaProtoUser[User] with Record[User] {
def meta = User
import java.util.concurrent.Semaphore;
* Unit test for detecting connection drops while transmitting
* packets.
* In this test, the server closes a connection while the client
* is transmitting data. The expected behavior is for the client
You can’t perform that action at this time.