use https everywhere
This commit is contained in:
parent
37c2d0ddd7
commit
111e89a726
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Requires http://www.bruji.com/bwana/
|
# Requires https://www.bruji.com/bwana/
|
||||||
#
|
#
|
||||||
if [[ -e /Applications/Bwana.app ]] ||
|
if [[ -e /Applications/Bwana.app ]] ||
|
||||||
( system_profiler -detailLevel mini SPApplicationsDataType | grep -q Bwana )
|
( system_profiler -detailLevel mini SPApplicationsDataType | grep -q Bwana )
|
||||||
@ -9,5 +9,5 @@ then
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
echo "Bwana lets you read man files in Safari through a man: URI scheme"
|
echo "Bwana lets you read man files in Safari through a man: URI scheme"
|
||||||
echo "To use it within Zsh, install it from http://www.bruji.com/bwana/"
|
echo "To use it within Zsh, install it from https://www.bruji.com/bwana/"
|
||||||
fi
|
fi
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
# catimg script by Eduardo San Martin Morote aka Posva #
|
# catimg script by Eduardo San Martin Morote aka Posva #
|
||||||
# http://posva.net #
|
# https://posva.net #
|
||||||
# #
|
# #
|
||||||
# Ouput the content of an image to the stdout using the 256 colors of the #
|
# Ouput the content of an image to the stdout using the 256 colors of the #
|
||||||
# terminal. #
|
# terminal. #
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Uses the command-not-found package zsh support
|
# Uses the command-not-found package zsh support
|
||||||
# as seen in http://www.porcheron.info/command-not-found-for-zsh/
|
# as seen in https://www.porcheron.info/command-not-found-for-zsh/
|
||||||
# this is installed in Ubuntu
|
# this is installed in Ubuntu
|
||||||
|
|
||||||
[[ -e /etc/zsh_command_not_found ]] && source /etc/zsh_command_not_found
|
[[ -e /etc/zsh_command_not_found ]] && source /etc/zsh_command_not_found
|
||||||
|
@ -176,7 +176,7 @@ apt-copy() {
|
|||||||
# apt-history remove
|
# apt-history remove
|
||||||
# apt-history rollback
|
# apt-history rollback
|
||||||
# apt-history list
|
# apt-history list
|
||||||
# Based On: http://linuxcommando.blogspot.com/2008/08/how-to-show-apt-log-history.html
|
# Based On: https://linuxcommando.blogspot.com/2008/08/how-to-show-apt-log-history.html
|
||||||
apt-history () {
|
apt-history () {
|
||||||
case "$1" in
|
case "$1" in
|
||||||
install)
|
install)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Ember CLI
|
# Ember CLI
|
||||||
# Visit http://www.ember-cli.com/ to view user guide
|
# Visit https://www.ember-cli.com/ to view user guide
|
||||||
|
|
||||||
alias es='ember serve'
|
alias es='ember serve'
|
||||||
alias ea='ember addon'
|
alias ea='ember addon'
|
||||||
|
@ -29,13 +29,13 @@ function frontend() {
|
|||||||
angularjs 'https://google.com/search?as_sitesearch=angularjs.org&as_q='
|
angularjs 'https://google.com/search?as_sitesearch=angularjs.org&as_q='
|
||||||
aurajs 'http://aurajs.com/api/#stq='
|
aurajs 'http://aurajs.com/api/#stq='
|
||||||
bem 'https://google.com/search?as_sitesearch=bem.info&as_q='
|
bem 'https://google.com/search?as_sitesearch=bem.info&as_q='
|
||||||
bootsnipp 'http://bootsnipp.com/search?q='
|
bootsnipp 'https://bootsnipp.com/search?q='
|
||||||
caniuse 'http://caniuse.com/#search='
|
caniuse 'https://caniuse.com/#search='
|
||||||
codepen 'http://codepen.io/search?q='
|
codepen 'https://codepen.io/search?q='
|
||||||
compassdoc 'http://compass-style.org/search?q='
|
compassdoc 'http://compass-style.org/search?q='
|
||||||
cssflow 'http://www.cssflow.com/search?q='
|
cssflow 'http://www.cssflow.com/search?q='
|
||||||
dartlang 'https://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/dart:'
|
dartlang 'https://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/dart:'
|
||||||
emberjs 'http://emberjs.com/api/#stp=1&stq='
|
emberjs 'https://emberjs.com/api/#stp=1&stq='
|
||||||
fontello 'http://fontello.com/#search='
|
fontello 'http://fontello.com/#search='
|
||||||
html5please 'http://html5please.com/#'
|
html5please 'http://html5please.com/#'
|
||||||
jquery 'https://api.jquery.com/?s='
|
jquery 'https://api.jquery.com/?s='
|
||||||
@ -45,7 +45,7 @@ function frontend() {
|
|||||||
qunit 'https://api.qunitjs.com/?s='
|
qunit 'https://api.qunitjs.com/?s='
|
||||||
reactjs 'https://google.com/search?as_sitesearch=facebook.github.io/react&as_q='
|
reactjs 'https://google.com/search?as_sitesearch=facebook.github.io/react&as_q='
|
||||||
smacss 'https://google.com/search?as_sitesearch=smacss.com&as_q='
|
smacss 'https://google.com/search?as_sitesearch=smacss.com&as_q='
|
||||||
stackoverflow 'http://stackoverflow.com/search?q='
|
stackoverflow 'https://stackoverflow.com/search?q='
|
||||||
unheap 'http://www.unheap.com/?s='
|
unheap 'http://www.unheap.com/?s='
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# Description
|
# Description
|
||||||
# -----------
|
# -----------
|
||||||
#
|
#
|
||||||
# Completion script for git-extras (http://github.com/tj/git-extras).
|
# Completion script for git-extras (https://github.com/tj/git-extras).
|
||||||
#
|
#
|
||||||
# This depends on and reuses some of the internals of the _git completion
|
# This depends on and reuses some of the internals of the _git completion
|
||||||
# function that ships with zsh itself. It will not work with the _git that ships
|
# function that ships with zsh itself. It will not work with the _git that ships
|
||||||
@ -19,8 +19,8 @@
|
|||||||
# Inspirations
|
# Inspirations
|
||||||
# -----------
|
# -----------
|
||||||
#
|
#
|
||||||
# * git-extras (http://github.com/tj/git-extras)
|
# * git-extras (https://github.com/tj/git-extras)
|
||||||
# * git-flow-completion (http://github.com/bobthecow/git-flow-completion)
|
# * git-flow-completion (https://github.com/bobthecow/git-flow-completion)
|
||||||
#
|
#
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# ZSH Git Prompt Plugin from:
|
# ZSH Git Prompt Plugin from:
|
||||||
# http://github.com/olivierverdier/zsh-git-prompt
|
# https://github.com/olivierverdier/zsh-git-prompt
|
||||||
|
|
||||||
__GIT_PROMPT_DIR="${0:A:h}"
|
__GIT_PROMPT_DIR="${0:A:h}"
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Set up hub wrapper for git, if it is available; http://github.com/github/hub
|
# Set up hub wrapper for git, if it is available; https://github.com/github/hub
|
||||||
if [ "$commands[(I)hub]" ]; then
|
if [ "$commands[(I)hub]" ]; then
|
||||||
if hub --version &>/dev/null; then
|
if hub --version &>/dev/null; then
|
||||||
eval $(hub alias -s zsh)
|
eval $(hub alias -s zsh)
|
||||||
@ -65,7 +65,7 @@ exist_gh() { # [DIRECTORY]
|
|||||||
# git.io "GitHub URL"
|
# git.io "GitHub URL"
|
||||||
#
|
#
|
||||||
# Shorten GitHub url, example:
|
# Shorten GitHub url, example:
|
||||||
# https://github.com/nvogel/dotzsh > http://git.io/8nU25w
|
# https://github.com/nvogel/dotzsh > https://git.io/8nU25w
|
||||||
# source: https://github.com/nvogel/dotzsh
|
# source: https://github.com/nvogel/dotzsh
|
||||||
# documentation: https://github.com/blog/985-git-io-github-url-shortener
|
# documentation: https://github.com/blog/985-git-io-github-url-shortener
|
||||||
#
|
#
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# To use: add a .lighthouse file into your directory with the URL to the
|
# To use: add a .lighthouse file into your directory with the URL to the
|
||||||
# individual project. For example:
|
# individual project. For example:
|
||||||
# https://rails.lighthouseapp.com/projects/8994
|
# https://rails.lighthouseapp.com/projects/8994
|
||||||
# Example usage: http://screencast.com/t/ZDgwNDUwNT
|
# Example usage: https://screencast.com/t/ZDgwNDUwNT
|
||||||
open_lighthouse_ticket () {
|
open_lighthouse_ticket () {
|
||||||
if [ ! -f .lighthouse-url ]; then
|
if [ ! -f .lighthouse-url ]; then
|
||||||
echo "There is no .lighthouse-url file in the current directory..."
|
echo "There is no .lighthouse-url file in the current directory..."
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# LOL!!1
|
# LOL!!1
|
||||||
# Source: http://aur.archlinux.org/packages/lolbash/lolbash/lolbash.sh
|
# Source: https://aur.archlinux.org/packages/lolbash/lolbash/lolbash.sh
|
||||||
|
|
||||||
alias wtf='dmesg'
|
alias wtf='dmesg'
|
||||||
alias onoz='cat /var/log/errors.log'
|
alias onoz='cat /var/log/errors.log'
|
||||||
@ -45,7 +45,7 @@ alias bringz='git pull'
|
|||||||
alias chicken='git add'
|
alias chicken='git add'
|
||||||
alias oanward='git commit -m'
|
alias oanward='git commit -m'
|
||||||
alias ooanward='git commit -am'
|
alias ooanward='git commit -am'
|
||||||
alias yolo='git commit -m "$(curl -s whatthecommit.com/index.txt)"'
|
alias yolo='git commit -m "$(curl -s https://whatthecommit.com/index.txt)"'
|
||||||
alias letcat='git checkout'
|
alias letcat='git checkout'
|
||||||
alias violenz='git rebase'
|
alias violenz='git rebase'
|
||||||
|
|
||||||
|
@ -241,7 +241,7 @@ if [[ ! -z "$playlist" ]]; then
|
|||||||
|
|
||||||
case "$state" in
|
case "$state" in
|
||||||
on|off)
|
on|off)
|
||||||
# Inspired by: http://stackoverflow.com/a/14675583
|
# Inspired by: https://stackoverflow.com/a/14675583
|
||||||
osascript 1>/dev/null 2>&1 <<-EOF
|
osascript 1>/dev/null 2>&1 <<-EOF
|
||||||
tell application "System Events" to perform action "AXPress" of (menu item "${state}" of menu "Shuffle" of menu item "Shuffle" of menu "Controls" of menu bar item "Controls" of menu bar 1 of application process "iTunes" )
|
tell application "System Events" to perform action "AXPress" of (menu item "${state}" of menu "Shuffle" of menu item "Shuffle" of menu "Controls" of menu bar item "Controls" of menu bar 1 of application process "iTunes" )
|
||||||
EOF
|
EOF
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
#
|
#
|
||||||
# [1]: http://www.compbiome.com/2010/07/bash-per-directory-bash-history.html
|
# [1]: http://www.compbiome.com/2010/07/bash-per-directory-bash-history.html
|
||||||
# [2]: http://dieter.plaetinck.be/per_directory_bash
|
# [2]: http://dieter.plaetinck.be/per_directory_bash
|
||||||
# [3]: http://www.zsh.org/mla/users/1997/msg00226.html
|
# [3]: https://www.zsh.org/mla/users/1997/msg00226.html
|
||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
#
|
#
|
||||||
|
@ -21,7 +21,7 @@ alias pd='perldoc'
|
|||||||
alias ple='perl -wlne'
|
alias ple='perl -wlne'
|
||||||
|
|
||||||
# show the latest stable release of Perl
|
# show the latest stable release of Perl
|
||||||
alias latest-perl='curl -s http://www.perl.org/get.html | perl -wlne '\''if (/perl\-([\d\.]+)\.tar\.gz/) { print $1; exit;}'\'
|
alias latest-perl='curl -s https://www.perl.org/get.html | perl -wlne '\''if (/perl\-([\d\.]+)\.tar\.gz/) { print $1; exit;}'\'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Get a random quote fron the site http://www.quotationspage.com/random.php3
|
# Get a random quote fron the site http://www.quotationspage.com/random.php3
|
||||||
# Created by Eduardo San Martin Morote aka Posva
|
# Created by Eduardo San Martin Morote aka Posva
|
||||||
# http://posva.github.io
|
# https://posva.github.io
|
||||||
# Sun Jun 09 10:59:36 CEST 2013
|
# Sun Jun 09 10:59:36 CEST 2013
|
||||||
# Don't remove this header, thank you
|
# Don't remove this header, thank you
|
||||||
# Usage: quote
|
# Usage: quote
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# Code from Mikael Magnusson: http://www.zsh.org/mla/users/2011/msg00367.html
|
# Code from Mikael Magnusson: https://www.zsh.org/mla/users/2011/msg00367.html
|
||||||
#
|
#
|
||||||
# Requires xterm, urxvt, iTerm2 or any other terminal that supports bracketed
|
# Requires xterm, urxvt, iTerm2 or any other terminal that supports bracketed
|
||||||
# paste mode as documented: http://www.xfree86.org/current/ctlseqs.html
|
# paste mode as documented: https://www.xfree86.org/current/ctlseqs.html
|
||||||
|
|
||||||
# create a new keymap to use while pasting
|
# create a new keymap to use while pasting
|
||||||
bindkey -N paste
|
bindkey -N paste
|
||||||
|
@ -26,8 +26,8 @@
|
|||||||
# Copyright (C) 2008 by Daniel Friesel <derf@xxxxxxxxxxxxxxxxxx>
|
# Copyright (C) 2008 by Daniel Friesel <derf@xxxxxxxxxxxxxxxxxx>
|
||||||
# License: WTFPL <http://sam.zoy.org/wtfpl>
|
# License: WTFPL <http://sam.zoy.org/wtfpl>
|
||||||
#
|
#
|
||||||
# Ref: http://www.zsh.org/mla/workers/2009/msg00415.html
|
# Ref: https://www.zsh.org/mla/workers/2009/msg00415.html
|
||||||
# http://www.zsh.org/mla/workers/2009/msg00419.html
|
# https://www.zsh.org/mla/workers/2009/msg00419.html
|
||||||
|
|
||||||
shrink_path () {
|
shrink_path () {
|
||||||
setopt localoptions
|
setopt localoptions
|
||||||
|
@ -102,7 +102,7 @@ aar() {
|
|||||||
# apt-history remove
|
# apt-history remove
|
||||||
# apt-history rollback
|
# apt-history rollback
|
||||||
# apt-history list
|
# apt-history list
|
||||||
# Based On: http://linuxcommando.blogspot.com/2008/08/how-to-show-apt-log-history.html
|
# Based On: https://linuxcommando.blogspot.com/2008/08/how-to-show-apt-log-history.html
|
||||||
apt-history () {
|
apt-history () {
|
||||||
case "$1" in
|
case "$1" in
|
||||||
install)
|
install)
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# Adds handy command line aliases useful for dealing with URLs
|
# Adds handy command line aliases useful for dealing with URLs
|
||||||
#
|
#
|
||||||
# Taken from:
|
# Taken from:
|
||||||
# http://ruslanspivak.com/2010/06/02/urlencode-and-urldecode-from-a-command-line/
|
# https://ruslanspivak.com/2010/06/02/urlencode-and-urldecode-from-a-command-line/
|
||||||
|
|
||||||
if [[ $(whence $URLTOOLS_METHOD) = "" ]]; then
|
if [[ $(whence $URLTOOLS_METHOD) = "" ]]; then
|
||||||
URLTOOLS_METHOD=""
|
URLTOOLS_METHOD=""
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# WP-CLI
|
# WP-CLI
|
||||||
# A command line interface for WordPress
|
# A command line interface for WordPress
|
||||||
# http://wp-cli.org/
|
# https://wp-cli.org/
|
||||||
|
|
||||||
# Cache
|
# Cache
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ alias xcp='xcode-select --print-path'
|
|||||||
alias xcsel='sudo xcode-select --switch'
|
alias xcsel='sudo xcode-select --switch'
|
||||||
|
|
||||||
# original author: @subdigital
|
# original author: @subdigital
|
||||||
# source: http://gist.github.com/subdigital/5420709
|
# source: https://gist.github.com/subdigital/5420709
|
||||||
function xc {
|
function xc {
|
||||||
local xcode_proj
|
local xcode_proj
|
||||||
if [[ $# == 0 ]]; then
|
if [[ $# == 0 ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user