Wave loader animation for website/application like Last.fm
Forked from Mattonit's Pen Wave loader animation.
A Pen by Captain Anonymous on CodePen.
# Here is a simple script using apt-select to find the fastest package mirror. | |
# It will replace (and backup) the existing /etc/apt/sources.list file | |
sudo apt update | |
sudo apt-get install python-bs4 wget python | |
wget https://github.com/jblakeman/apt-select/archive/master.zip | |
unzip master.zip |
Wave loader animation for website/application like Last.fm
Forked from Mattonit's Pen Wave loader animation.
A Pen by Captain Anonymous on CodePen.
#blank | |
echo none > /sys/class/leds/beaglebone:green:usr0/trigger | |
echo none > /sys/class/leds/beaglebone:green:usr1/trigger | |
echo none > /sys/class/leds/beaglebone:green:usr2/trigger | |
echo none > /sys/class/leds/beaglebone:green:usr3/trigger | |
#all on | |
echo 1 > /sys/class/leds/beaglebone:green:usr0/brightness | |
echo 1 > /sys/class/leds/beaglebone:green:usr1/brightness |
root@backbone:/etc# pip uninstall shinken | |
Uninstalling Shinken-2.4: | |
/usr/local/lib/python2.7/dist-packages/Shinken-2.4.dist-info/DESCRIPTION.rst | |
/usr/local/lib/python2.7/dist-packages/Shinken-2.4.dist-info/METADATA | |
/usr/local/lib/python2.7/dist-packages/Shinken-2.4.dist-info/RECORD | |
/usr/local/lib/python2.7/dist-packages/Shinken-2.4.dist-info/WHEEL | |
/usr/local/lib/python2.7/dist-packages/Shinken-2.4.dist-info/metadata.json | |
/usr/local/lib/python2.7/dist-packages/Shinken-2.4.dist-info/top_level.txt | |
/usr/local/lib/python2.7/dist-packages/etc/init.d/shinken | |
/usr/local/lib/python2.7/dist-packages/etc/init.d/shinken-arbiter |
synthego@graphs:~/synthesize$ sudo ./install | |
[sudo] password for synthego: | |
+++ dirname ./install | |
++ cd . | |
++ pwd | |
+ SYNTHESIZE_HOME=/home/synthego/synthesize | |
++ cut -s -f 2 | |
++ grep '^Descrip' | |
++ lsb_release -a | |
+ UBUNTU_RELEASE='Ubuntu 14.04.2 LTS' |
C:\Documents and Settings\Synthego\My Documents\Downloads\pyzmq-ironpython-backend\pyzmq-ironpython-backend>ipy -X:FullFrames setup.py install --user | |
running configure | |
Found zmq at: C:\Program Files\ZeroMQ 4.0.3 | |
************************************************ | |
Configure: Autodetecting ZMQ settings... | |
Custom ZMQ dir: C:\Program Files\ZeroMQ 4.0.3 | |
ZMQ version detected: 4.0.3 | |
Warning: Detected ZMQ version: 4.0.3, but pyzmq targets ZMQ 4.0.4. | |
Warning: libzmq features and fixes introduced after 4.0.3 will be unavailable. | |
************************************************ |
C:\Documents and Settings\Synthego\My Documents\Downloads\pyzmq-ironpython-backend\pyzmq-ironpython-backend>ipy setup.py install --user | |
running configure | |
Found zmq at: C:\Program Files\ZeroMQ 4.0.4 | |
************************************************ | |
Configure: Autodetecting ZMQ settings... | |
Custom ZMQ dir: C:\Program Files\ZeroMQ 4.0.4 | |
error: IronPython.Runtime.Exceptions.OSException: cannot load library C:\Program Files\ZeroMQ 4.0.4\bin\libzmq-v110-mt-4_0_4.dll | |
at IronPython.Modules.CTypes.LoadLibrary(String library, Int32 mode) | |
at Microsoft.Scripting.Interpreter.FuncCallInstruction`3.Run(InterpretedFrame frame) |
### Install Oracle Java 8, this means you agree to their binary license!! | |
cd ~ | |
sudo add-apt-repository -y ppa:webupd8team/java | |
sudo apt-get update | |
echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections | |
echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections | |
sudo aptitude -y install oracle-java8-installer | |
### Download and Install ElasticSearch |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; |
#!/usr/bin/env python | |
#ZPL docs can be found at https://support.zebra.com/cpws/docs/zpl/zpl_manual.pdf | |
#This works with Python 3, change the bytes to str if you are using Python 2 | |
import socket | |
#One easy way to find the IP address is with this nmap command | |
# nmap 192.168.0.* -p T:9100 --open |