Found a few youtube vidoes that describe assembly pretty well
Linux Clustering with RHEL / Centos
http://clusterlabs.org/
Home RFID Access
http://www.robotgeek.com/rfiduino
http://www.amazon.com/Generic-Electric-Strike-Secure-Control/dp/B00V45GWTI/ref=sr_1_1
http://www.amazon.com/BQLZR-Luggage-Solenoid-Electric-Assembly/dp/B00M2M3F74/ref=sr_1_1
http://www.instructables.com/id/RFID-Door-Lock-With-Arduino-1/
Perl Debugging
- h or h h – for help page
- c – to continue down from current execution till the breakpoint otherwise till the subroutine name or line number
- p – to show the values of variables
- b – to place the breakpoints
- L – to see the breakpoints set
- d – to delete the breakpoints
- s – to step into the next line execution
- n – to step over the next line execution, so if next line is subroutine call, it would execute subroutine but not descend into it for inspection
- source file – to take the debug commands from the file
- l subname – to see the execution statements available in a subroutine
- q – to quit from the debugger mode
Reference:
- http://www.thegeekstuff.com/2010/05/perl-debugger/
NetData Installation
First, I’m creating this page from this link, and I merely boil it down to record here for later quick reference.
You can do a quick netdata installation with the following:
Prereq needed to install are mainly found here:
Debian/Ubuntu: apt-get install zlib1g-dev gcc make git autoconf autogen automake pkg-config uuid-dev
CentOS / RedHat / Fedora: yum install zlib-devel gcc make git autoconf autogen automake pkgconfig libuuid-devel
Arch: pacman -S netdata
Now to pull and install the NetData project:
- git clone https://github.com/firehol/netdata.git –depth=1
- cd netdata
- ./netdata-installer.sh
If everything worked as expected, then the install should show that there are no errors.
Data is stored in the following locations:
– the daemon at /usr/sbin/netdata
– config files at /etc/netdata
– web files at /usr/share/netdata
– plugins at /usr/libexec/netdata
– cache files at /var/cache/netdata
– db files at /var/lib/netdata
– log files at /var/log/netdata
– pid file at /var/run
Start the application: /usr/sbin/netdata Stop the application: killall netdata How do you look at the application? You go here in a web browser on the local host. (http://127.0.0.1:19999/)
Linux Desktop Setup
I’ve tried a few flavors of linux, and had issues with each as a desktop. Recently I got a new laptop so I decided to try it again.
My favorite distro is Mint, just be cause it doesn’t overload things with a bunch of effects that make it harder to find what you are looking for. My only issue is, Mint couldn’t see my wifi card. So.. I used ubuntu, and placed Cinnammon on top. First, thanks to Marin Todorov, he’s got a great tutorial on how to set this up. I’m going to put the essence here since I hate it when things disappear from the web.
- Install Ubuntu 16.04 LTS
- Install Cinnamon (apt install cinnamon)
- Install Numix
-
add-apt-repository ppa:numix/ppa
-
apt-get update
-
apt-get install numix-gtk-theme
-
apt-get install numix-icon-theme-circle
-
- Install Conky
-
apt-add-repository -y ppa:teejee2008/ppa
-
apt-get update
-
apt-get install conky-manager
-
- Install Plank
-
add-apt-repository ppa:ricotz/docky
-
apt-get update
-
apt-get install plank
- Inside the manager I turned on “Gotham, CPU Panel, Network Panel, and Process Panel”
- I’m including here my configs I placed in the .conky directory for my settings.
-
- Install Skype following instructions from here
-
add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"
-
dpkg --add-architecture i386
-
apt-get update
-
apt-get install skype
-
cp /usr/share/applications/skype.desktop /home/<homedir>/.config/autostart/
-
Handbrake Compile
Compiling HandBrake on Linux
These instructions are for building the *released* version of HandBrake. If you are building SVN, see the instructions in the source tree doc/BUILD-Linux.
Install Dependencies
What you need depends on your distribution.
The GTK UI introduces some significant extra build requirements. If you intend to disable building the GUI with `configure –disable-gtk’ you will not need many of these packages installed.
For Ubuntu you need:
- subversion (cli/gui)
- yasm (cli/gui)
- build-essential (cli/gui)
- autoconf (cli/gui)
- libtool (cli/gui)
- zlib1g-dev (cli/gui)
- libbz2-dev (cli/gui)
- libxml2-dev (cli/gui)
- libogg-dev (cli/gui)
- libtheora-dev (cli/gui)
- libvorbis-dev (cli/gui)
- libsamplerate-dev (cli/gui)
- libfribidi-dev (cli/gui)
- libfreetype6-dev (cli/gui)
- libfontconfig1-dev (cli/gui)
- libass-dev (cli/gui)
- intltool (gui)
- libglib2.0-dev (gui)
- libdbus-glib-1-dev (gui)
- libgtk2.0-dev (gui)
- libgudev-1.0-dev (gui)
- libwebkit-dev (gui)
- libnotify-dev (gui)
- libgstreamer0.10-dev (gui)
- libgstreamer-plugins-base0.10-dev (gui)
- libappindicator-dev (gui)
To install these packages:
sudo apt-get install subversion yasm build-essential autoconf libtool \ zlib1g-dev libbz2-dev libogg-dev libtheora-dev libvorbis-dev \ libsamplerate-dev libxml2-dev libfribidi-dev libfreetype6-dev \ libfontconfig1-dev libass-dev intltool libglib2.0-dev libdbus-glib-1-dev \ libgtk2.0-dev libgudev-1.0-dev libwebkit-dev libnotify-dev \ libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libappindicator-dev
For Fedora you need the following package groups:
- Development Tools
- Development Libraries
- X Software Development (gui)
- GNOME Software Development (gui)
To install these package groups:
sudo yum groupinstall "Development Tools" "Development Libraries" \ "X Software Development" "GNOME Software Development"
Also for Fedora you need the following additional packages:
- yasm (cli/gui)
- zlib-devel (cli/gui)
- bzip2-devel (cli/gui)
- libogg-devel (cli/gui)
- libtheora-devel (cli/gui)
- libvorbis-devel (cli/gui)
- libsamplerate-devel (cli/gui)
- libxml2-devel (cli/gui)
- fribidi-devel (cli/gui)
- freetype-devel (cli/gui)
- fontconfig-devel (cli/gui)
- libass-devel (cli/gui)
- dbus-glib-devel (gui)
- libgudev1-devel (gui)
- webkitgtk-devel (gui)
- libnotify-devel (gui)
- gstreamer-devel (gui)
- gstreamer-plugins-base-devel (gui)
To install these packages:
sudo yum install yasm zlib-devel bzip2-devel libogg-devel libtheora-devel \ libvorbis-devel libsamplerate-devel libxml2-devel fribidi-devel \ freetype-devel fontconfig-devel libass-devel dbus-glib-devel \ libgudev1-devel webkitgtk-devel libnotify-devel \ gstreamer-devel gstreamer-plugins-base-devel
QuickStart Build Instructions
- apt-get -y install libmp3lame-dev lame libjansson4 libjansson-dev x264 libx264-142 libx264-dev libgtk-3-dev
svn checkout svn://svn.handbrake.fr/HandBrake/trunk hb-trunk cd hb-trunk ./configure --launch
Or if you want HandBrakeCLI only:
svn checkout svn://svn.handbrake.fr/HandBrake/trunk hb-trunk cd hb-trunk ./configure --launch --disable-gtk
If there are errors at this stage, you’re missing some prerequisite.
Assuming that all goes well, you should now have a HandBrakeCLI binary in the build directory and a ghb binary in the build/gtk/src directory. You can execute it in place or copy it wherever you like.
You may also want to install, run:
cd build sudo make install
This will install the binary and add a HandBrake option to your “Applications->Sound & Video” menu.
Full Compiling Guide
This is just a simple quick-start guide. For the real meat and potatoes, see the latest Linux build documentation. Topics covered there include:
- Running configuration and build commands on subsequent compiles (hint, do it from the build/ directory, not the trunk)
- Configuring options like 64-bit builds and cross-compilation
- Cleaning build files
- Tweaking contrib libraries
Debugging NFS on a Linux System
Problem: uid are not mapping properly from a RHEL5 server to RHEL6 client
Debugging Steps:
- tcpdump -s 0 -n -i ethX -w /tmp/$(hostname)-$(date +”%Y-%m-%d-%H-%M-%S”).pcap (run this while doing LS on nfs mount)
- “tcpick -C -yP -r <filename>” or instal wireshark and use “tshark -r <filename>”
Application for Daily Living
Yes.. make a listing of things that need to be installed each time a system is created.
Linux
- XMind (Mind Mapping)
- Sandstorm (Simple Linux Administration)
- Docker (Software Container)
- youtube-dl (used to pull more than just youtube videos) I’ve got some tips and tricks on how to use youtube-dl here.
- livestreamer (have not used this but one day will get into it)
- SimpleScreenRecorder (Linux alternative to snapit)
- Pitivi (Video Editing)
- https://kdenlive.org/
- http://www.openshot.org/
- https://www.lwks.com/
- http://blog.novacut.com/
Linux/Windows
- mumble (Teamspeak/Ventrilo)
- avidmux (video editing)
- OpenBroadcaster (Broadcast/Record streams to file/live feed)
Games
- 0 AD (Civilization Alternative)
Testing Software
- https://fuzzing-project.org/
- https://www.coreinfrastructure.org
TensorFlow
Google’s deep learning software is open sourced.
https://github.com/tensorflow/tensorflow
AI Nano Degree:
https://www.udacity.com/course/machine-learning-engineer-nanodegree–nd009?utm_source=udacity&utm_medium=email&utm_campaign=20151112_Sebastian%20ML%20Announcement