View .serverstatus.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
NAME=Adam | |
TESTDATE=`date "+%B %e, %Y"` | |
TESTTIME=`date "+%H:%M:%S"` | |
auto_init() { | |
runTest | |
} | |
runTest() { |
View SomeCtrl.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
'use strict'; | |
angular.module('myApp') | |
.controller('SomeCtrl', SomeCtrl); | |
SomeCtrl.$inject = ['$scope', '$http', ' alertService']; | |
function SomeCtrl($scope, $http, alertService) { | |
$http.put('http://some.url/user/44', { |
View bootstrap_ms.css.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Bootstrap Mid-Small - col-ms-* - the missing grid set for Bootstrap3. | |
// | |
// LICENSE under MIT - https://github.com/twbs/bootstrap/blob/master/LICENSE | |
// | |
// Source: https://gist.github.com/seyDoggy/4f370a676f5db6df2d1d | |
// Forked: https://gist.github.com/andyl/6360906 | |
// | |
// This is a hack to fill the gap between 480 and 760 pixels - a missing range | |
// in the bootstrap responsive grid structure. Use these classes to style pages | |
// on cellphones when they transition from portrait to landscape. |
View zip all files.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FILES=./*; for f in $FILES; do ditto -ck "$f" "$f.zip"; done |
View let g:ctrlp_custom_ignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" The custom ignore feature in ctrlp.vim is a useful feature | |
" when you want to ignore files and folder in your directory | |
" structure. However if yo set g:ctrlp_user_command then | |
" g:ctrlp_custom_ignore had no effect. This is all well and | |
" and good unless you use a vim distribution like spf13-vim | |
" that just so happens to set g:ctrlp_user_command. So here | |
" is how you get around that issue in your own .vimrc.local: | |
" | |
" unlet the original spf13-vim settings | |
unlet g:ctrlp_custom_ignore |
View UsersData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ConfigurationProperties(prefix = "users.service") | |
@Configuration | |
@Component | |
public class UsersData { | |
private String[] benefitType; | |
private String[] status; | |
// setters/getters… |
View jetbrains-studio.desktop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 |
View restful.module.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @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. |
View .profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export SHELL=`which zsh` | |
# Works on Ubuntu | |
#[ -z "$ZSH_VERSION" ] && exec "$SHELL" -l | |
# Works on Fedora | |
#/usr/bin/szh |
NewerOlder