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/sh | |
# | |
# nginx - this script starts and stops the nginx daemon | |
# PROVIDE: nginx | |
# | |
# chkconfig: - 85 15 | |
# description: NGINX is an HTTP(S) server, HTTP(S) reverse \ | |
# proxy and IMAP/POP3 proxy server | |
# processname: nginx | |
# config: /opt/nginx/conf/nginx.conf |
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
- Add this line in Vagrant File | |
# Enables symlinks on Windows VBox | |
vb.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/vagrant", "1"] | |
- in an admin command prompt, run: | |
fsutil behavior set SymlinkEvaluation L2L:1 R2R:1 L2R:1 R2L:1 | |
- boot vagrant from new admin powershell session |
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
/micon Ascend | |
/ta <t> | |
/p Raising ===> <t> | |
/ac Swiftcast | |
/wait 1 | |
/ac Ascend | |
/tlt | |
/wait 59 | |
/echo Instant Ascend Ready |
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
Uncaught Error: Assertion Failed: An attribute binding was triggered when the element was not in the DOM | |
ember.js?body=1:3903 | |
Ember.assertember.js?body=1:7393 | |
applyAttributeBindingsember.js?body=1:41697 | |
merge.invokeObserverember.js?body=1:43838 | |
CoreView.extend._wrapAsScheduled.stateCheckedFnember.js?body=1:849 | |
Queue.invokeember.js?body=1:914 | |
Queue.flushember.js?body=1:719 | |
DeferredActionQueues.flushember.js?body=1:144 | |
Backburner.endember.js?body=1:547 |
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
tell application "Microsoft Outlook" | |
set myMessages to selection | |
set firstMessage to item 1 of myMessages | |
set theAccount to account of firstMessage | |
set archiveFolder to folder "Archive" of theAccount | |
repeat with eachMessage in myMessages | |
set eachMessage's is read to true | |
move eachMessage to archiveFolder | |
end repeat | |
end tell |
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
Collision: #FFFFFF, #F4F4F4 | |
- #FFFFFF [line: 125, 157, 164, 171, 192, 197, 223, 232, 263, 279, 290, 317, 388, 469, 543, 544, 545, 642, 1110, 1144, 1288, 1288, 1289, 1289, 1290, 1290, 1389, 1390, 1458, 2210, 2373, 2446, 2476, 2688, 2799, 2809, 3051, 3086, 3101, 3111, 3169, 3338, 3427, 3503, 3567, 3838, 3893, 3928, 3950, 3976, 4003, 4259, 4273, 4620, 4668, 4698, 4816, 5027, 5128, 5241, 5297, 5387, 5388, 5403, 5642, 5938] is too close (2.217402585730237) to #F4F4F4 [line: 486, 537, 2977] | |
Collision: #FFFFFF, #F9F9F9 | |
- #FFFFFF [line: 125, 157, 164, 171, 192, 197, 223, 232, 263, 279, 290, 317, 388, 469, 543, 544, 545, 642, 1110, 1144, 1288, 1288, 1289, 1289, 1290, 1290, 1389, 1390, 1458, 2210, 2373, 2446, 2476, 2688, 2799, 2809, 3051, 3086, 3101, 3111, 3169, 3338, 3427, 3503, 3567, 3838, 3893, 3928, 3950, 3976, 4003, 4259, 4273, 4620, 4668, 4698, 4816, 5027, 5128, 5241, 5297, 5387, 5388, 5403, 5642, 5938] is too close (1.1980804237236402) to #F9F9F9 [line: 791, 2673, 2674, 2675, 2676, 2677, 2678, 4683, 4684, 46 |
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
@mixin respond-to($media) { | |
@if $media == small { | |
@media only screen and (max-width: 1024px) { | |
@content; | |
} | |
} | |
@if $media == tablet { | |
// @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) { | |
// @content; | |
// } |
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
# detect `$rvm_path` | |
if [ -z "${rvm_path:-}" ] && [ -x "${HOME:-}/.rvm/bin/rvm" ] | |
then rvm_path="${HOME:-}/.rvm" | |
fi | |
if [ -z "${rvm_path:-}" ] && [ -x "/usr/local/rvm/bin/rvm" ] | |
then rvm_path="/usr/local/rvm" | |
fi | |
# load environment of current project ruby | |
if |
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
class MyPhotoViewer | |
showPhotos: (data) => | |
photo_list_view = '<ul class="photo-list"></ul><section class="ajax-loader"><img src="/assets/ajax-loader.gif" alt="loading..." /></section>' | |
@element.append photo_list_view | |
$(window).on 'DOMContentLoaded load resize scroll', @morePhotos | |
@addPhotos data | |
morePhotos: => | |
if @scrollerInView() and !(@paging.active or @paging.complete) | |
$('section.ajax-loader img').slideDown 'fast' |
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
for i in $( ls *.jpg); do convert -resize 50% $i $i.gif; done |