Skip to content

Instantly share code, notes, and snippets.

View inkrement's full-sized avatar

Christian Hotz-Behofsits inkrement

View GitHub Profile
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.getbro.api</groupId>
<artifactId>backend</artifactId>
<packaging>war</packaging>
<version>3</version>
<name>backend</name>
<url>http://maven.apache.org</url>
<properties>
@inkrement
inkrement / stackadd.s
Created March 15, 2012 11:39
AVR Stack Addition
; Christian Hotz-Behofsits 2012
; Simple AVRASM Test - take all values from the Stack, add them and print to PORTA
.NOLIST
.INCLUDE "m1280def.inc"
.LIST
.section .text
.org 0x0000
@inkrement
inkrement / 2.2.1.s
Created March 16, 2012 10:49
Mikrocontroller
; Christian Hotz-Behofsits 2012
; logical functions in asm (atmega 1280)
;
; 1st PA4: (PA1 and PA2) or PA3
; 2nd PA5: (PA1 or not PA2) and PA3
; 3rd PA6: PA1 xor PA2
; 3rd PA7: PA1 == PA2
.NOLIST
.INCLUDE "m1280def.inc"
@inkrement
inkrement / PORTA LEDS on
Created March 18, 2012 09:26
ATMEL 1280 port a leds on asm
; Christian Hotz-Behofsits 2012
; i/o example in asm (atmega 1280)
; set leds on button event
.NOLIST
.INCLUDE "m1280def.inc"
.LIST
@inkrement
inkrement / file1.matlab
Created May 6, 2012 17:59
logical selector matlab
menge(menge > x) = 0;
@inkrement
inkrement / JavaCandR.sublime-build
Created August 31, 2012 08:49 — forked from DevinClark/JavaCandR.sublime-build
This is a build script for Sublime Text 2 that will compile and run the open java file by simply pressing cmd + B. I am very new at Java so feel free to point out problems with this script. You can just drop this file in the User Packges folder and restar
{
"cmd": ["javac", "$file_name"],
"cmd": ["java", "$file_base_name"],
"working_dir": "${project_path:${folder}}",
"selector": "source.java"
}
@inkrement
inkrement / gist:3887797
Created October 14, 2012 07:48 — forked from felipepodesta/gist:3819131
Try out Laravel 4 pre-release!
Run the following in the terminal.
git clone git://github.com/illuminate/app.git && cd app && composer update
This will download Illuminate (the name of the component set that makes up Laravel 4) into a directory called 'app' and run composer to get all the dependancies.
Of course, it's still heavily in development so it's clearly not finished but you can poke around and see how it works. Enjoy!
#google chrome
#assign [class="^Google-chrome$"] 1
#for_window [class="^Google-chrome$"] border none
#set $w1 1: web
##set $w2 2: editor
# some gnome helpers
exec /usr/lib/gnome-settings-daemon/gnome-settings-daemon
exec /usr/lib/gnome-settings-daemon/gnome-fallback-mount-helper
from protorpc import remote
from google.appengine.ext import ndb
import endpoints
from endpoints_proto_datastore.ndb import EndpointsModel
from endpoints_proto_datastore.ndb import EndpointsAliasProperty
from google.appengine.ext import db
from google.appengine.api import users
import datetime
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;