View gist:6e6ab06398f8aa7d1360
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
06:06:56.205 [main] DEBUG o.w.query.rdf.tool.rdf.RdfRepository - Completed in 2016 ms | |
06:06:56.206 [main] DEBUG o.w.query.rdf.tool.rdf.RdfRepository - total = 40ms, elapsed = 39ms, where = 0ms, delete = 0ms, insert = 0ms | |
06:06:56.206 [main] DEBUG o.w.query.rdf.tool.rdf.RdfRepository - total = 93ms, elapsed = 52ms, where = 0ms, delete = 0ms, insert = 0ms | |
06:06:56.206 [main] DEBUG o.w.query.rdf.tool.rdf.RdfRepository - total = 130ms, elapsed = 35ms, where = 0ms, delete = 0ms, insert = 0ms | |
06:06:56.206 [main] DEBUG o.w.query.rdf.tool.rdf.RdfRepository - total = 146ms, elapsed = 15ms, where = 0ms, delete = 0ms, insert = 0ms | |
06:06:56.207 [main] DEBUG o.w.query.rdf.tool.rdf.RdfRepository - total = 233ms, elapsed = 75ms, where = 0ms, delete = 0ms, insert = 0ms | |
06:06:56.207 [main] DEBUG o.w.query.rdf.tool.rdf.RdfRepository - total = 330ms, elapsed = 95ms, where = 0ms, delete = 0ms, insert = 0ms | |
06:06:56.207 [main] DEBUG o.w.query.rdf.tool.rdf.RdfRepository - total = 418ms, elapsed = 86ms, where = 0ms, delete = 0ms, i |
View check.py
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
import sys | |
f = open(sys.argv[1], 'r') | |
txt = f.readline().strip() | |
patterns = [p.strip() for p in f] | |
f = open(sys.argv[2], 'r') | |
answers = [int(i) for i in f.readline().strip().split(' ')] | |
anset = set() |
View gist:9925953
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
array(9) { | |
["Accounts"]=> | |
array(5) { | |
[0]=> | |
string(15) "billing_address" | |
[1]=> | |
string(16) "shipping_address" | |
[2]=> | |
string(15) "phone_alternate" | |
[3]=> |
View gist:7185dc6de6b1d445d4af
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
<?php | |
/* | |
* By installing or using this file, you are confirming on behalf of the entity | |
* subscribed to the SugarCRM Inc. product ("Company") that Company is bound by | |
* the SugarCRM Inc. Master Subscription Agreement ("MSA"), which is viewable at: | |
* http://www.sugarcrm.com/master-subscription-agreement | |
* | |
* If Company is not bound by the MSA, then by installing or using this file | |
* you are agreeing unconditionally that Company will be bound by the MSA and | |
* certifying that you have authority to bind Company accordingly. |
View gist:331271b66bd3c305e4f5
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
alert(); |
View gist:d807387c51e6945b03f2
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
{ | |
"offset":{ | |
"meetings": 3, | |
"calls": -1, | |
"tasks": 4, | |
}, | |
"filter":[ | |
{ | |
"start_date":"2013-02-26T19:12:00+00:00" | |
} |
View gist:c4bf0461b7786fc990b4
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
{ | |
"next_offsets": { | |
"meetings": 2, | |
"calls": -1, | |
"tasks": 1 | |
}, | |
"records": [ | |
{ | |
"my_favorite": false, | |
"id": "89179177-41d7-311f-90ef-53a9ed038ae4", |
View gist:f4d0c1502fa2411478ff
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
<?php | |
function makeClass($origClass) { | |
$rc = new ReflectionClass($origClass); | |
if($rc->isInterface()) { | |
echo "Interface $origClass, skipped\n"; | |
return; | |
} | |
if($rc->isFinal()) { | |
echo "FINAL $origClass, skipped\n"; |
View gist:553c8b967fdb4419cfef
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
<?php | |
array( | |
'invitees' => array( | |
'name' => 'invitees', | |
'source' => 'non-db', | |
'type' => 'link_field', | |
'link' => 'meeting_invitees', | |
'fields' => ['id', 'name', 'picture', 'status'] | |
'sort_on' => 'name' |
View gist:2be9ada558dcb7eb22a1
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
{ | |
"id": "12346ewe", | |
"subject": "my meeting", | |
"contacts": { | |
"add": [ | |
"89179177-41d7-311f-90ef", | |
{ | |
"id": "473d122f-0a45-fef6-0138", | |
"role": "owner" | |
} |
OlderNewer