A simple example to create a websocket server and stream tweets about a pre-defined subject to the page.
$ npm install socket.io, twitter
$ node ./app.js
#4606367513 { | |
padding: 5px 10px; | |
display: inline-block; | |
background: rgb(30, 30, 30); | |
background: -webkit-gradient(linear, center top, center bottom, | |
color-stop(0.0, rgba(0,0,0, 1)), | |
color-stop(0.05, rgba(30,30,30, 1)), | |
color-stop(1.0, rgba(50, 50, 60, 1))); | |
background: -moz-linear-gradient(270deg, | |
rgba(0,0,0,1) 0%, |
#include <Adafruit_NeoPixel.h> | |
// Pin used on Arduino board | |
#define PIN 2 | |
// Number of NeoPixels | |
#define PIXELS 24 | |
// Number of pixels on either side continuously orange to indicate side of vehicle | |
#define FIXEDPIXELS 1 | |
// Parameter 1 = number of pixels in strip |
/** | |
* A mixin which helps you to add depth to elements according to the Google Material Design spec: | |
* http://www.google.com/design/spec/layout/layout-principles.html#layout-principles-dimensionality | |
* | |
* Please note that the values given in the specification cannot be used as is. To create the same visual experience | |
* the blur parameter has to be doubled. | |
* | |
* Author: Florian Kutschera (@gefangenimnetz), Conceptboard GmbH (@conceptboardapp) | |
* | |
* Example usage: |
sudo su | |
mkdir /mnt/timecapsule | |
echo "//timeCapsuleIp/Data /mnt/toshiba cifs user= timecapsuleUsername,pass= timecapsuleUserPassword,rw,uid=1000,iocharset=utf8,sec=ntlm 0 0" >> /etc/fstab |
I currently run Ubiquiti's UniFi Controller on a Raspberry Pi 3B without issue. I have tried with a Raspberry Pi 1B, but the application crashes on startup. I assume it is due to a lack of RAM. Presumably, it would run on a Raspberry Pi 2B as well (same amount of RAM), but I have not tested it on this model. YMMV.
Install Raspbian on a SD card. I tested this with Jessie Lite (headless)
Use raspi-config to expand the filesystem, rename your PI, etc
input { | |
file { | |
type => "IISLog" | |
path => "C:/inetpub/logs/LogFiles/W3SVC*/*.log" | |
start_position => "beginning" | |
} | |
} | |
filter { |
This work is released under a Creative Commons Attribution-NoDerivatives 4.0 International License.
"OpenPGP" refers to the OpenPGP protocol, in much the same way that HTML refers to the protocol that specifies how to write a web page. "GnuPG", "SequoiaPGP", "OpenPGP.js", and others are implementations of the OpenPGP protocol in the same way that Mozilla Firefox, Google Chromium, and Microsoft Edge refer to software packages that process HTML data.
Ever wanted to delete all your likes/favorites from Twitter but only found broken/expensive tools? You are in the right place.
setInterval(() => {
for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
d.click()
}