Skip to content

Instantly share code, notes, and snippets.

View sleroux's full-sized avatar
:shipit:
on the loose

Stephan Leroux sleroux

:shipit:
on the loose
  • Shopify
  • Toronto, ON, Canada
View GitHub Profile
{
"data": [
{
"id": "nLybD3z",
"title": "That escalated quickly... ",
"description": null,
"datetime": 1529331742,
"cover": "LIGb5a7",
"cover_width": 400,
"cover_height": 400,
@sleroux
sleroux / plantpot.usda
Created June 6, 2018 18:59
The binary USDC file from the USDZ PlantPot file from the Apple AR Demo Site
#usda 1.0
(
doc = """Generated from Composed Stage of root layer /Volumes/Documents/ProjectR/redata/Content/ARViewer/HI/PlantPot/03 Exported (USD)/PlantPot.usdc
"""
endTimeCode = 200
startTimeCode = 1
timeCodesPerSecond = 24
upAxis = "Y"
)
@sleroux
sleroux / gist:156966fbd004c8fc99873b0946390f73
Created January 17, 2017 19:52
FxA Live Test Unverified
DBC9061B-13C8-4AC7-97BD-AC664D386B02/data/Containers/Data/Application/05E444B2-B409-4254-BFED-3A69C9D0C1EB/Library/Caches/Logs/keychain.log
2017-01-17 14:50:31.998 [Info] [KeychainCache.swift:53] checkpoint() > Storing account.state in Keychain with label account.state.tFbjg4a4NjJ9.
2017-01-17 14:50:32.005 [Warning] [KeychainCache.swift:41] fromBranch(_:withLabel:withDefault:factory:) > Did not find account.syncAuthState in Keychain with label account.syncAuthState.tFbjg4a4NjJ9.
2017-01-17 14:50:32.005 [Warning] [KeychainCache.swift:47] fromBranch(_:withLabel:withDefault:factory:) > Failed to read account.syncAuthState from Keychain.
Result was successful? true
2017-01-17 14:50:32.006 [Debug] [SyncAuthState.swift:114] token(_:canBeExpired:) > Advancing Account state.
2017-01-17 14:50:32.010 [Debug] [FirefoxAccount.swift:202] advance() > no advance() in progress; setting and returning new shared deferred.
2017-01-17 14:50:32.518 [Info] [FxALoginStateMachine.swift:58] advanceOneState(_:now:) > Advancing from st
iosbuild2:firefox-ios sleroux$ git branch
master
sleroux/MacProBuilding
temp_FirefoxBeta-v5.0b1
temp_FirefoxBeta-v5.0b10
temp_FirefoxBeta-v5.0b11
temp_FirefoxBeta-v5.0b12
temp_FirefoxBeta-v5.0b13
temp_FirefoxBeta-v5.0b8
temp_FirefoxBeta-v5.0b9
SELECT *
FROM (
SELECT * FROM (
SELECT history.id AS historyID, history.url AS url, history.title AS title, NULL AS latest, (SELECT count(1) FROM visits WHERE visits.siteID = history.id) as visitCount
FROM (
SELECT bmkUri
FROM view_bookmarksLocal_on_mirror
WHERE view_bookmarksLocal_on_mirror.server_modified > 1472836869199 OR view_bookmarksLocal_on_mirror.local_modified > 1472836869199
)
LEFT JOIN history ON history.url = bmkUri
SELECT DISTINCT historyID, url, title, guid, visitCount, visitDate, iconID, iconURL, iconType, iconDate, iconWidth
FROM (
SELECT historyID, url, title, guid, visitCount, visitDate
FROM (
SELECT *
FROM (
SELECT history.id as historyId, bmkUri as url, bookmarksLocal.title as title, history.guid as guid, sum(1) as visitCount, max(visits.date) as visitDate, bookmarksLocal.local_modified as modified
FROM bookmarksLocal
LEFT JOIN history ON history.url = bookmarksLocal.bmkUri
LEFT JOIN visits ON history.id = visits.siteID
Request:
POST /1.5/45737838/storage/bookmarks?batch=true HTTP/1.1
Host: sync-340-us-west-2.sync.services.mozilla.com
Content-Type: application/newlines
X-If-Unmodified-Since: 1472482703.87
Accept: */*
Connection: keep-alive
Proxy-Connection: keep-alive
Content-Length: 905
diff --git a/Client-Bridging-Header.h b/Client-Bridging-Header.h
index d3e75cb..8fdf6e9 100644
--- a/Client-Bridging-Header.h
+++ b/Client-Bridging-Header.h
@@ -8,6 +8,7 @@
#import "Try.h"
#import "GCDWebServer.h"
+#import "Crasher.h"
#import "GCDWebServerDataRequest.h"
{
"event_id": "3aa65b6a9bda1ef4bb3c73dfb20d3baa",
"message": "Errno::ENOENT: No such file or directory - ./fastlane/screenshots/screenshots.html",
"timestamp": "2016-01-21T14:06:17",
"time_spent": null,
"level": 40,
"project": null,
"platform": "ruby",
"logger": "",
"culprit": "snapshot/reports_generator.rb in write at line 34",
{
"event_id": "5411600fc1374d96e8c110bab072bd8f",
"message": "NoMethodError: undefined method `split' for nil:NilClass",
"timestamp": "2016-01-21T13:58:05",
"time_spent": null,
"level": 40,
"project": null,
"platform": "ruby",
"logger": "",
"culprit": "../../build-tools/fastlane/BaseFastfile in block (2 levels) in parsing_binding at line 211",