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
leevigraham [5:28 PM] | |
Anyone had issues with mod_security and craft? | |
[5:29] | |
occasional 500 error when submitting content in admin | |
mildlygeeky | |
[5:52 PM] | |
@leevigraham lots of Matrix or Neo fields? (edited) |
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
{ | |
"ErrorMessage": "", | |
"Freight": { | |
"Details": [ | |
{ | |
"OrderLineNumber": 3, | |
"ProductCode": "2323892", | |
"ShippingMethods": [ | |
{ | |
"BoxHandlingCharge": 0, |
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
head -n1 file-with-header.txt | cat - file-without-header.txt > tmp.txt && mv tmp.txt file-without-header.txt |
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
varnishlog -g request -q 'ReqMethod eq "PURGE"' |
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
-module(fibonacci). | |
-export([seq/1, sum/1]). | |
seq(0) -> [0]; | |
seq(1) -> [0, 1]; | |
seq(N) when N > 1 -> | |
lists:reverse(seq(N, [1, 0])). | |
seq(1, Acc) -> Acc; | |
seq(N, Acc = [H1, H2 | _T]) -> |