This file contains hidden or 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
#:smile: |
This file contains hidden or 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
# 3 steps | |
# 1) in setup.py | |
# change | |
from distutils.core import setup, Extension,DistutilsExecError | |
#to: | |
from distutils.core import setup, Extension | |
from distutils.errors import DistutilsExecError |
This file contains hidden or 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
# these are the libraries needed | |
import sys, getopt | |
from Tkinter import Tk | |
from tkFileDialog import askopenfilename | |
import numpy as np | |
# get list of input arguments and pre-allocate arrays | |
argv = sys.argv[1:] | |
inputfile = ''; arg2 = '' | |
arg3 = ''; arg4 = '' |
This file contains hidden or 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
import kivy | |
kivy.require('1.7.2') | |
from kivy.app import App | |
from kivy.uix.floatlayout import FloatLayout | |
from kivy.uix.camera import Camera | |
from kivy.uix.button import Button | |
from kivy.core.window import Window | |
class CamApp(App): |
This file contains hidden or 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
f = open('points.geojson', 'w') | |
f.write('\n') | |
f.write('{\n') | |
f.write(' "type": "FeatureCollection",\n') | |
f.write(' "features": [\n') | |
for k in range(len(x)): | |
f.write('\n') | |
f.write(' {\n') | |
f.write(' "type": "Feature",\n') | |
f.write(' "geometry": {\n') |
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 hidden or 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
177 cd mbsystem-5.3.2017/ | |
180 nano Makefile | |
181 make clean | |
182 nano install_makefiles | |
183 make all | |
191 sudo yum install perl-Parallel-ForkManager.noarch | |
192 sudo yum groupinstall "X Software Development" | |
193 sudo yum install fftw.x86_64 fftw-devel.x86_64 | |
194 sudo yum install kdebase3.x86_64 |
This file contains hidden or 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
close all;clear all;clc | |
addpath('/path/where/googleearth/toolbox/is') | |
% get main directory (Projects directory) | |
pathFolder=uigetdir(); | |
% get list of subfolders | |
d = dir(pathFolder); | |
isub = [d(:).isdir]; | |
nameFolds = {d(isub).name}'; |
This file contains hidden or 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
export PS1='\[\033[1;34m\]\t\[\033[0m\] \[\033[1;35m\]\u\[\033[0m\]:\[\033[1;35m\]\W\[\033[0m\] \[\033[1;92m\]$(__git_ps1 "(%s)")\[\033[0m\]$ ' |
This file contains hidden or 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
#In the terminal type | |
sudo rfkill unblock all | |
#then if you type | |
rfkill list all | |
#It should show something like: |