I hereby claim:
- I am reza-samei on github.
- I am samei (https://keybase.io/samei) on keybase.
- I have a public key whose fingerprint is B344 63B4 9B0C 490C 0D08 0ABA BA94 ABE7 2235 A65D
To claim this, I am signing this object:
import java.util.concurrent.BlockingQueue; | |
import java.util.concurrent.LinkedBlockingDeque; | |
import java.util.concurrent.TimeUnit; | |
import java.util.concurrent.atomic.AtomicBoolean; | |
/** | |
* @author Reza Samei <[email protected]> | |
*/ | |
public abstract class QTask<T> extends Thread { |
// Domain / Rules ====================================================== | |
trait Balance[T] { | |
def merge(other: T): T | |
} | |
trait AccountBalance[T, B] { | |
def balance(): B | |
def newBalance (balance: B): T |
I hereby claim:
To claim this, I am signing this object:
// in the name of ALLAH | |
case class PopulationStat( | |
val country: String, | |
val symbol: String, | |
val year: Int, | |
val amount: Long | |
) | |
class WritablePopulationStat extends WritableComparable[WritablePopulationStat] { |
case class InvalidDataException[T]( | |
val message:String, | |
val value:T, | |
val cause:Option[Throwable] = None ) | |
extends Exception ( message, cause getOrElse null ) |
syntax: glob | |
*.kate-swp | |
*.swp | |
bin | |
target | |
.project | |
.settings | |
.cache | |
.classpath | |
logs/application.log |
[ui] | |
username = My Name <my.email@somedomain> | |
verbose = false | |
ignore = ~/.hgignore | |
[extensions] | |
color = | |
graphlog = | |
[alias] |
#!/usr/bin/python2.7 | |
import sys | |
from SimpleHTTPServer import SimpleHTTPRequestHandler | |
import BaseHTTPServer | |
class MyHTTPRequestHandler(SimpleHTTPRequestHandler): | |
def end_headers(self): | |
self.send_my_headers() |
[user] | |
name = {{ forename surname }} | |
email = {{ email }} | |
[core] | |
editor = vim | |
# excludesfile = default -> $XDG_CONFIG_HOME/git/ignore or $HOME/.config/git/ignore | |
# # ignores | |
# # # .idea/ | |
# # # .project |
; in the name of ALLAH | |
; at /etc/systemd/system/stunnel.service | |
; or at /usr/lib/systemd/system/stunnel.service | |
; or at /usr/lib/systemd/system/tunnelproxy.service | |
; change "{{ config.conf }}" by your config path. | |
[Unit] | |
Description=SSL tunnel for network daemons | |
After=syslog.target |