Jump to content

LuukvanA

Member
  • Posts

    169
  • Joined

  • Last visited

Everything posted by LuukvanA

  1. https://www.humblebundle.com/gift?key=DVbDSthf3MkCrMz7 I hope someone is happy with it
  2. Oh god I want this phone so badly, my favourite thing is the build quality, for sure!
  3. Thank you very much!!! That worked, i tried exactly that but I didn't remove the ''s stupid me, also thank you very much for explaining, now I understand what i am doing... Can I thank you by giving you a steam key for Hotline Miami? The links are used for IFTTT-like actions, like if my phone leaves a certain gps location (my house) turn off all lights. I hope you understand what i mean;) Cheers
  4. I want to have links i can go to, to turn on/off the lights, instead of 1 webpage with all of them. the page doesn't have to say anything, just make sure that it triggers the lightswitch Taking out shell_exec didn't help, it only made the buttons stop working:(
  5. Yes it does work, when i go to the page and press aan (on) or uit (off), the switches react as they should, I am sure the php file has the right privilages, I only need some sort of direct link to the buttons, so i will have 10 links, so that if i visit the page the button is pressed automatically. That is probably not possible, i know, but do you know an easy way to do this? Privilages: Thanks in advance
  6. Hey guys, so i am trying to make it so that if I visit a PHP page on my Raspberry Pi (set up as PHP server and a RF remote), the Pi notices that and runs a command (sudo ./action 511 A on). If i run that command from the command line (connected with SSH->Putty) it works fine, also if I go to the example page that i edited visiually everything works fine but I can't figure out how to make the PHP page to run a command by just going to the page. I am literrally trying for 6 hours straight now but nothing seems to work... I'm sorry if I say something stupid, i;m a real noob at this... I would really appriciate it if someone would help me! How it looks now: WORKING CODE: <?php$data = 'sudo /root/wiringPi/examples/lights/./action ';$knop=$_POST['button'];$channel=$_POST['dipchannel']; if ( isset($_POST['button']) ) {shell_exec(''.$data.' '.$channel.' '.$knop.'');}?> <!DOCTYPE html><!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]--><!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]--><!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]--><!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]--><head> <!-- Basic Page Needs ================================================== --><meta charset="utf-8"><title>Remote</title><meta name="description" content=""><meta name="author" content=""> <!-- Mobile Specific Metas ================================================== --><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <!-- CSS ================================================== --><link rel="stylesheet" href="stylesheets/base.css"><link rel="stylesheet" href="stylesheets/skeleton.css"><link rel="stylesheet" href="stylesheets/layout.css"> <!--[if lt IE 9]><script src="[url=http://html5shim.googlecode.com/svn/trunk/html5.js]http://html5shim.googlecode.com/svn/trunk/html5.js"></script>[/url]<![endif]--> <!-- Favicons================================================== --><link rel="shortcut icon" href="images/favicon.ico"><link rel="apple-touch-icon" href="images/light.png"><link rel="apple-touch-icon" sizes="72x72" href="images/light.png"><link rel="apple-touch-icon" sizes="114x114" href="images/light.png"> </head><body> <!-- Primary Page Layout================================================== --> <!-- Delete everything in this .container and get started on your own site! --> <div class="container"><div class="sixteen columns"><h1 class="remove-bottom" style="margin-top: 40px"><img src="./images/light.png"> Remote</h1><hr/><h3>Lights </h3><p>Washing Table</p><form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> <button class="button" type="submit" name="button" value="511 A on" /> aan </button> <button class="button" type="submit" name="button" value="511 A off" /> uit </button> </form> <p>Middle of the Room</p> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> <button class="button" type="submit" name="button" value="511 B on" />aan</button> <button class="button" type="submit" name="button" value="511 B off" />uit</button> </form> <p>LED Strip</p> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> <button class="button" type="submit" name="button" value="511 C on" /> aan </button> <button class="button" type="submit" name="button" value="511 C off" /> uit </button> </form> <p>Desk</p><form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> <button class="button" type="submit" name="button" value="510 A on" />aan</button> <button class="button" type="submit" name="button" value="510 A off" />uit</button> </form> <hr/> <h3>Music</h3><p>Speakers</p> <legend></legend> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> <button class="button" type="submit" name="button" value="511 D on" />aan</button> <button class="button" type="submit" name="button" value="511 D off" />uit</button> </form> <legend></legend> <p>Subwoofer</p> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> <button class="button" type="submit" name="button" value="511 E on" />aan</button> <button class="button" type="submit" name="button" value="511 E off" />uit</button> </form><hr/> <h3>Tech</h3><p>Monitor</p> <legend></legend> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> <button class="button" type="submit" name="button" value="510 B on" />aan</button> <button class="button" type="submit" name="button" value="510 B off" />uit</button> </form> <legend></legend> <hr/></div> </div><!-- container --> <!-- End Document================================================== --></body></html>
  7. I Don't have a hamster, I would send you our cats but that's kinda illegal
  8. So a friend of mine sent me a code, anyone interested?
  9. This might help? http://forum.cyanogenmod.com/topic/76334-wifi-issues-with-cm/
  10. I will explain in the OP soon! I don't know if you ever used a K90 but the macro keys are not mechanical and horrible to use to me, there have been some games in which it could have been useful but after a day of using them I switched back to using the mechanical keys.. The extra space on my desk is going to be taken by my Nexus 7 Dock. Yes, I Know, I probably would have bought the K70 if it was available but at the time you could only buy a K60 and a K90;)
  11. Because when I bought this Keyboard (1.5 years ago) the K70 wasn't available yet. I could have gone with the K60 but that one doesn't have the full length wrist-rest. Also, the K90 has blue LEDs, as does everything else on my desk;)
  12. So since I didn't use the G-keys on my K90 at all, I decided to mod so I had some more space on my desk. I have to say I'm really happy with how it turned out! So what do you guys think? If anyone is interested in a sort of how-to, let me know! Cheers! Luuk
  13. Because that is not a dock, only a stand. Also, it looks ugly to me, and not that sturdy...
  14. So this is a tutorial I made for makiing a tablet dock I used my Nexus 7 2013 for this Constructive critisism is always welcome, thank you for watching!
  15. I will, eventually, if I've got the money, the problem is, in holland, you can find a soundcard in about every shop you look, but a DAC is something that apearantly no shop has ever heared of...
  16. - DESK PROJECT '14 - Hi there guys! I am planning to completely take my desk apart and paint it. After that I am planning to rebuild the desk, from scratch. Even though I already know that a couple of things will be in the same place after i'm done. Why this might be interesting for you: - I'm planning to finish the desk before 2014 so - Lots of photos! - I will explain every little detail I think that matters - I will show you every step of the process since I will start with only the metal frame of my desk - You might just learn something since I will note the problems I will find during the build - I am not going to spend more then 50 euro for the complete build, so 'anyone' could essentially do this themself Old desk: Changes to make: - Paint the metal frame black - Replace the wooden top with flat grey-ish wooden beams - Make the desk taller (since I am about 2 meters tall) - Paint the Speaker-stands - Redo the cable management - Put the USB Soundcard under the black shelf - Also make LED's under the shelf - Make Some 230V and some USB outlets on the desk What I own to put on/under the desk: - Headphones: Beyerdynamic DT-990 PRO 250 Ohm - Studio Monitors: Edefier Studio 6 Plus - PC: Custom PC with a 3770K@4.6gHz and a 670 in a Zalman Z11 case - Monitor: LG 21,5 inch - Keyboard: Corsair K90 - Mouse: Roccat Kova+ - Mousepad: Steelseries QCK Mass - Soundcard: Creative Sound Blaster X-Fi HD - CD Player: Some second-hand sony one - Tablet: Google Nexus 7 (2013) - Router: TP-Link TL-WR1043ND I'm going to start disassembling in about 2 hours, since then everybody will be awake and I will not bother anybody. Let me know what you think! Cheers, Luuk
  17. You win, 13 it is! contact me via PM
  18. So, i bought a steam code for hotline miami and i want you to play it! My favourite number is between 1 and 20, the one who says it first wins the code Please don't participate if you already own the game Good Luck
  19. I usually don't go to the forum to comment on videos but since the google+ comment system is so bad I will do it now.... The end of this video wins my "WTF did you just do?"-award for 2013! Thank you for participating and I hope to see you again next year
  20. Thanks guys, somehow it worked, freakin' Asrock....
  21. So after switching graphics cards it seems that the PCI-E on my motherboard (Asrock Pro 4-M) is broken, everything I put in any of the PCI-E slots doesn't even show up in UEFI... So any ideas what to do now? Thanks in advance! Luuk
  22. Yes I know, and for the core 17 I will try to make it happen;) Thank you! Superchill! This is like the only charity like organisation i will 'donate' to since it is the only one that I trust for actually using the 'donations' properly! I will try it, thanks for letting know!
  23. 1. Ah ok, I will take a look at that! 2. We will see how it will turn out, the badges are definetely not the most important thing about folding! 3. Folding, sorry! Thank you very much for your reply!
×