# | micro-controller | favourites |
---|---|---|
1 | Arduino | 13 |
2 | RPi | 4 |
3 | STM32 | 3 |
4 | Particle Photon | 2 |
5 | PIC32 | 1 |
6 | PC104 | 1 |
7 | Intel 8080 | 1 |
8 | ESP32 | 1 |
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
# original post: http://blog.hostonnet.com/uninstall-gui-from-ubuntu-14-04-lts | |
sudo apt-get purge -y lightdm | |
sudo shutdown -r now | |
sudo apt-get clean | |
sudo apt-get autoclean | |
apt-get purge -y unity* | |
sudo apt-get purge -y unity* | |
sudo apt-get purge -y gnome-* |
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
// Enable GPIO D | |
RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOD, ENABLE); | |
// Initialize GPIO for PD15 (DAC Clear Pin) | |
GPIO_InitTypeDef GPIO_InitStructure; | |
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_OUT; | |
GPIO_InitStructure.GPIO_OType = GPIO_OType_PP; | |
GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_UP; | |
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; | |
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_15; |
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
#! /bin/sh | |
# /etc/init.d/autoconnectnet | |
### BEGIN INIT INFO | |
# Provides: noip | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Simple script to start a program at boot |
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
OTHER="USBMODEM" | |
USBMODEM="19d2:1545" | |
USBINTERFACE="2" | |
CUSTOM_APN="internet" | |
APN_USER="0" | |
APN_PASS="0" | |
NOSMART |
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
[Dialer Defaults] | |
Modem = /dev/ttyUSB0 | |
Baud = 460800 | |
ISDN = 0 | |
Phone = *99# | |
Stupid Mode = 1 | |
Username = 0 | |
Password = 0 |
- Get latest Debian (8.4) from BeagleBone latest images.
- Flash the
.img
onto the SDCard usingdd if=bone-debian-8.4-lxqt-4gb-armhf-2016-05-13-4gb.img of=/dev/rdisk2 bs=64m
- Restart the BB and connect over USB. It should as USB Mass Storage
- Install the RNDIS drivers from the mounted USB Mass Storage.
- If you are on OSX El Capitan, you might need to use this RNDIS driver
- Restart the Host machine and BB and it will enumerate as a Network interface.
- SSH to the BB using
ssh [email protected]
- NUS, ECE Shannon Centenary
- NUS, IMS, 18th May 2016 6:30pm - 7:30pm, NUS University Hall Auditorium: Apple vs Samsung: a Mathematical Battle by James Davis
- NUS, SoC, 6th May 10:00am - 12:00pm, LT 19: Maximizing Information per Bit: A New Approach to the Design of Numerical Computing Systems by Dr. John L. Gustafson
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
echo "$(date +"%Y-%m-%d %H:%M:%S") Booted. Uptime : $(cat /proc/uptime | cut -d' ' -f 1)" >> /home/odroid/boottime.log | |
java -jar /home/odroid/unetsim-1.3-SNAPSHOT/lib/groovy-all-2.4.4.jar /home/odroid/unetsim-1.3-SNAPSHOT/samples/boottime/boottime.groovy |
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
#!/bin/bash | |
echo ".. waiting for network .." | |
while ! ping -c1 8.8.8.8 &>/dev/null; do sleep 1; done | |
export domain='sauvc2017-lab1' | |
# export domain='sauvc2017-lab2' | |
echo ".. fetching script .." |