Skip to content

Instantly share code, notes, and snippets.

"""Creates a 3D surface plot, can be used as an example for demonstrating gradient descent
Author: Markus Frey
E-mail: markus.frey1@gmail.com
"""
import numpy as np
import pandas as pd
import os
import matplotlib.pyplot as plt
@ludoo0d0a
ludoo0d0a / gist-ssh-github.md
Created September 4, 2017 20:24
github ssh keys AND no password

https://stackoverflow.com/questions/6565357/git-push-requires-username-and-password

A common mistake is cloning using the default (HTTPS) instead of SSH. You can correct this by going to your repository, clicking the ssh button left to the URL field and updating the URL of your origin remote like this:

git remote set-url origin git@github.com:username/repo.git

See http://stackoverflow.com/questions/7773181/git-keeps-prompting-me-for-password, make sure you are cloning your repos using ssh:

ssh://git@github.com/username/repo.git

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@patriciogonzalezvivo
patriciogonzalezvivo / SFM.md
Last active January 10, 2024 12:29
SfM Tools

Probably the most straight forward way to start generating Point Clouds from a set of pictures.

VisualSFM is a GUI application for 3D reconstruction using structure from motion (SFM). The reconstruction system integrates several of my previous projects: SIFT on GPU(SiftGPU), Multicore Bundle Adjustment, and Towards Linear-time Incremental Structure from Motion. VisualSFM runs fast by exploiting multicore parallelism for feature detection, feature matching, and bundle adjustment.

For dense reconstruction, this program supports Yasutaka Furukawa's PMVS/CMVS tool chain, and can prepare data for Michal Jancosek's CMP-MVS. In addition, the output of VisualSFM is natively supported by Mathias Rothermel and Konrad Wenzel's [SURE]

@tklein23
tklein23 / build-before-pr.sh
Last active August 29, 2015 13:57
Small shell script that can be used to compile SHOGUN Machine Learning Toolbox http://www.shogun-toolbox.org/ before sending a pull request
#!/bin/bash
# Taken from: https://gist.github.com/tklein23/9730737
set -ex
NUM_CORES=$(grep '^processor\s*:\s*' /proc/cpuinfo |wc -l)
NUM_JOBS=$((NUM_CORES+3))
BUILDDIR="$(pwd)/build-before-pr"
@namuol
namuol / INSTALL.md
Last active July 24, 2023 11:53
rage-quit support for bash

rage-quit support for bash

HOW TO INSTALL

Put flip somewhere in your $PATH and chmod a+x it.

Copy fuck into ~/.bashrc.