Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
private Dialog dialog; | |
private void buildDialog() { | |
dialog = new Dialog(activity); | |
dialogView = activity.getLayoutInflater().inflate(R.layout.dialog_new_participant, null); | |
dialogField = ButterKnife.findById(dialogView, R.id.edittext_new_participant); | |
dialogFab = ButterKnife.findById(dialogView, R.id.fab_new_participant_dialog); | |
dialog.setContentView(dialogView); | |
clearBackgrounds(dialogView); | |
setListeners(); |
CloudFlare is an awesome reverse cache proxy and CDN that provides DNS, free HTTPS (TLS) support, best-in-class performance settings (gzip, SDCH, HTTP/2, sane Cache-Control
and E-Tag
headers, etc.), minification, etc.
FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.
# LVDB - LLOOGG Memory DB | |
# Copyriht (C) 2009 Salvatore Sanfilippo <antirez@gmail.com> | |
# All Rights Reserved | |
# TODO | |
# - cron with cleanup of timedout clients, automatic dump | |
# - the dump should use array startsearch to write it line by line | |
# and may just use gets to read element by element and load the whole state. | |
# - 'help','stopserver','saveandstopserver','save','load','reset','keys' commands. | |
# - ttl with milliseconds resolution 'ttl a 1000'. Check ttl in dump! |
/** | |
* 1) Change agpVersion | |
* 2) Run './gradlew dumpSources' | |
* 3) Check changeset into source control | |
*/ | |
def agpVersion = 'UPDATE_THIS' | |
repositories { | |
google() | |
jcenter() |