Commit 19b925e7 authored by Janosch Schwalm's avatar Janosch Schwalm Committed by Marc Cornellà
Browse files

use https everywhere (#6574)

* use https everywhere

* use https links on the files that are left

Also, removed some broken links and updated redirections.
parent e934624b
...@@ -408,7 +408,7 @@ while [ $# -gt 0 ]; do ...@@ -408,7 +408,7 @@ while [ $# -gt 0 ]; do
uri=`osascript -e 'tell application "Spotify" to spotify url of current track'`; uri=`osascript -e 'tell application "Spotify" to spotify url of current track'`;
remove='spotify:track:' remove='spotify:track:'
url=${uri#$remove} url=${uri#$remove}
url="http://open.spotify.com/track/$url" url="https://open.spotify.com/track/$url"
if [ "$2" = "" ]; then if [ "$2" = "" ]; then
cecho "Spotify URL: $url" cecho "Spotify URL: $url"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
# All Rights Reserved. # All Rights Reserved.
# #
# This file is licensed under the GPLv2+. # This file is licensed under the GPLv2+.
# Please visit http://git.zx2c4.com/password-store/tree/COPYING for more information. # Please visit https://git.zx2c4.com/password-store/tree/COPYING for more information.
# #
# Oh my zsh plugin maintainer: Santiago Borrazás <sanbor@gmail.com> # Oh my zsh plugin maintainer: Santiago Borrazás <sanbor@gmail.com>
......
...@@ -4,13 +4,13 @@ ...@@ -4,13 +4,13 @@
Per directory history for zsh, as well as global history, and the Per directory history for zsh, as well as global history, and the
ability to toggle between them with ^G. ability to toggle between them with ^G.
This is a implementation of per directory history for zsh, some This is a implementation of per directory history for zsh, some
implementations of which exist in bash[1][],[2][]. It also implements implementations of which exist in bash[1][],[2][]. It also implements
a per-directory-history-toggle-history function to change from using the a per-directory-history-toggle-history function to change from using the
directory history to using the global history. In both cases the history is directory history to using the global history. In both cases the history is
always saved to both the global history and the directory history, so the always saved to both the global history and the directory history, so the
toggle state will not effect the saved histories. Being able to switch toggle state will not effect the saved histories. Being able to switch
between global and directory histories on the fly is a novel feature as far between global and directory histories on the fly is a novel feature as far
as I am aware. as I am aware.
This is a standalone repository for the script, however it is also included in This is a standalone repository for the script, however it is also included in
...@@ -34,7 +34,7 @@ Usage ...@@ -34,7 +34,7 @@ Usage
Configuration Configuration
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
* HISTORY_BASE a global variable that defines the base directory in which the * HISTORY_BASE a global variable that defines the base directory in which the
directory histories are stored directory histories are stored
* per-directory-history-toggle-history is the function to toggle the history * per-directory-history-toggle-history is the function to toggle the history
...@@ -42,14 +42,14 @@ Configuration ...@@ -42,14 +42,14 @@ Configuration
History History
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
The idea/inspiration for a per directory history is from [Stewart MacArthur][1] The idea/inspiration for a per directory history is from [Stewart MacArthur][1]
and [Dieter][2], the implementation idea is from [Bart Schaefer][3]. The and [Dieter][2], the implementation idea is from [Bart Schaefer][3]. The
implementation is by [Jim Hester][5] in September 2012. implementation is by [Jim Hester][5] in September 2012.
[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
[4]: https://github.com/robbyrussell/oh-my-zsh [4]: https://github.com/robbyrussell/oh-my-zsh
[5]: http://jimhester.com [5]: http://jimhester.com
[6]: http://github.com/jimhester/per-directory-history [6]: https://github.com/jimhester/per-directory-history
...@@ -26,7 +26,7 @@ ...@@ -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
# #
################################################################################ ################################################################################
# #
......
...@@ -2,9 +2,6 @@ ...@@ -2,9 +2,6 @@
Provides some useful function to make [percol](https://github.com/mooz/percol) work with zsh history and [jump plugin](https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/jump/jump.plugin.zsh) Provides some useful function to make [percol](https://github.com/mooz/percol) work with zsh history and [jump plugin](https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/jump/jump.plugin.zsh)
### Preview
![Preview](http://t1.qpic.cn/mblogpic/eb1c8f9d2b9f62d19fa8/2000.jpg)
### Requirements ### Requirements
```shell ```shell
......
...@@ -21,7 +21,7 @@ alias pd='perldoc' ...@@ -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;}'\'
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# FILE: _pod # FILE: _pod
# DESCRIPTION: Cocoapods (0.33.1) autocomplete plugin for Oh-My-Zsh # DESCRIPTION: Cocoapods (0.33.1) autocomplete plugin for Oh-My-Zsh
# http://cocoapods.org # https://cocoapods.org
# Generated with `pod --completion-script # Generated with `pod --completion-script
# AUTHOR: Alexandre Joly (alexandre.joly@mekanics.ch) # AUTHOR: Alexandre Joly (alexandre.joly@mekanics.ch)
# GITHUB: https://github.com/mekanics # GITHUB: https://github.com/mekanics
......
...@@ -73,7 +73,7 @@ powed(){ ...@@ -73,7 +73,7 @@ powed(){
} }
# Restart pow process # Restart pow process
# taken from http://www.matthewratzloff.com/blog/2011/12/23/restarting-pow-when-dns-stops-responding # taken from https://www.matthewratzloff.com
repow(){ repow(){
lsof | grep 20560 | awk '{print $2}' | xargs kill -9 lsof | grep 20560 | awk '{print $2}' | xargs kill -9
launchctl unload ~/Library/LaunchAgents/cx.pow.powd.plist launchctl unload ~/Library/LaunchAgents/cx.pow.powd.plist
......
...@@ -8,7 +8,7 @@ checks the file modification time to see if it needs to regenerate the cache ...@@ -8,7 +8,7 @@ checks the file modification time to see if it needs to regenerate the cache
file. file.
This is entirely based on [this pull request by Ullrich Schäfer](https://github.com/robb/.dotfiles/pull/10/), This is entirely based on [this pull request by Ullrich Schäfer](https://github.com/robb/.dotfiles/pull/10/),
which is inspired by [this Ruby on Rails trick from 2006](http://weblog.rubyonrails.org/2006/3/9/fast-rake-task-completion-for-zsh/). which is inspired by [this Ruby on Rails trick from 2006](https://weblog.rubyonrails.org/2006/3/9/fast-rake-task-completion-for-zsh/).
Think about that. 2006. Think about that. 2006.
......
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
**Maintainer:** [Stibbons](https://github.com/Stibbons) **Maintainer:** [Stibbons](https://github.com/Stibbons)
This plugin mainly add support automatic completion for the repo command line tool: This plugin mainly add support automatic completion for the repo command line tool:
http://code.google.com/p/git-repo/ https://code.google.com/p/git-repo/
* `r` aliases `repo` * `r` aliases `repo`
# 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
......
#compdef scala scalac #compdef scala scalac
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Copyright (c) 2012 Github zsh-users - http://github.com/zsh-users # Copyright (c) 2012 Github zsh-users - https://github.com/zsh-users
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
# Description # Description
# ----------- # -----------
# #
# Completion script for scala and scalac (http://www.scala-lang.org/). # Completion script for scala and scalac (https://www.scala-lang.org/).
# #
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Authors # Authors
......
...@@ -14,8 +14,8 @@ directory aliases, which appear as named directories in zsh session. ...@@ -14,8 +14,8 @@ directory aliases, which appear as named directories in zsh session.
## INSTALLATION NOTES ## INSTALLATION NOTES
Besides oh-my-zsh, `scd` can be used with *bash*, *dash* or *tcsh* Besides oh-my-zsh, `scd` can be used with *bash*, *dash* or *tcsh*
shells and is also available as [Vim](http://www.vim.org/) plugin and shells and is also available as [Vim](https://www.vim.org/) plugin and
[IPython](http://ipython.org/) extension. For installation details, see [IPython](https://ipython.org/) extension. For installation details, see
https://github.com/pavoljuhas/smart-change-directory. https://github.com/pavoljuhas/smart-change-directory.
## SYNOPSIS ## SYNOPSIS
......
#compdef scw #compdef scw
# #
# zsh completion for scw (http://scaleway.com) # zsh completion for scw (https://www.scaleway.com)
# #
# Inspired by https://github.com/felixr/docker-zsh-completion # Inspired by https://github.com/felixr/docker-zsh-completion
......
...@@ -57,10 +57,10 @@ supported. ...@@ -57,10 +57,10 @@ supported.
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://www.wtfpl.net>
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
## Misc ## Misc
......
...@@ -24,10 +24,10 @@ ...@@ -24,10 +24,10 @@
# Keywords: prompt directory truncate shrink collapse fish # Keywords: prompt directory truncate shrink collapse fish
# #
# 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://www.wtfpl.net>
# #
# 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
......
...@@ -10,16 +10,16 @@ oh-my-zsh Spring Boot plugin ...@@ -10,16 +10,16 @@ oh-my-zsh Spring Boot plugin
$ cd ~/.oh-my-zsh/plugins $ cd ~/.oh-my-zsh/plugins
$ git clone git@github.com:linux-china/oh-my-zsh-spring-boot-plugin.git spring $ git clone git@github.com:linux-china/oh-my-zsh-spring-boot-plugin.git spring
Adjust your .zshrc file and add spring to plugins=(...) Adjust your .zshrc file and add spring to plugins=(...)
## Tips ## Tips
* Install Spring Cloud plugin: spring install org.springframework.cloud:spring-cloud-cli:1.0.2.RELEASE * Install Spring Cloud plugin: spring install org.springframework.cloud:spring-cloud-cli:1.0.2.RELEASE
## Reference ## Reference
* Spring Boot: http://projects.spring.io/spring-boot/ * Spring Boot: https://spring.io/projects/spring-boot
* Spring Boot CLI: http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#cli * Spring Boot CLI: https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#cli
Maintainer : linux_china ([@linux_china](https://twitter.com/linux_china)) Maintainer : linux_china ([@linux_china](https://twitter.com/linux_china))
# Contributed and SLIGHTLY modded by Matt Parnell/ilikenwf <parwok -at- gmail> # Contributed and SLIGHTLY modded by Matt Parnell/ilikenwf <parwok -at- gmail>
# Created by the blogger at the URL below...I don't know where to find his/her name # Created by the blogger at the URL below...I don't know where to find his/her name
# Original found at http://www.shellperson.net/sprunge-pastebin-script/ # Original found at https://www.shellperson.net/sprunge-pastebin-script/
usage() { usage() {
description | fmt -s >&2 description | fmt -s >&2
} }
description() { description() {
cat << HERE cat << HERE
DESCRIPTION DESCRIPTION
Upload data and fetch URL from the pastebin http://sprunge.us Upload data and fetch URL from the pastebin http://sprunge.us
USAGE USAGE
$0 filename.txt $0 filename.txt
$0 text string $0 text string
$0 < filename.txt $0 < filename.txt
piped_data | $0 piped_data | $0
NOTES NOTES
-------------------------------------------------------------------------- --------------------------------------------------------------------------
* INPUT METHODS * * INPUT METHODS *
$0 can accept piped data, STDIN redirection [<filename.txt], text strings following the command as arguments, or filenames as arguments. Only one of these methods can be used at a time, so please see the note on precedence. Also, note that using a pipe or STDIN redirection will treat tabs as spaces, or disregard them entirely (if they appear at the beginning of a line). So I suggest using a filename as an argument if tabs are important either to the function or readability of the code. $0 can accept piped data, STDIN redirection [<filename.txt], text strings following the command as arguments, or filenames as arguments. Only one of these methods can be used at a time, so please see the note on precedence. Also, note that using a pipe or STDIN redirection will treat tabs as spaces, or disregard them entirely (if they appear at the beginning of a line). So I suggest using a filename as an argument if tabs are important either to the function or readability of the code.
* PRECEDENCE * * PRECEDENCE *
STDIN redirection has precedence, then piped input, then a filename as an argument, and finally text strings as an arguments. STDIN redirection has precedence, then piped input, then a filename as an argument, and finally text strings as an arguments.
EXAMPLE: EXAMPLE:
echo piped | "$0" arguments.txt < stdin_redirection.txt echo piped | "$0" arguments.txt < stdin_redirection.txt
In this example, the contents of file_as_stdin_redirection.txt would be uploaded. Both the piped_text and the file_as_argument.txt are ignored. If there is piped input and arguments, the arguments will be ignored, and the piped input uploaded. In this example, the contents of file_as_stdin_redirection.txt would be uploaded. Both the piped_text and the file_as_argument.txt are ignored. If there is piped input and arguments, the arguments will be ignored, and the piped input uploaded.
* FILENAMES * * FILENAMES *
If a filename is misspelled or doesn't have the necessary path description, it will NOT generate an error, but will instead treat it as a text string and upload it. If a filename is misspelled or doesn't have the necessary path description, it will NOT generate an error, but will instead treat it as a text string and upload it.
-------------------------------------------------------------------------- --------------------------------------------------------------------------
HERE HERE
exit exit
} }
......
...@@ -35,6 +35,6 @@ zstyle :omz:plugins:ssh-agent lifetime 4h ...@@ -35,6 +35,6 @@ zstyle :omz:plugins:ssh-agent lifetime 4h
## Credits ## Credits
Based on code from Joseph M. Reagle: http://www.cygwin.com/ml/cygwin/2001-06/msg00537.html Based on code from Joseph M. Reagle: https://www.cygwin.com/ml/cygwin/2001-06/msg00537.html
Agent-forwarding support based on ideas from Florent Thoumie and Jonas Pfenniger Agent-forwarding support based on ideas from Florent Thoumie and Jonas Pfenniger
...@@ -4,7 +4,7 @@ Plugin for Sublime Text, a cross platform text and code editor, available for Li ...@@ -4,7 +4,7 @@ Plugin for Sublime Text, a cross platform text and code editor, available for Li
### Requirements ### Requirements
* [Sublime Text](http://www.sublimetext.com/) * [Sublime Text](https://www.sublimetext.com/)
### Usage ### Usage
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment