Skip to content

Instantly share code, notes, and snippets.

package sample;
class Outer<T> {
class Inner<S> {
S s;
}
}
public class Sample {
public static void main(String... args) {
@oleg
oleg / Utils.ps1
Last active August 29, 2015 14:03
ls -filter 01402*-update*.sql | Copy-Item -Destination /work/code/projects/sqls
while true; do ccs-grepcurrentlogs populationCompleteOnNode.*all; sleep 5; ccs-grepalllogs "\ ERROR\ " sleep 5; done;
@oleg
oleg / utils.r
Last active August 29, 2015 14:04
## how to specify separator
#mydata <- read.table("/path/to/file", header=FALSE, sep=",")
##one number per line
rev.time <- read.csv("/path/to/file", header=F)
rev.time <- as.numeric(unlist(rev.time))
plot(rev.time)
hist(rev.time)
median(rev.time)
dig example.com +short

Make it real

Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discuss around concrete examples, not hand-waving abstractions. Don't say you did something, provide a URL that proves it.

Ship it

Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.

Do it with style

@oleg
oleg / Main.java
Created April 30, 2018 09:50
setters in constructor
class Character {
private String name;
public void setName(String name) {
this.name = name;
}
}
class Enemy extends Character {
public Enemy(String name) {