Skip to content

Instantly share code, notes, and snippets.

View config
# Needed for some old machines and iPhones.
KexAlgorithms +diffie-hellman-group1-sha1
############################################################
# Enter any host specific configuration here.
Host example
Hostname 1.1.1.1
User myuser
@MarioVilas
MarioVilas / p
Created Oct 1, 2016
Stupid simple script to git pull from a lot of repositories.
View p
#!/bin/bash
for i in */.git
do
cd $i/..
git pull
cd ..
done
View keybase.md

Keybase proof

I hereby claim:

  • I am mariovilas on github.
  • I am mariovilas (https://keybase.io/mariovilas) on keybase.
  • I have a public key ASDlfUznGeHiHyE_OEWC_0uA0OXR6wR5WB2BNt5fb9a7Sgo

To claim this, I am signing this object:

@MarioVilas
MarioVilas / no-interactive-login
Created Apr 18, 2016
A simple script so git users can enumerate the repositories they can access. Place it at: ~/git-shell-commands/no-interactive-login
View no-interactive-login
#!/bin/sh
echo
echo 'SSH successfully configured.'
echo 'Now try running:'
for i in *.git
do
printf ' git clone %s@%s:%s\n' $USER $(cat /etc/hostname) $i
done
echo
exit 128
View gist:9e7111b8443cb7e116a4
diff --git a/bindings/python/setup.py b/bindings/python/setup.py
old mode 100644
new mode 100755
index acfe7ed..4728455
--- a/bindings/python/setup.py
+++ b/bindings/python/setup.py
@@ -98,7 +98,7 @@ class custom_build_clib(build_clib):
build_clib.finalize_options(self)
def build_libraries(self, libraries):
You can’t perform that action at this time.