I hereby claim:
- I am eltimn on github.
- I am eltimn (https://keybase.io/eltimn) on keybase.
- I have a public key whose fingerprint is 90A7 48F6 12C4 66DD 4AFC B8B3 AF3B 2EC1 8410 97E9
To claim this, I am signing this object:
// Chi-like syntactic sugar layer on top of stdlib http.ServeMux. | |
package main | |
import ( | |
"net/http" | |
"slices" | |
) | |
type ( | |
middleware func(http.Handler) http.Handler |
Running from: /usr/share/jenkins/jenkins.war | |
May 18, 2016 3:19:36 PM org.eclipse.jetty.util.log.JavaUtilLog info | |
INFO: Logging initialized @458ms | |
May 18, 2016 3:19:36 PM winstone.Logger logInternal | |
INFO: Beginning extraction from war file | |
May 18, 2016 3:19:36 PM org.eclipse.jetty.util.log.JavaUtilLog warn | |
WARNING: Empty contextPath | |
May 18, 2016 3:19:36 PM org.eclipse.jetty.util.log.JavaUtilLog info | |
INFO: jetty-9.2.z-SNAPSHOT | |
May 18, 2016 3:19:37 PM org.eclipse.jetty.util.log.JavaUtilLog info |
package code | |
import java.net.{InetAddress, InetSocketAddress} | |
import org.eclipse.jetty.server.Server | |
import org.eclipse.jetty.webapp.WebAppContext | |
import org.slf4j.LoggerFactory | |
import net.liftweb.util.Props |
I hereby claim:
To claim this, I am signing this object:
object enumFieldArray extends MongoListField[SomeEntity, Enum](this) { | |
val enum = SomeEnum | |
override def asDBObject: DBObject = { | |
val dbl = new BasicDBList | |
value.foreach { f => dbl.add(f.toString) } | |
dbl | |
} | |
override def setFromDBObject(dbo: DBObject): Box[MyType] = { |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
There may be times when you want to edit some variables in for example a database connection file, to run an application right from within your GIT repo. Of course you don’t wont those changes to be commited, so you add the file the .gitignore. | |
However adding tracked files to .gitignore won’t work because GIT will still track the changes and commit the file if you use the -a parameter. | |
Fortunately GIT has a very easy solution for this, just run the following command on the file or path you want to ignore the changes of: | |
git update-index --assume-unchanged <file> | |
If you wanna start tracking changes again run the following command: | |
git update-index --no-assume-unchanged <file> | |
You can find more info about this in the git manual. |
import sbt._ | |
import sbt.Keys._ | |
object MyBuild extends Build { | |
import Dependencies._ | |
import BuildSettings._ | |
lazy val main = Project("root", file(".")) | |
.settings(mainWebSettings: _*) | |
.settings( |
package code.model | |
import scala.xml._ | |
import net.liftweb.util._ | |
import net.liftweb.common._ | |
import net.liftweb.http.S | |
import net.liftweb.record._ | |
import net.liftweb.record.field._ | |
import S._ |
package code.snippet | |
import net.liftweb._ | |
import http.js._ | |
import http.js.JE._ | |
import http.js.JsCmds._ | |
import http.json._ | |
import util.Helpers._ | |
object KoForm { |