THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
| #!/bin/bash | |
| # Attempts to fast-forward the current local branch to its remote tracked branch. | |
| # Safely refuses if there is no remote tracking, or if a fast-forward is not possible. | |
| # @author Paul Annesley | |
| if [ -n "$(git merge --ff-only 2>&1 | grep 'unknown option')" ]; then | |
| echo "Your git doesn't seem to support --ff-only... try git 1.7+" | |
| exit 1 | |
| fi |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
| require 'twitter' | |
| require "json" | |
| USERNAME = 'YOUR_TWITTER_USER_NAME' | |
| ARCHIVE_PATH = 'archive/data/js/tweets' | |
| client = Twitter::REST::Client.new do |config| | |
| config.consumer_key = 'TWITTER_APP_API_KEY' | |
| config.consumer_secret = 'TWITTER_APP_API_SECRET' | |
| config.access_token = 'TWITTER_APP_ACCESS_TOKEN' |
[ Update 2025-03-24: Commenting is disabled permanently. Previous comments are archived at web.archive.org. ]
Most of the terminal emulators auto-detect when a URL appears onscreen and allow to conveniently open them (e.g. via Ctrl+click or Cmd+click, or the right click menu).
It was, however, not possible until now for arbitrary text to point to URLs, just as on webpages.