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
<item> | |
<name>Swap symbols for numbers</name> | |
<appendix></appendix> | |
<identifier>private.swap_nums</identifier> | |
<!-- 0 --> | |
<autogen>__KeyToKey__ KeyCode::KEY_0, ModifierFlag::NONE, KeyCode::KEY_0, ModifierFlag::SHIFT_L</autogen> | |
<autogen>__KeyToKey__ KeyCode::KEY_0, ModifierFlag::NONE, KeyCode::KEY_0, ModifierFlag::SHIFT_R</autogen> | |
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
Show hidden characters
{ | |
"auto_complete_selector": "source - comment, meta.tag - punctuation.definition.tag.begin", | |
"color_scheme": "Packages/Tomorrow Color Schemes/Tomorrow-Night.tmTheme", | |
"dictionary": "Packages/Language - English/en_GB.dic", | |
"folder_exclude_patterns": | |
[ | |
".sass-cache", | |
"node_modules", | |
".git" | |
], |
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
<staticContent> | |
<remove fileExtension=".mp4"/> | |
<remove fileExtension=".ogv"/> | |
<remove fileExtension=".webm"/> | |
<remove fileExtension=".svg"/> | |
<mimeMap fileExtension=".mp4" mimeType="video/mp4" /> | |
<mimeMap fileExtension=".ogv" mimeType="video/ogg" /> | |
<mimeMap fileExtension=".webm" mimeType="video/webm" /> | |
<mimeMap fileExtension=".svg" mimeType="image/svg+xml"/> | |
</staticContent> |
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
<rewrite> | |
<rules> | |
<rule name="Remove WWW prefix" > | |
<match url="(.*)" ignoreCase="true" /> | |
<conditions> | |
<add input="{HTTP_HOST}" pattern="^www\.domainname\.co.uk" /> | |
</conditions> | |
<action type="Redirect" url="http://domainname.co.uk/{R:1}" redirectType="Permanent" /> | |
</rule> | |
</rules> |
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
var week = $('.week'); | |
var month= $('.month'); | |
var year = $('.year'); | |
function weekCalc(sender, args) { | |
var value = sender.val(); | |
var milesPerMonth = value * 4.35; | |
var milesPerYear = value * 52; | |
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
# Git | |
alias g="git" | |
alias commits="git shortlog -sn" | |
alias gl="git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --" | |
alias gs="git status" | |
alias ga="git add" | |
alias gc="git commit -m" | |
alias gp="git push" | |
alias gpl="git pull" | |
alias gd="git diff" |
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
gulp.task('scripts:dev', ['templates'], function() { | |
return gulp.src(paths.scripts) | |
.pipe(plumber()) | |
.pipe(concat('app.js')) | |
.pipe(ngmin()) | |
.on('error', notify.onError()) | |
.pipe(gulp.dest('public/dist/js')) | |
.pipe(refresh(lrserver)); | |
}); |
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
- request: | |
url: /hello | |
response: | |
body: ':)' | |
- request: | |
url: /give/me/a/smile | |
response: | |
status: 200 | |
body: > | |
{"status": "hello world with single quote"} |
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
<?xml version="1.0"?> | |
<root> | |
<!-- | |
# Declare hardware devices | |
--> | |
<devicevendordef> | |
<vendorname>daskeyboard</vendorname> | |
<vendorid>0x04d9</vendorid> | |
</devicevendordef> |
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
<?xml version="1.0"?> | |
<root> | |
<!-- | |
# Declare hardware devices | |
--> | |
<devicevendordef> | |
<vendorname>daskeyboard</vendorname> | |
<vendorid>0x04d9</vendorid> | |
</devicevendordef> |