Skip to content

Instantly share code, notes, and snippets.

View noroutine's full-sized avatar
🌴
First interview should be a hit, not a miss!

Oleksii noroutine

🌴
First interview should be a hit, not a miss!
View GitHub Profile
@noroutine
noroutine / gist:c32eb6a0d8b8dc428683
Last active February 16, 2016 08:45
go tree walk
package main
import (
"math/rand"
"fmt"
"time"
)
type Tree struct {
Left *Tree
@noroutine
noroutine / virtualenv-auto-activate.sh
Last active November 14, 2015 06:32 — forked from codysoyland/virtualenv-auto-activate.sh
automatic python virtual env activation and deactivation
#!/bin/bash
# virtualenv-auto-activate.sh
#
# Installation:
# Add this line to your .bashrc or .bash-profile:
#
# source /path/to/virtualenv-auto-activate.sh
#
# Go to your project folder, run "virtualenv .venv", so your project folder
# has a .venv folder at the top level, next to your version control directory.
@Configurable
public class ApplicationFormattingConversionServiceFactoryBean
extends FormattingConversionServiceFactoryBean {
/.../
@Override
public void afterPropertiesSet() {
super.afterPropertiesSet();
installLabelConverters(getObject());