On mac os open preferences and Network pannel and then create a new interface Thunderboldt ethernet named RPI2.
Set manually and
192.168.20.20
255.255.255.0
192.168.20.0
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
| ``` | |
| wget http://node-arm.herokuapp.com/node_latest_armhf.deb | |
| sudo dpkg -i node_latest_armhf.deb | |
| rm node_latest_armhf.deb | |
| echo 'PATH=$PATH:/usr/local/bin/' >> ~.zshrc | |
| ``` |
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
| wget https://rcn-ee.net/deb/flasher/trusty/BBB-eMMC-flasher-ubuntu-14.04.1-console-armhf-2014-10-29-2gb.img.xz | |
| xz -d BBB-eMMC-flasher-ubuntu-14.04.1-console-armhf-2014-10-29-2gb.img.xz | |
| diskutil list | |
| sudo diskutil unmountDisk /dev/diskX | |
| sudo dd bs=1m if=BBB-eMMC-flasher-ubuntu-14.04.1-console-armhf-2014-10-29-2gb.img of=/dev/disk1 |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset='utf-8' /> | |
| <title></title> | |
| <meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' /> | |
| <script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.5.1/mapbox-gl.js'></script> | |
| <link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.5.1/mapbox-gl.css' rel='stylesheet' /> | |
| <style> | |
| body { margin:0; padding:0; } |
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
| sudo vim /boot/uEnv.txt | |
| and add | |
| optargs=quiet drm.debug=7 capemgr.enable_partno=BB-UART4 | |
| reboot | |
| root@beaglebone:/dev# ls -l /dev/ttyO* | |
| crw-rw---- 1 root tty 249, 0 Jan 1 01:18 /dev/ttyO0 | |
| crw-rw---- 1 root dialout 249, 4 Jan 1 01:18 /dev/ttyO4 | |
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
| # install arp-scan | |
| sudo apt-get install libpcap-dev | |
| wget http://www.nta-monitor.com/files/arp-scan/arp-scan-1.9.tar.gz | |
| tar xf arp-scan-1.9.tar.gz | |
| rm arp-scan-1.9.tar.gz | |
| cd arp-scan-1.9 | |
| ./configure | |
| make |
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
| # http://inspire.logicsupply.com/2014/08/beaglebone-wifi-installation_5.html | |
| -> the ubuntu stack | |
| sudo apt-get install python | |
| sudo apt-get install python-pip python-dev build-essential | |
| sudo pip install --upgrade pip | |
| sudo pip install ipython numpy matplotlib plotly |
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
| # 1: create the crs file on the server | |
| # from https://www.linode.com/docs/security/ssl/obtaining-a-commercial-ssl-certificate | |
| apt-get update | |
| apt-get upgrade | |
| apt-get install openssl | |
| mkdir /etc/ssl/localcerts | |
| cd /etc/ssl/localcerts | |
| sudo openssl req -new -nodes -days 365 -newkey rsa:2048 -keyout '*.ants.builders.key' -out '*.ants.builders.csr' | |
| #and enter also *.ants.builders.csr as the CN field |
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
| // http://gis.stackexchange.com/questions/70089/lambert93-to-wgs84-ign-algorithms-longitude-problem | |
| // http://fr.wikipedia.org/wiki/Projection_conique_conforme_de_Lambert | |
| function GeoConverter() { | |
| this.M_PI_2 = Math.PI / 2.0; | |
| this.DEFAULT_EPS = 0.000001; | |
| this.E_WGS84 = 0.08181919106; | |
| this.E2 = this.E_WGS84 / 2.0; | |
| this.LON_MERID_IERS = 3.0 * Math.PI / 180.0; |