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
my %hoge; | |
%{ $hoge{'hoge'} } = (a=>1, b=>2); | |
use Data::Dumper; | |
warn Dumper \%hoge; |
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
$ sudo vi /etc/hosts | |
xxx.xxx.xxx.xxx my.new.example.com | |
$ sudo vi /etc/apache2/httpd.conf | |
Listen 443 | |
ProxyRequests On | |
ProxyVia On | |
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
local FONT = "Fonts\\FRIZQT__.TTF" | |
local TEXTURE = "Interface\\AddOns\\Headline\\minimalist" | |
local OVERLAY = "Interface\\TargetingFrame\\UI-TargetingFrame-Flash" | |
local combat = false | |
local numChildren = -1 | |
local frames = {} | |
local function debuginfo(region) |
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
select round(avg(sec)) as avg, max(sec) as max from foo; | |
select sec as mode from (select sec, count(*) as c from foo group by sec ) as t order by c desc limit 1; | |
select @mednum := floor(count(*) / 2) from foo; | |
set @rownum = 0; | |
select sec as median from (select @rownum := @rownum + 1 as rownum, sec from foo order by sec) as t where rownum = @mednum; |
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
diff --git a/lib/Dancer/Config.pm b/lib/Dancer/Config.pm | |
index 8580b24..1b17922 100644 | |
--- a/lib/Dancer/Config.pm | |
+++ b/lib/Dancer/Config.pm | |
@@ -217,6 +217,7 @@ sub load_default_settings { | |
$SETTINGS->{logger} ||= $ENV{DANCER_LOGGER} || 'file'; | |
$SETTINGS->{environment} ||= | |
$ENV{DANCER_ENVIRONMENT} | |
+ || $ENV{DANCER_ENV} | |
|| $ENV{PLACK_ENV} |
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
(tag:sticky) OR (dueBefore:today) OR (dueBefore:"3days of today" AND NOT tag:home) OR (dueBefore:"5 hours" AND tag:home) OR (addedAfter:today AND due:never AND list:Inbox) OR (NOT priority:N AND list:Inbox) |
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
#showtooltip | |
/cast [swimming,nostance:2] !Aquatic Form; [indoors,nostance:3] !Cat Form; [noflyable,noindoors,noswimming,nostance:4][flyable,combat,noindoors,noswimming,nostance:4] !Travel Form; [flyable,noindoors,noswimming,nocombat,nostance:5] !Swift Flight Form |
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
/cast [harm]Entangling Roots; [help][@focus,help][@player]Thorns |
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
#showtooltip | |
/cast [mod:ctrl,nostance:1]Bear Form | |
/stopmacro [mod:ctrl] | |
/castsequence [stance:3]Tiger's Fury(Cat Form); [stance:1] reset=60 Enrage(Bear Form), Demoralizing Roar(Bear Form); [@mouseover,help][@player]Thorns |
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
$ ping www.google.com | |
PING www.l.google.com (74.125.153.99): 56 data bytes | |
Request timeout for icmp_seq 0 | |
Request timeout for icmp_seq 1 | |
Request timeout for icmp_seq 2 | |
Request timeout for icmp_seq 3 | |
Request timeout for icmp_seq 4 | |
Request timeout for icmp_seq 5 | |
Request timeout for icmp_seq 6 | |
Request timeout for icmp_seq 7 |