For signed cookies, refer here
from cloudfront_signed_url import generate_cloudfront_signed_url
generate_cloudfront_signed_url("https://your-cf-domain.com/path/to/file.txt", 3600)
For signed cookies, refer here
from cloudfront_signed_url import generate_cloudfront_signed_url
generate_cloudfront_signed_url("https://your-cf-domain.com/path/to/file.txt", 3600)
A handful of BigQuery SQL queries that you can use to analyze your own Google Analytics for Firebase data. To find out more about how they work, check out our presentation from Cloud Next 2018 (Video link to be added soon)
Please note that these scripts have been updated to make sure of the new Firebase schema, which was rolled out to Analytics products in July of 2018.
Note that none of these scripts will work out of the box -- you'll need to update the values in brackets with the names of your actual datasets, and you'll most likely also need to replace the names of events and event properties with ones that are appropriate for your app.
The contents of this gist are licensed under the Apache License, version 2.0
Thank you everybody, Your comments makes it better
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
#!/bin/bash | |
##################################################### | |
# Name: Bash CheatSheet for Mac OSX | |
# | |
# A little overlook of the Bash basics | |
# | |
# Usage: | |
# | |
# Author: J. Le Coupanec | |
# Date: 2014/11/04 |
[ | |
{ | |
"id": 0, | |
"guid": "1b8c3019-c0b6-44f9-b35c-5b1b2729551a", | |
"isActive": true, | |
"balance": "$3,163.00", | |
"picture": "http://placehold.it/32x32", | |
"age": 32, | |
"name": "Saunders Sosa", | |
"gender": "male", |
/* | |
For some reason, the change() event only fires when the input field loses focus. | |
Binding to other options ('change keypress paste focus textInput input') will | |
fire the event several times, which is bad. The below code works even when | |
content is pasted into the text field, and only fires once as expected. | |
*/ | |
$('#search-form .term').bind('input', function(){ | |
console.log('this actually works'); | |
}); |