I hereby claim:
- I am philcrump on github.
- I am philcrump (https://keybase.io/philcrump) on keybase.
- I have a public key ASCaDw7CW2mT4ritX8lSiZeiMSkAU36vnWyUotl5MGgTsQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
import socket | |
TCP_IP = 'ukhas.net' | |
TCP_PORT = 3010 | |
BUFFER_SIZE = 1024 | |
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
s.connect((TCP_IP, TCP_PORT)) |
;===================================================================== | |
[Language] | |
;===================================================================== | |
; Français ou/or English | |
Langue=English | |
;Langue=Français | |
;===================================================================== | |
[TSbuffer] | |
;===================================================================== | |
; Nombre de buffers de 1316 octets pour le transfert du TS --- mettre valeur 2 à 30 |
;===================================================================== | |
[Language] | |
;===================================================================== | |
; Français ou/or English | |
Langue=English | |
;Langue=Français | |
;===================================================================== | |
[TSbuffer] | |
;===================================================================== | |
; Nombre de buffers de 1316 octets pour le transfert du TS --- mettre valeur 2 à 30 |
#!/bin/bash | |
sudo apt-get update && sudo apt-get -y dist-upgrade | |
sudo apt-get -y --force-yes install autoconf automake build-essential libasound2-dev libass-dev libfreetype6-dev libtool pkg-config texinfo zlib1g-dev | |
mkdir /home/pi/ffmpeg_sources | |
cd /home/pi/ffmpeg_sources/ | |
wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz | |
tar -xf yasm-1.3.0.tar.gz | |
cd /home/pi/ffmpeg_sources/yasm-1.3.0/ | |
./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" | |
make |
#!/usr/bin/python3 | |
import urllib.request | |
import json | |
import datetime | |
import csv | |
url='' | |
req = urllib.request.Request(url,headers={'User-Agent' : "Magic Browser"}) |
sudo apt-get update && sudo apt-get dist-upgrade | |
## Move menu bar to bottom of the screen | |
## Remove Whiskers menu, add applications menu | |
sudo apt-get remove --purge pidgin mousepad xfce4-notes firefox xchat simple-scan gnome-mines gnome-sudoku abiword gnumeric orage gmusicbrowser parole | |
sudo apt-get autoremove | |
sudo apt-get install chromium-browser chromium-codecs-ffmpeg-extra vlc htop ssh pepperflashplugin-nonfree gedit vlc git mosh | |
sudo ufw allow ssh | |
sudo ufw logging off | |
sudo ufw enable |
#!/bin/bash | |
sudo xrandr --newmode "1440x900_60.00" 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync | |
sudo xrandr --addmode DVI-0 1440x900_60.00 | |
sudo xrandr -s 1440x900 |
server { | |
listen 80; | |
listen [::]:80; | |
server_name dottyprojects.com; | |
rewrite ^(.*) http://www.dottyprojects.com permanent; | |
} | |
server { | |
listen 80; | |
listen [::]:80; | |
server_name www.dottyprojects.com; |
#!/bin/bash | |
raspivid -n -hf -w 720 -h 405 -fps 25 -vf -t 86400000 -b 180000 -o - | ffmpeg -f h264 -i - -f flv -vcodec copy -acodec null "rtmp://fms.batc.tv/live/M0DNY/M0DNY" |