Inspired by a Gist from kevinelliott - thanks!
- Xcode - for command line tools required by Homebrew
Inspired by a Gist from kevinelliott - thanks!
| telnet gmail-smtp-in.l.google.com 25 | |
| Connected to gmail-smtp-in.l.google.com. | |
| 220 mx.google.com ESMTP t2si1556751otm.271 - gsmtp | |
| HELO gmail.com | |
| 250 mx.google.com at your service | |
| mail from:<[email protected]> | |
| 250 2.1.0 OK t2si1556751otm.271 - gsmtp | |
| rcpt to:<[email protected]> | |
| 550-5.1.1 The email account that you tried to reach does not exist. Please try | |
| 550-5.1.1 double-checking the recipient's email address for typos or |
| // tries to execute the uri:scheme | |
| function uriSchemeWithHyperlinkFallback(uri, href) { | |
| if(!window.open(uri)){ | |
| window.location = href; | |
| } | |
| } |
| #!/bin/bash | |
| # | |
| # Description: Shell script to backup all MAMP MySQL databases into compressed files | |
| # Script: mamp-db-backup.sh | |
| # Version: 1.0.1 | |
| # Script Website: https://gist.github.com/dominicfallows/c1f7bd150f946b7d1dfd1a720a13f8fc | |
| # Author: Dominic Fallows | |
| # Author Website: https://gist.github.com/dominicfallows | |
| # | |
| # Requirements: |
| import React from 'react'; | |
| export default class EventComponent extends React.Component { | |
| constructor(props) { | |
| super(props); | |
| this._onTouchStart = this._onTouchStart.bind(this); | |
| this._onTouchMove = this._onTouchMove.bind(this); | |
| this._onTouchEnd = this._onTouchEnd.bind(this); |
| /** | |
| * Create Google Calendar from Dispo Spreadsheet | |
| * by Amir Esmann [email protected] | |
| * | |
| * Legent : Cell Red #ff0000. GEBLOCKT | |
| * Cell GREEN #92d050. GEBUCHT | |
| * Cell.YELLOW | |
| * Todo: Check if Termin Exist | GET Aktive SHEET NAME | |
| * DEF :https://stackoverflow.com/questions/50815817/google-script-select-an-entire-row-in-a-google-spreadsheet | |
| */ |
Examples here use the default settings, see the VidStab readme on GitHub for more advanced instructions.
Here's an example video I made
brew install ffmpeg --with-libvidstab
I recently got a new Macbook Pro and wanted to document how I setup my PHP environment. I like full control of how PHP is built and I usually build it from source. I do this because I often add custom extensions and modules not found in the common PHP OSX installers. If your looking for a easier method than building from source try https://php-osx.liip.ch/.
NOTE: This post assumes you are running a fresh install of MacOS Sierra 10.12.16 with System Integrity Protection disabled. If you don't know how to disable it just boot into recovery mode and open a terminal and type
csrutil disable, or google search it :) This post also assumes you are using Zsh instead of Bash shell. If you are using Bash you can replace anytime you see~/.zshrcwith~/.bashrc.
First lets get some of the prerequisites. Start by grabbing the command line tools neccessary:
xcode-select --install| // Run this in the F12 javascript console in chrome | |
| // if a redirect happens, the page will pause | |
| // this helps because chrome's network tab's | |
| // "preserve log" seems to technically preserve the log | |
| // but you can't actually LOOK at it... | |
| // also the "replay xhr" feature does not work after reload | |
| // even if you "preserve log". | |
| window.addEventListener("beforeunload", function() { debugger; }, false) |
I've sniffed most of the Tinder API to see how it works. You can use this to create bots (etc) very trivially. Some example python bot code is here -> https://gist.github.com/rtt/5a2e0cfa638c938cca59 (horribly quick and dirty, you've been warned!)
Note: this was written in April/May 2014 and the API may have changed since. I have nothing to do with Tinder, nor their API, and I do not offer any support for anything you may build on top of this