Skip to content

Instantly share code, notes, and snippets.

View sizovs's full-sized avatar
🌴
Mentoring software developers @ principal.dev

Eduards Sizovs sizovs

🌴
Mentoring software developers @ principal.dev
View GitHub Profile
class WaffleObject {
void garnishWaffle(List<Strawberry> strawberries) { ... }
}
git branch -m wrongname correctname
@sizovs
sizovs / gist:3feb4de0b41a09079de29d505ff5e2fd
Last active February 1, 2019 18:28
CommandsForTietoFolks.java
package lightweight4j.app;
import net.jodah.failsafe.Failsafe;
import net.jodah.failsafe.RetryPolicy;
import java.util.Arrays;
import java.util.Collection;
public class TietoAmazingTeam {
@sizovs
sizovs / Edvins.js
Last active January 22, 2019 08:24
export const getAuthorName = flickrAuthor => {
const ALL_POSSIBLE_BRACKETS = /[{()}]/g
const VERTICAL_BAR = /^"|"$/g
const [_, name] = flickrAuthor.split(' ');
return name
.replace(ALL_POSSIBLE_BRACKETS, '')
.replace(VERTICAL_BAR, '');
package net.sizovs.crf.services.core;
import org.hibernate.EmptyInterceptor;
import org.hibernate.type.Type;
import org.springframework.beans.factory.config.AutowireCapableBeanFactory;
import org.springframework.boot.autoconfigure.orm.jpa.HibernatePropertiesCustomizer;
import org.springframework.stereotype.Component;
import javax.persistence.Embeddable;
import javax.persistence.Entity;

Awesome Tech Conferences

Awesome DevTernity

Awesome Logo

😎 Curated list of awesome technical conferences.

The goal of this list to promote the best conferences and events.

> I.code(); [ code logo ]
> I.coffee(); [ coffee logo ]
> I.DevTernity(); [ devternity logo ]
Requirements:
1) white printify logo on sleeve
2) our stuff front or back
3) maybe logo / text in colour?
4) dark t-shirt, v-neck ideally.
5) the same print will go on coffee mugs.
<p>Hi, Buddy!</p>
<p>Want to learn more about effective software design and architecture in Java?</p>
<p><a href="https://devchampions.com/training/java?_openstat=tb;training;java">Join</a> my upcoming training!</p>
@sizovs
sizovs / deps.java
Last active September 27, 2017 13:51
deps.java
class Customer1 {
void change(String password);
}
class Customer2 {
void change(Password password) {
}
}