Skip to content

Instantly share code, notes, and snippets.

View neikeq's full-sized avatar
🪐
Working from Saturn

Ignacio Roldán Etcheverry neikeq

🪐
Working from Saturn
  • Madrid
View GitHub Profile
@neikeq
neikeq / remote-to-https.sh
Created June 16, 2020 02:19
Scripts to automatically convert URL of all git remotes from HTTPS to SSH and viceversa
#!/bin/bash
git remote | while read -r REMOTE ; do
echo "Converting remote '$REMOTE' to HTTPS"
git remote set-url $REMOTE $(git remote show $REMOTE | grep "Fetch URL" | sed 's/ *Fetch URL: //' | sed 's/[email protected]:/https:\/\/github.com\//')
done
#!/bin/bash
set -e;
set -o pipefail;
set -x;
: ${GODOT_SOURCE_ROOT:?Variable GODOT_SOURCE_ROOT not set or empty}
: ${MONO_INSTALLS_DIR:=${HOME}/mono-installs}
@neikeq
neikeq / build.sh
Last active January 29, 2020 14:31
Repro
#!/bin/bash
ldc2 -wi -v -c test.d
@neikeq
neikeq / build.godot.android.sh
Last active November 12, 2019 22:10
Build Godot with Mono for Android. Use together with: https://gist.github.com/neikeq/8f0f4872ab4a07873c35ba4465215344
#!/bin/bash
set -e;
set -o pipefail;
set -x;
: ${GODOT_SOURCE_ROOT:?Variable GODOT_SOURCE_ROOT not set or empty}
: ${MONO_INSTALLS_DIR:=${HOME}/mono-installs}
#!/usr/bin/python
from os import environ
from os.path import exists as path_exists, join as path_join, isfile, isdir, abspath
from sys import exit
class MonoBuildError(Exception):
'''Generic exception for custom build errors'''
def __init__(self, msg):
@neikeq
neikeq / build.godot.android.sh
Last active June 3, 2019 21:30
Bash scripts to build Godot with Mono for Android
#!/bin/bash
set -e;
set -o pipefail;
set -x;
: ${GODOT_SOURCE_ROOT:?Variable GODOT_SOURCE_ROOT not set or empty}
: ${MONO_SOURCE_ROOT:?Variable MONO_SOURCE_ROOT not set or empty}
@neikeq
neikeq / 5.gif
Last active May 18, 2019 19:18
A
5.gif
@neikeq
neikeq / 4.gif
Last active May 18, 2019 19:18
R
4.gif
@neikeq
neikeq / 3.gif
Last active May 18, 2019 19:16
A
3.gif
@neikeq
neikeq / 2.gif
Last active December 2, 2020 16:25
R
2.gif