This will let you access any google owned site. This includes: youtube, google cache, google translate, google search, gmail, google news, etc.
- Install the HTTPS Everywhere extension
- Add these rules to your /etc/hosts file
| -- Functions to create and draw histograms with PostgreSQL. | |
| -- | |
| -- psql# WITH email_lengths AS ( | |
| -- -# SELECT length(email) AS length | |
| -- -# FROM auth_user | |
| -- -# LIMIT 100 | |
| -- -# ) | |
| -- -# SELECT * FROM show_histogram((SELECT histogram(length, 0, 32, 6) FROM email_lengths)) | |
| -- bucket | range | count | bar | cumbar | cumsum | cumpct | |
| -- --------+-------------------------------------+-------+--------------------------------+--------------------------------+--------+------------------------ |
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |
| #!/usr/bin/env python | |
| """ Script to scrape images from a flickr account. | |
| Author: Ralph Bean <rbean@redhat.com> | |
| """ | |
| import ConfigParser | |
| import urllib | |
| import requests |
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParent| local alert = require("hs.alert") | |
| local timer = require("hs.timer") | |
| local eventtap = require("hs.eventtap") | |
| local events = eventtap.event.types | |
| local module = {} | |
| -- Save this in your Hammerspoon configuration directiorn (~/.hammerspoon/) | |
| -- You either override timeFrame and action here or after including this file from another, e.g. |
| var async = require('async'); | |
| var AWS = require('aws-sdk'); | |
| AWS.config.update({region:'us-east-1'}); | |
| var request = require('request'); | |
| var s3 = new AWS.S3({ apiVersion: '2006-03-01' }); | |
| var sns = new AWS.SNS(); | |
| var new_upload_arn = "arn:aws:sns:us-east-1:346805855669:vuedating_new_presenece"; | |
| //Lambda entry point |
| license: gpl-3.0 | |
| height: 1030 | |
| scrolling: yes |
| // | |
| // Based on: https://blog.beecomedigital.com/2015/06/27/developing-a-filesystemwatcher-for-os-x-by-using-fsevents-with-swift-2/ | |
| // | |
| import Foundation | |
| public struct Event: CustomStringConvertible { | |
| public let eventId: FSEventStreamEventId | |
| public let eventPath: String |
| let cachedMongoClient = null; | |
| let cachedMongoDb = null; | |
| exports.connect = async () => { | |
| if (cachedMongoDb && cachedMongoClient && cachedMongoClient.isConnected()) { | |
| return cachedMongoDb; | |
| } | |
| cachedMongoClient = await MongoClient.connect('MONGO_CONNECTION', { useNewUrlParser: true }); |