For headless Linux servers you can install a copy of Dropbox in your home folder using the following command:
64-bit:
So the Beaglebone uses the file uEnv.txt to store settings as it doesn't have any NAND allocated to do it with, by | |
default the file is pretty empty save from the line: | |
optargs=run_hardware_tests quiet | |
You may have read a number of things about boot.scr etc - ignore it, it's not correct. | |
The bootcmd is hardwired in uboot to do the following (i've seperated it all out to make things clearer) - you can see it by | |
interrupting the bootsequence and performing a 'printenv'. | |
bootcmd= |
# Setup for Fedora 17 | |
sudo yum install python m4 make wget curl ftp hg tar bzip2 gzip unzip python-psyco perl texinfo texi2html diffstat openjade docbook-style-dsssl sed docbook-style-xsl docbook-dtds docbook-utils sed bc glibc-devel ccache pcre pcre-devel quilt groff linuxdoc-tools patch linuxdoc-tools cmake help2man perl-ExtUtils-MakeMaker tcl-devel gettext chrpath ncurses apr SDL-devel mesa-libGL-devel mesa-libGLU-devel gnome-doc-utils autoconf automake | |
sudo yum install tftp-server | |
sudo yum install nfs-utils | |
sudo yum install minicom | |
sudo systemctl enable nfs-server.service | |
sudo systemctl disable firewalld.service # This may/maynot be on your system but causes grief if it is! | |
# ------------------------------------------------------------------------------- |
# analog_test_simple.py by Owen Mundy | |
# modified from: | |
# analog_test.py - Alexander Hiam | |
# Testing analogRead() | |
# | |
# *** NOTICE *** | |
# The maximum ADC input voltage is 1.8v, | |
# applying greater voltages will likely cause | |
# permanent damage to the ADC module! | |
# |
<!-- the env variables are controlled by Chef and passed in via -D on the java command-line --> | |
<!-- This is using the appender here: https://github.com/t0xa/gelfj --> | |
<appender name="graylog2" class="org.graylog2.log.GelfAppender"> | |
<param name="graylogHost" value="${graylog.server}"/> | |
<param name="originHost" value="${graylog.origin}"/> | |
<param name="extractStacktrace" value="true"/> | |
<param name="addExtendedInformation" value="true"/> | |
<!-- The _web part is because a given app has multiple components --> | |
<!-- This app might have a _web as well as an _batch component --> | |
<param name="facility" value="${graylog.facility}_web"/> |
source :rubygems | |
gem 'rake' | |
gem 'forgery' | |
gem 'cassandra-cql', :path => '../cassandra-cql' | |
gem 'cassandra', :path => '../cassandra' | |
gem 'perftools.rb' | |
gem 'rbtrace' |
#!/usr/bin/env ruby | |
# Usage: gitio URL [CODE] | |
# | |
# Turns a github.com URL | |
# into a git.io URL | |
# | |
# Copies the git.io URL to your clipboard. | |
require 'net/http' | |
require 'clipboard' |
webserver: webserver.c libuv/uv.a http-parser/http_parser.o | |
gcc -I libuv/include \ | |
-lrt -lm -lpthread -o \ | |
webserver webserver.c \ | |
libuv/uv.a http-parser/http_parser.o | |
libuv/uv.a: | |
$(MAKE) -C libuv | |
http-parser/http_parser.o: |
## Sample screenrc for rtorrent | |
## put it in /etc/screen.d/ | |
## and chown for the user you | |
## who wish to run session | |
source /etc/screenrc | |
chdir /home/stuff/dump/ | |
screen -t rtorrent -d . -s . |
!------------------------------------------------------------------------------- | |
! Xft settings | |
!------------------------------------------------------------------------------- | |
Xft.dpi: 96 | |
Xft.antialias: false | |
Xft.rgba: rgb | |
Xft.hinting: true | |
Xft.hintstyle: hintslight |