Skip to content

Instantly share code, notes, and snippets.

Jan Muller biokys

View GitHub Profile
@biokys
biokys / radar_client.pde
Last active May 17, 2020
Sources for ultrasonic range radar
View radar_client.pde
import processing.serial.*;
int SIDE_LENGTH = 1000;
int ANGLE_BOUNDS = 80;
int ANGLE_STEP = 2;
int HISTORY_SIZE = 10;
int POINTS_HISTORY_SIZE = 500;
int MAX_DISTANCE = 100;
int angle;
@biokys
biokys / card_layout
Created Sep 5, 2013
Card layout with bottom shadow
View card_layout
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="rectangle"
android:dither="true">
<corners android:radius="@dimen/card_corner_radius"/>
<solid android:color="#bbb" />
</shape>
View cookie.java
View LanguageResolver.java
package controllers;
import models.Language;
import play.Logger;
import play.Play;
import play.cache.Cache;
import play.i18n.Lang;
import play.mvc.Before;
import play.mvc.Controller;
import play.mvc.Http;
You can’t perform that action at this time.