Skip to content

Instantly share code, notes, and snippets.

View seyDoggy's full-sized avatar

Adam Merrifield seyDoggy

View GitHub Profile
seyDoggy /
Created April 7, 2017 13:28
Cloud Foundry: Consuming arrays with cloud config
@ConfigurationProperties(prefix = "users.service")
public class UsersData {
private String[] benefitType;
private String[] status;
// setters/getters…
seyDoggy / jetbrains-studio.desktop
Created February 24, 2017 13:08
Contents of Android Studio .desktop
[Desktop Entry]
Name=Android Studio
Exec="/usr/local/share/android-studio/bin/" %f
Comment=Develop with pleasure!
seyDoggy / restful.module.js
Last active September 4, 2016 05:29
An AngularJS RESTful Constructor
* @ngdoc module
* @name Restful
* @description
* Restful is a base class from which to extend and create more CRUD services
* without the need to repeat the same CRUD operations and implementation
* with each additional service.
* The Restful factory takes one argument, a configuration object.
seyDoggy / .profile
Last active August 31, 2016 12:03
to change shell on LDAP system
export SHELL=`which zsh`
# Works on Ubuntu
#[ -z "$ZSH_VERSION" ] && exec "$SHELL" -l
# Works on Fedora
seyDoggy / gist:5d0286fa3cd4f5e214ff
Created February 3, 2016 14:40
neocomplete settings
" Use neocomplete.
let g:neocomplete#enable_at_startup = 1
" Neocomplete Plugin key-mappings.
inoremap <expr><C-g> neocomplete#undo_completion()
inoremap <expr><C-l> neocomplete#complete_common_string()
" Neosnippet Recommended key-mappings.
" <CR>: close popup and save indent.
inoremap <silent> <CR> <C-r>=<SID>my_cr_function()<CR>
seyDoggy / touchegg.conf
Created November 26, 2015 01:37
My working touchegg config for Elementary OS Freya
<property name="composed_gestures_time">111</property>
<application name="All">
<gesture type="DRAG" fingers="4" direction="DOWN">
<action type="SEND_KEYS">Super+a</action>
<gesture type="DRAG" fingers="4" direction="UP">
<action type="SEND_KEYS">Super+s</action>
seyDoggy /
Last active November 3, 2015 14:53
Use git log to grab a quick summary of what's changed between versions.
git log --pretty=format:"- %s%n%n %b" --no-merges v3.0.5.1..v3.1.0

Keybase proof

I hereby claim:

  • I am seyDoggy on github.
  • I am seydoggy ( on keybase.
  • I have a public key whose fingerprint is 9E1D 2DEB 564D CFA0 E077 36AF 85E5 BC97 30D9 884B

To claim this, I am signing this object:

seyDoggy / basic.html
Created March 26, 2015 14:03
Zurb Ink basic email template
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width"/>
* Ink v1.0.5 - Copyright 2013 ZURB Inc *
seyDoggy / caller.js
Last active August 29, 2015 14:16 — forked from raygig/gist:2aa37249bd33f916321a
Ray's work on iframe popup resizing.
try {
} catch(e) {}