Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
# Eclipse | |
.classpath | |
.project | |
.settings/ | |
# Intellij | |
.idea/ | |
*.iml | |
*.iws |
hbase org.apache.hadoop.hbase.mapreduce.RowCounter [TABLE_NAME] |
export http_proxy="<YOUR PROXY>" | |
export https_proxy="<YOUR PROXY>" |
<?xml version="1.0" encoding="UTF-8"?> | |
<beans xmlns="http://www.springframework.org/schema/beans" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.springframework.org/schema/beans | |
http://www.springframework.org/schema/beans/spring-beans.xsd"> | |
</beans> |
public class SpinLock { | |
private AtomicReference<Thread> owner = new AtomicReference<Thread>(); | |
public void lock() { | |
Thread thread = Thread.currentThread(); | |
while (!owner.compareAndSet(null, thread)) { | |
} | |
} | |
package main | |
type FuncIntInt func(int) int | |
func memorized(fn FuncIntInt) FuncIntInt { | |
cache := make(map[int]int) | |
return func(input int) int { | |
if val, found := cache[input]; found { | |
println("Read from cache") |
class Dfa { | |
var states = Seq.empty[State] | |
var finalStates = Seq.empty[State] | |
var currentState : State = null | |
var input:String="" | |
val transition = new Transition | |
val transitionMap = transition.transitionMap | |
def states( block: => Seq[State] ): Dfa = { |
import slick.jdbc.H2Profile.api._ | |
import scala.concurrent.ExecutionContext.Implicits.global | |
import scala.concurrent.Await | |
import scala.concurrent.duration.Duration | |
object Main { | |
case class User(username:String, password: String,id:Long=0) | |
class Users(tag: Tag) extends Table[User](tag , "users") { |
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -installsuffix cgo -o main . |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |