I hereby claim:
- I am ngerakines on github.
- I am ngerakines (https://keybase.io/ngerakines) on keybase.
- I have a public key whose fingerprint is 9530 23D8 48C3 5059 A2E2 4888 33D4 3D85 4F96 B2E4
To claim this, I am signing this object:
Now = calendar:datetime_to_gregorian_seconds(erlang:universaltime()) - 14400, | |
DelFun = fun(File, {ok, [{{time, Time}, _}]}) when Time < Now -> file:delete(File); (_, _) -> ok end, | |
[DelFun(File, file:consult(File)) || File <- filelib:wildcard("cache/*")]. |
#!/bin/sh | |
parent=${PWD##*/} | |
if [ -f 'repos' ] | |
then | |
echo "`repos` file exists." | |
for i in `cat repos`; do | |
if [ -d $i ] | |
then |
public interface CalcService extends RespondingService { | |
void add(final CallbackMessageController<CalcProto.Results> messageController, final CalcProto.Add add); | |
} |
#!/usr/bin/python2 | |
import sys | |
import os | |
from os.path import join | |
import tarfile | |
import shutil | |
import popen2 | |
from optparse import OptionParser | |
import logging |
public abstract class AbstractTemplate { | |
protected abstract String getTemplateFile(); | |
public String run() { | |
return "rendered template from " + getTemplateFile(); | |
} | |
} |
I hereby claim:
To claim this, I am signing this object:
<style> | |
div.row { | |
clear: both; | |
padding-top: 10px; | |
} | |
div.row span.label { | |
float: left; | |
width: 100px; | |
text-align: right; |
Red Hat Enterprise Linux 5 Adminstration | |
Hacking Roomba | |
Agile Project Management With Scrum | |
The Art of Capacity Planning | |
JavaScript for Web Developers | |
Begining Lua Programming | |
Hacking del.icio.us | |
Professional Ajax | |
The Next 100 Years | |
Mausi |
module.exports = function(sequelize, DataTypes) { | |
var Task = sequelize.define('Task', { | |
title: DataTypes.STRING | |
}, { | |
classMethods: { | |
associate: function(models) { | |
Task.belongsTo(models.User) | |
} | |
} | |
}) |
Str = "2008-10-01 10:00:01", | |
[YY, MM, DD, Hh, Mm, Ss] = [list_to_integer(X) || X <- string:tokens(Str, " -:")], | |
{{YY, MM, DD}, {Hh, Mm, Ss}}. |