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
| var extraEvents: [String: Any] = [:] | |
| if let paramEvents = extra { | |
| extraEvents = extraEvents.merging(paramEvents) { (_, new) in new } | |
| } | |
| if let extraString = description { | |
| extraEvents = extraEvents.merging(["errorDescription": extraString]) { (_, new) in new } | |
| } |
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
| SELECT *, metadataDB.page_metadata.title AS metadata_title | |
| FROM | |
| ( | |
| SELECT * , id as historyID, max(length(url)), | |
| (SELECT count(1) FROM visits WHERE visits.siteID = history.id) as visitCount | |
| FROM history WHERE id IN ( | |
| SELECT DISTINCT siteID AS historyID | |
| FROM visits WHERE date > 1491243277100158 | |
| AND NOT EXISTS (SELECT * FROM visits WHERE siteID = historyID AND date > 1493055877100158) |
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
| class: center, middle | |
| # Title | |
| --- | |
| # Agenda | |
| 1. Introduction | |
| 2. Deep-dive |
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 | |
| MONGODUMP_PATH="/opt/local/bin/mongodump" | |
| MONGO_HOST="localhost" | |
| MONGO_PORT="27017" | |
| MONGO_DATABASE="paigeeworld_main" | |
| TIMESTAMP=`date +%F-%H%M` | |
| S3_BUCKET_NAME="paigeeworld-backup" |
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
| uenvcmd=setenv autoload no;dhcp;setenv loadaddr 0x80000000;setenv serverip 192.168.1.114;setenv tftproot /Users/farhan/cmpt433tftp;setenv bootfile ${tftproot}/download.bin;tftp ${loadaddr} ${bootfile};echo *** Booting to BareMetal ***; go ${loadaddr}; |
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
| { | |
| coursesData = ( | |
| { | |
| courseNumber = "\nMBB 231"; | |
| detailName = "Cellular Biology and Biochem."; | |
| infoData = ( | |
| { | |
| days = Fri; | |
| endTime = "1970-01-01 19:20:00 +0000"; | |
| location = "TASC2-8070"; |