Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
rcfiles
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nimrod
rcfiles
Commits
90894784
Commit
90894784
authored
8 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
- Added alias for transmission-remote (create an SSH tunnel before hand,
port forward). Adjusted the SSH config accordingly.
parent
66bf1e5c
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.bashrc
+1
-0
1 addition, 0 deletions
.bashrc
.ssh/config.d/20_shore
+1
-1
1 addition, 1 deletion
.ssh/config.d/20_shore
with
2 additions
and
1 deletion
.bashrc
+
1
−
0
View file @
90894784
...
@@ -100,6 +100,7 @@ alias toupper='awk "{print toupper(\$0)}"'
...
@@ -100,6 +100,7 @@ alias toupper='awk "{print toupper(\$0)}"'
alias
wifi-portal
=
'curl --silent --fail --write-out "%{redirect_url}" --output /dev/null http://detectportal.firefox.com/success.txt'
alias
wifi-portal
=
'curl --silent --fail --write-out "%{redirect_url}" --output /dev/null http://detectportal.firefox.com/success.txt'
alias
urlencode
=
'perl -MURI::Escape -ne "chomp;print uri_escape(\$_), \"\n\""'
alias
urlencode
=
'perl -MURI::Escape -ne "chomp;print uri_escape(\$_), \"\n\""'
alias
urldecode
=
'perl -MURI::Escape -ne "chomp;print uri_unescape(\$_), \"\n\""'
alias
urldecode
=
'perl -MURI::Escape -ne "chomp;print uri_unescape(\$_), \"\n\""'
alias
transmission-remote
=
'ssh -fNo ExitOnForwardFailure=yes xbmc.shore.co.il && transmission-remote'
deduce_aws_region
()
{
deduce_aws_region
()
{
AWS_DEFAULT_REGION
=
"
$(
curl
--silent
\
AWS_DEFAULT_REGION
=
"
$(
curl
--silent
\
...
...
This diff is collapsed.
Click to expand it.
.ssh/config.d/20_shore
+
1
−
1
View file @
90894784
# shore.co.il infrastructure
# shore.co.il infrastructure
Host ns1.shore.co.il www.shore.co.il
Host ns1.shore.co.il www.shore.co.il
LocalForward 9091 xbmc.shore.co.il:9091
DynamicForward 8080
DynamicForward 8080
Host xbmc.shore.co.il
Host xbmc.shore.co.il
ForwardX11 yes
ForwardX11 yes
LocalForward 9091 localhost:9091
ProxyCommand ssh ns1.shore.co.il -W %h:%p
ProxyCommand ssh ns1.shore.co.il -W %h:%p
Host ns2.shore.co.il
Host ns2.shore.co.il
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment