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
### Keybase proof | |
I hereby claim: | |
* I am brucem on github. | |
* I am brucem (https://keybase.io/brucem) on keybase. | |
* I have a public key whose fingerprint is FBF9 3CCC 717D 68B4 D2B1 8E1F 87D3 9622 B34B 8260 | |
To claim this, I am signing this object: |
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
desc "Clear cached copy" | |
task :clear_cached_copy do | |
cached_copy_path = "#{shared_path}/cached-copy" | |
cached_copy_exists = capture("if [ -d '#{cached_copy_path}' ]; then echo '1'; fi") | |
if cached_copy_exists.to_i == 1 | |
puts "Removing cached copy" | |
run "rm -fR #{cached_copy_path}" | |
end | |
end |
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
wget --quiet http://uec-images.ubuntu.com/query/precise/server/released.current.txt -O - | \ | |
grep us-east-1 | \ | |
grep i386 | \ | |
grep paravirtual | \ | |
grep ebs | \ | |
awk '{ print $8 }' |
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
javascript:(function(){var%20ele=$($("#rsvp-list li.rsvp-list").attr("style","")[Math.floor(Math.random()%20*%20$("#rsvp-list li.rsvp-list").length)]).attr("style","border:5px solid red;");jQuery(window).scrollTop(ele.offset().top-jQuery(window).height()/2)})(); |
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
update ezsite_data set value = md5(concat(UNIX_TIMESTAMP(), '-',rand())) where name = 'ezfind_site_id'; |
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
{if is_set($current_user)|not}{def $current_user=fetch( 'user', 'current_user' )}{/if} | |
{if $current_user.is_logged_in} | |
{* Show content for logged in users *} | |
{else} | |
{* Show content for anon users *} | |
{/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
{* Feedback form - Full view *} | |
<div class="border-box"> | |
<div class="border-tl"><div class="border-tr"><div class="border-tc"></div></div></div> | |
<div class="border-ml"><div class="border-mr"><div class="border-mc float-break"> | |
<div class="content-view-full"> | |
<div class="class-feedback-form"> | |
<div class="attribute-header"> |