Use this generator -> http://debgen.simplylinux.ch/
Edit sources.list
file
root@mpd:# vim /etc/apt/sources.list
Copy/paste following code
user nginx; | |
worker_processes 1; | |
error_log /var/log/nginx/error.log warn; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 1024; | |
} |
iptables -I OUTPUT -o tun+ -j ACCEPT | |
iptables -I INPUT -i tun+ -m state --state ESTABLISHED,RELATED -j ACCEPT | |
iptables -I FORWARD -o tun+ -j ACCEPT | |
iptables -I FORWARD -i tun+ -m state --state ESTABLISHED,RELATED -j ACCEPT | |
iptables -t nat -I POSTROUTING -o tun+ -j MASQUERADE |
Use this generator -> http://debgen.simplylinux.ch/
Edit sources.list
file
root@mpd:# vim /etc/apt/sources.list
Copy/paste following code
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac |
#!/bin/bash | |
free_data="$(free)" | |
mem_data="$(echo "$free_data" | grep 'Mem:')" | |
free_mem="$(echo "$mem_data" | awk '{print $4}')" | |
buffers="$(echo "$mem_data" | awk '{print $6}')" | |
cache="$(echo "$mem_data" | awk '{print $7}')" | |
total_free=$((free_mem + buffers + cache)) | |
used_swap="$(echo "$free_data" | grep 'Swap:' | awk '{print $3}')" |
#include <Adafruit_NeoPixel.h> | |
// Which pin on the Arduino is connected to the NeoPixels? | |
#define PIN 6 | |
// How many NeoPixels are attached to the Arduino? | |
#define NUMPIXELS 30 | |
Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800); |
sudo apt-get remove libobs* --purge | |
sudo apt-get remove obs-studio --purge | |
sudo add-apt-repository ppa:obsproject/obs-studio | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EFC71127F425E228 | |
sudo apt-get update | |
sudo apt-get -t artfull install obs-studio | |
obs --version |
www.facebook.com##.egoOrganicColumn | |
www.facebook.com###profile_timeline_tiles_unit_pagelets_friends | |
www.facebook.com###profile_timeline_tiles_unit_pagelets_albums | |
www.facebook.com###profile_timeline_tiles_unit_pagelets_fun_fact_answers | |
www.facebook.com##._26z1 | |
www.facebook.com##._4-u8._2ph_._19ah._4-u2 | |
www.facebook.com###appsNav | |
www.facebook.com###fb_stories_card_root | |
www.facebook.com##._50z3._9bp._1ltv | |
www.facebook.com##._55ob._4kqp |
long readVcc() | |
{ | |
long result; | |
// Read 1.1V reference against AVcc | |
ADMUX = _BV(REFS0) | _BV(MUX3) | _BV(MUX2) | _BV(MUX1); | |
delay(2); // Wait for Vref to settle | |
ADCSRA |= _BV(ADSC); // Convert | |
while (bit_is_set(ADCSRA,ADSC)); | |
result = ADCL; | |
result |= ADCH<<8; |