This file contains hidden or 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
(function () { | |
var newcss = '#myDiv { -webkit-filter: blur(8px) grayscale(1); }'; | |
newcss += '#hideSomething { display: none; }'; | |
newcss += '#makeItGreen { background: #00ff00; }'; | |
if ('\v' == 'v') /* ie only */ { | |
document.createStyleSheet().cssText = newcss; | |
} else { | |
var tag = document.createElement('style'); | |
tag.type = 'text/css'; |
This file contains hidden or 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
{ | |
"meta": { | |
"isNew": true, | |
"eventListenerId": "19012", | |
"profileSize": 6, | |
"companyId": "265", | |
"bucketId": "new-ic-training", | |
"appId": "benjamins-sandbox-jockes-profile-sample-app", | |
"requestMeta": { | |
"requestTime": 1484312910123, |
This file contains hidden or 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
send_event = new inno.Profile.Event({ | |
"definitionId" : definitionId, | |
"data" : { | |
"email" : email, | |
"urlroi" : urlRoi | |
} | |
}); | |
send_session = new inno.Profile.Session({ | |
"collectApp" : innoHelper.getCollectApp(), |
This file contains hidden or 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
<?php | |
// List all routes as a prettyprinted JSON array. | |
// Compatible with Laravel 4 and 5. | |
Route::get('routes', function(){ | |
$routes = Route::getRoutes(); | |
$results = array(); | |
foreach ($routes as $route) | |
{ | |
$path = $route->getPath(); |
This file contains hidden or 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
PHPUnit 5.0.9 by Sebastian Bergmann and contributors. | |
........................[31;1mE[0m[31;1mE[0m[31;1mE[0m[31;1mE[0m[41;37mF[0m[41;37mF[0m[41;37mF[0m[41;37mF[0m[41;37mF[0m[41;37mF[0m[41;37mF[0m[41;37mF[0m[41;37mF[0m[41;37mF[0m[41;37mF[0m 39 / 39 (100%) | |
Time: 98 ms, Memory: 4.50Mb | |
There were 4 errors: | |
1) CalendArt\Adapter\Google\ApiErrorExceptionTest::testConstructWithParseException | |
Prophecy\Exception\Doubler\MethodNotFoundException: Method `Double\stdClass\P8::json()` is not defined. |
This is document has moved. It now lives at https://klr.nu/api/v2/docs
This file contains hidden or 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/bash | |
# Change the server address. Run in the /logs/ directory. | |
apihost="http://api.localhost"; | |
logfile=$(ls -tr xmpp_* | tail -1); | |
# Dont edit below this line :) | |
vcard=""; | |
# Using awk to flush every line separately to avoid buffering issues. I think. | |
tail -f "$logfile" | awk '{print $0; fflush()}' | while read -r line |