I can see FTDI device plugged in:
user@nose:~$ lsusb
Bus 002 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
But it won't mount as serial port:
# | |
# Simple Makefile for LaTeX projects | |
# Suggestions (pull requests) are welcome!! | |
# | |
# | |
# Simple example: suppose you want to compile the file paper.tex, then run | |
# | |
# make f=paper | |
# | |
# Remember to drop the file extension (.tex, .aux, etc). |
## Downloading image | |
wget http://cdimage.ubuntu.com/releases/12.04/release/ubuntu-12.04-preinstalled-server-armhf+omap4.img.gz | |
gzip -d ubuntu-12.04-preinstalled-server-armhf+omap4.img.gz | |
## Checking where the disk is mounted | |
diskutil list | |
## Assuming disk mounted on disk1 | |
sudo diskutil unmountDisk disk1 | |
## Writing image with dd |
import numpy as np | |
def smooth(x, window_len = 9, window = 'hanning', keepSameMax = False): | |
""" | |
Smoothing algorithm especially designed to smooth the instantaneous firing | |
rates calculated for Mushroom Bodies activity. | |
""" | |
if not window in ['flat', 'hanning', 'hamming', \ |
import time | |
key = True | |
intrval = 0.050 | |
for j in range(10000): | |
while key: | |
now = ( time.time() % 1 ) | |
dif = intrval - now % intrval |
import numpy as np | |
from bisect import bisect_left | |
def binary_search( X, list_values ): | |
listVals = np.array( list_values ) | |
nElem = listVals.shape[0] | |
listPos = [] |
This is what I needed to complete Gitlab installation by using @martijnvermaat's fork. Some guidelines are provided here. This is supposed to allow you to use a local installation of gitlab capable of rendering Ipython Notebooks. This was based on GitLab's documentation.
cd