Skip to content

Instantly share code, notes, and snippets.

View jevonearth's full-sized avatar
🤡

Jev Björsell jevonearth

🤡
View GitHub Profile
#!/bin/bash
delay=0.2
title='default'
count=0
loop=1 #0 for infinite loop
# Set if you want to skip mouse selection
if [[ $# -eq 6 ]]
then
@jevonearth
jevonearth / keybase.md
Created April 11, 2014 21:48
keybase proof

Keybase proof

I hereby claim:

  • I am jevonearth on github.
  • I am jevonearth (https://keybase.io/jevonearth) on keybase.
  • I have a public key whose fingerprint is 88FE 080E 83BC 3BC4 DFF6 9F2F 9781 93B0 7444 B3BF

To claim this, I am signing this object:

========================================== ==========================================
TMUX COMMAND WINDOW (TAB)
========================================== ==========================================
List tmux ls List ^b w
New -s <session> Create ^b c
Attach att -t <session> Rename ^b , <name>
Rename rename-session -t <old> <new> Last ^b l (lower-L)
Kill kill-session -t <session> Close ^b &
@jevonearth
jevonearth / gist:7605315
Created November 22, 2013 19:18
lwks aur PKGBUILD file
# Maintainer: CYB3R <dima@golovin.in>
# Contributor: Sarkasper <kasper.menten@gmx.com>
# Contributor: Scias <shining.scias@gmail.com>
# Contributor: darzki <darzki@o2.pl>
# Contributor: N30N <archlinux@alunamation.com>
pkgname=("lwks")
provides=("lightworks")
pkgver=11.5.B
pkgrel=1
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Dial>
<Sip>
sip:123@67.228.3.77
</Sip>
</Dial>
</Response>
@jevonearth
jevonearth / gist:4177541
Created November 30, 2012 18:21
bug report draft
/*
The CRUD methods in ForceApi all take java objects, and de-serializes them to json internally.
I do not want to annotate my domain objects specifically for sobjects, instead I would like to manage my own serialization.
Perhaps we could add an additional method per CRUD method which takes a json string instead of a Object, allowing the client more control of how it manages its domain model.
*/
public String createSObject(String type, Object sObject) {
return createSObject(type, jsonMapper.writeValueAsBytes(sObject));
}
@jevonearth
jevonearth / webmvc-config.xml
Created November 22, 2012 02:14
profile switches
<beans profile="dev">
<mvc:resources location="/angulardevapp/app/" mapping="**" cache-period="0"/>
</beans>
<beans profile="prod">
<mvc:resources location="/angularprodapp/" mapping="**" cache-period="0"/>
</beans>
@jevonearth
jevonearth / web.xml
Created November 22, 2012 02:13
spring.profiles.active
<init-param>
<param-name>spring.profiles.active</param-name>
<param-value>dev</param-value>
<!-- <param-value>prod</param-value> -->
</init-param>
@jevonearth
jevonearth / log.roo
Created November 22, 2012 02:12
roo log
roo
project --topLevelPackage org.ecad.threed --projectName 3drfq --java 6 --packaging JAR
persistence setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY
entity jpa --class ~.domain.Rfq --activeRecord false --testAutomatically
field string --class ~.domain.Rfq --fieldName firstName --notNull
field string --class ~.domain.Rfq --fieldName surname --notNull
field string --class ~.domain.Rfq --fieldName email --notNull
repository jpa --interface ~.repository.RfqRepository --entity ~.domain.Rfq
json add --class ~.domain.Rfq
web mvc json setup