Skip to content

Instantly share code, notes, and snippets.

Avatar

Adam Merrifield seyDoggy

View GitHub Profile
@seyDoggy
seyDoggy / UsersData.java
Created Apr 7, 2017
Cloud Foundry: Consuming arrays with cloud config
View UsersData.java
@ConfigurationProperties(prefix = "users.service")
@Configuration
@Component
public class UsersData {
private String[] benefitType;
private String[] status;
// setters/getters…
@seyDoggy
seyDoggy / jetbrains-studio.desktop
Created Feb 24, 2017
Contents of Android Studio .desktop
View jetbrains-studio.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=Android Studio
Icon=/usr/local/share/android-studio/bin/studio.png
Exec="/usr/local/share/android-studio/bin/studio.sh" %f
Comment=Develop with pleasure!
Categories=Development;IDE;
Terminal=false
StartupWMClass=jetbrains-studio
@seyDoggy
seyDoggy / restful.module.js
Last active Sep 4, 2016
An AngularJS RESTful Constructor
View restful.module.js
/**
* @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
seyDoggy / .profile
Last active Aug 31, 2016
to change shell on LDAP system
View .profile
export SHELL=`which zsh`
# Works on Ubuntu
#[ -z "$ZSH_VERSION" ] && exec "$SHELL" -l
# Works on Fedora
#/usr/bin/szh
View gist:5d0286fa3cd4f5e214ff
" 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
seyDoggy / touchegg.conf
Created Nov 26, 2015
My working touchegg config for Elementary OS Freya
View touchegg.conf
<touchégg>
<settings>
<property name="composed_gestures_time">111</property>
</settings>
<application name="All">
<gesture type="DRAG" fingers="4" direction="DOWN">
<action type="SEND_KEYS">Super+a</action>
</gesture>
<gesture type="DRAG" fingers="4" direction="UP">
<action type="SEND_KEYS">Super+s</action>
@seyDoggy
seyDoggy / git-release-notes.sh
Last active Nov 3, 2015
Use git log to grab a quick summary of what's changed between versions.
View git-release-notes.sh
git log --pretty=format:"- %s%n%n %b" --no-merges v3.0.5.1..v3.1.0
View keybase.md

Keybase proof

I hereby claim:

  • I am seyDoggy on github.
  • I am seydoggy (https://keybase.io/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
seyDoggy / basic.html
Created Mar 26, 2015
Zurb Ink basic email template
View basic.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width"/>
<style>
/**********************************************
* Ink v1.0.5 - Copyright 2013 ZURB Inc *
**********************************************/
@seyDoggy
seyDoggy / caller.js
Last active Aug 29, 2015 — forked from raygig/gist:2aa37249bd33f916321a
Ray's work on iframe popup resizing.
View caller.js
try {
parent.FF.popup.resize(document);
} catch(e) {}
You can’t perform that action at this time.