[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Write shit on my Raspberry Pi

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 67
Thread images: 4

File: 4.jpg (79KB, 640x360px) Image search: [Google]
4.jpg
79KB, 640x360px
ddosers will have bad luck in 2017 and die in their sleep

http://128.199.35.40/
>>
>someone's just spamming ahueuhueuhuehuheuhue over and over again.
>>
>>58084362
Hue
>>
>>58084295
Post result OP
>>
>>58084408
>NIGGERS
>HITLER DID NOTHING WRONG
>HUEHUEHUEHUEHUEHUEHUEHUE
>>
>>58084434
>no playable source
fix it anon pls
>>
>>58084492
get a non-meme browser
>>
>>58084501
>calling firefox a meme
psh... nothing personal kid
>>
>>58084506
works on my machine(tm)
>>
>>58084506
try VLC or something
rtmp://128.199.35.40/live/360p
>>
>>58084529
just opened chrome and its working now, thanks
>>
>>58084551
not sure what to tell you
>>
>>58084295
is there any way for you to extend the "display" by adding more LED's?
>>
>>58084572
sure, just need another display. have just 1 though
>>
>>58084568
nvm it's working in VLC now
(Deleted post because I accidentally quoted but you replied anyway)
>>
>>58084295
How is this set up anon? What's that red board?
>>
>>58084608
the red board is just an extender so i dont have to connect cables directly to the raspberry pi.

im running a web server on the raspberry pi accepting requests to print text on the display.

you never access the pi directly, it all goes through the main web server that is also hosting the stream.
>>
>>58084644
Oh, the pi has enough outputs to do all this stuff directly?

I wish I wasn't stuck behind a uni firewall so I could host cool stuff like this. Maybe someday.
>>
File: setup.jpg (151KB, 1500x877px) Image search: [Google]
setup.jpg
151KB, 1500x877px
>>58084608
>>58084644
Here's a picture of the setup.
>>
>>58084683
Thanks anon.

I saw a flash on the stream, I assume that was you taking the picture haha
>>
>not ignoring "aaaaaaaaaaaaaaaaaaaaaaaa" and other obvious spam strings

OP are you even allowed outside without a helmet?
>>
>>58084681
the pi does not have enough pins to hook up 2 of these directly. you'd have to some some chips to come around that.
>>
>>58084705
i limit messages to 32 characters and remove repeated spaces :^)
>>
>>58084683
>>58084699
Also, where's a good place to start learning about electronics like this? You can get super cheap chinese arduino kits online with a bunch of components but I'm not sure I'd know what to do with everything if I got one.
>>
File: s-l1600.jpg (509KB, 1600x1600px) Image search: [Google]
s-l1600.jpg
509KB, 1600x1600px
>>58084755
I got this: http://www.ebay.com/itm/321804943935
It came with a PDF guide that I learned the basics from.
>>
Your pi is in a DMZ or not ? why not port fowording ? there a 7 open ports, thats embarrassing
>>
>>58084798
The site is hosted on a throwaway digitial ocean vps.
The site's backend communicates with my pi at home.
>>
>>58084823
my bad
>>
>You're temporarily rate limited. Try again in a few seconds.

urafaget
>>
>>58084929
:^)
>>
>no playable sources found
>>
>>58084960
autist detected
>>
>tfw your raspberry pi tells you to kill yourself
>>
>>58085003
feels bad man
>>
>>58084295
do a thumbs up in front of the cam
>>
>>58085094
just for you
>>
>>58084295
Sause or github OP?
pretty cool desu keep it up senpai
>>
>>58085101
wooo thanks ;))
>>
>>58085102
it's spaghetti code in like 3 different places to make this work.
if i decide to redo this i can make it cleaner and release the code :)
>>
>>58085113
post it i wont bite :^)
>>
>>58085113
what is it written in?
>>
>>58084295
You need a better spam filter and a character limit.
>>
>>58085130
A text editor
>>
>>58085113
ill post it one sec
>>
>>58085144
huehue
>>
>>58085141
There is a character limit, dick lips.
>>
>>58085144
:^)
>>
>>58085154
A shorter one, anus reaver
>>
>>58085200
Okay, why didn't you save that then, scrotum sniffer.
>>
>>58085123
This is a Python script that scrolls a piece of text on the display.
http://128.199.35.40/rpi_python.txt

This is a simple web API, allowing remote requests for text to be displayed, also running on the Raspberry Pi at home. It has some simple rate limiting.
http://128.199.35.40/rpi_nodejs.txt

This is the final part, the website hosted on the VPS. This code calls my Raspberry Pi with text to be displayed.
http://128.199.35.40/vps_nodejs.txt

I'm streaming using OBS to an nginx server, displaying it using JWPlayer on the site.
>>
>>58084295
whats happening
>>
>>58085245
not much, whats happening with u
>>
File: tumblr_o5zulswp3n1thzx08o1_500.jpg (93KB, 499x629px) Image search: [Google]
tumblr_o5zulswp3n1thzx08o1_500.jpg
93KB, 499x629px
>>58085232
Thanks OP
>>
>>58085259
oh sorry i thought it broke for a moment ;)
and nm, setting up quake 4 on my linux machine
>>
>>58085232
>This is a Python script that scrolls a piece of text on the display.
#!/usr/bin/env python

import urllib.request
import os
import time

text = open("text",'r').read()

def wait():
time.sleep(10)
return false

for i in range(int(len(text)/32)):
while True:
print(text[i*32:(i+1)*32])
url="http://128.199.35.40/message"
data="message="+text[i*32:(i+1)*32]
request = urllib.request.Request(url, data.encode("utf-8"))
response = urllib.request.urlopen(request)
rRes = response.read().decode("utf-8")
print (rRes)
if (rRes.find('limited')==-1):
break
wait()
>>
>>58085312
gn anon thanks for the fun
>>
KILL YOURSELF KILL YOURSELF
>>
IT'S OVER! The memes got stale and I want some sleep.
>>
I WANT TO KILL MYSELF
>>
>>58085371
It's only 10 PM, you nutsack nibbler.
>>
>>58085371
why not leave it on for the night?
>>
>>58085412
So it can spend all night telling him to kill himself?
>>
>>58085429
you realize it wont matter because its letters.. it doesnt yelll out "kill yourself faggot cia nigger" while hes trying to sleep
>>
>>58085450
Fucking hell, I almost passed out from laughing at the thought of that.
>>
>>58085450
The point was that it would be a waste of electricity and bandwidth to leave it on without better filters, you mong.
>>
>>58085470
kek
>>
>>58085485
o ok
Thread posts: 67
Thread images: 4


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.