git submodule deinit <path_to_submodule>
git rm <path_to_submodule>
git commit-m "Removed submodule "
rm -rf .git/modules/<path_to_submodule>
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import division | |
import time | |
import json | |
import cv2 | |
from pypot.primitive import LoopPrimitive | |
import numpy as np | |
class ColorDetection(LoopPrimitive): | |
def __init__(self, robot, freq=5.): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Download and install Miniconda | |
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh | |
bash miniconda.sh -b -p $HOME/miniconda | |
rm miniconda.sh | |
echo "export PATH=$HOME/miniconda/bin:$PATH" >> "$HOME/.bashrc" | |
export PATH="$HOME/miniconda/bin:$PATH" | |
conda config --add channels conda-forge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Create a file repo_list.twt with repositories you want to delete separated by a new line like | |
# usename/repo1 | |
# username/repo2 | |
FILE=repo_list.txt | |
# Replace xxx by your token with delete right on https://github.com/settings/tokens | |
while read r; do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If Homebrew is not installed uncomment the next line | |
# /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# Install Wine and WineTricks | |
brew install wine && brew install winetricks | |
# Download CircuitMaker | |
curl https://s3.amazonaws.com/altium-install/CircuitMaker/CircuitMakerSetup.exe -o ~/Downloads/CircuitMakerSetup.exe |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* This example shows how to use continuous mode to take | |
range measurements with the VL53L0X. It is based on | |
vl53l0x_ContinuousRanging_Example.c from the VL53L0X API. | |
The range readings are in units of mm. */ | |
// | |
#include <Wire.h> | |
#include <VL53L0X.h> | |
#include <ArduinoJson.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install_git_lfs() | |
{ | |
set -e | |
# Get out if git-lfs is already installed | |
if $(git-lfs &> /dev/null); then | |
echo "git-lfs is already installed" | |
return | |
fi | |
GIT_LFS_BUILD=$HOME/.bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Homebrew build logs for homebrew/science/opencv3 on macOS 10.11.6 | |
Build date: 2017-03-09 17:35:42 |
I hereby claim:
- I am show0k on github.
- I am show0k (https://keybase.io/show0k) on keybase.
- I have a public key whose fingerprint is 5A51 FBBE 3899 7365 FB61 9CEA 11D8 14ED 7FC4 DB01
To claim this, I am signing this object:
NewerOlder