Jump to content

niels

Active Members
  • Posts

    76
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by niels

  1. So under which category does the antivirus belong to ? Or is it a Hardware Antivirus, then I should get one of those :D
  2. Thanks for the response, I didn't had the time to test it yet but this is what I come up with but I doesn't work. Could somebody take a look at this code of mine. <style> #reload{ text-decoration: underline; cursor: pointer; } </style> <script type="text/javascript"> $("document").ready(function(){ $("#reload").click( function(){ $("#captcha").load('/captcha'); //$("#captcha").html('<img id="captcha" alt="Captcha" src="/captcha" name="captcha">'); //$("#captcha").attr('src', "/captcha"); } ); }); </script> <form id="ContactIndexForm" accept-charset="utf-8" action="/contacts" method="post"> <div style="display: none;"> <input type="hidden" value="POST" name="_method"> </div> <fieldset> <legend>Contact formulier</legend> <div class="input text required"> <label for="ContactName">Naam</label> <input id="ContactName" type="text" maxlength="60" name="data[Contact][name]"> </div> <div class="input text required"> <label for="ContactEmail">E-mail</label> <input id="ContactEmail" type="text" maxlength="60" name="data[Contact][email]"> </div> <div class="input select"> <label for="ContactSubject">Ongerwerp</label> <select id="ContactSubject" name="data[Contact][subject]"> <option value="Evenement aanvraag">Evenement</option> <option value="Link aanvraag">Link</option> <option value="Reclame aanvraag">Reclame</option> <option value="Fotograag aanvraag">Fotograaf</option> <option value="Andere">anders ...</option> </select> </div> <div class="input textarea required"> <label for="ContactMessage">Berich</label> <textarea id="ContactMessage" rows="6" cols="30" name="data[Contact][message]"></textarea> </div> <img id="captcha" alt="Captcha" src="/captcha" name="captcha"> <br> <div class="input text required"> <label for="ContactCaptcha">Beste ene minsj ?</label> <input id="ContactCaptcha" type="text" name="data[Contact][captcha]"> </div> <span id="reload">Nieue Figuur</span> <input id="ContactFoo" type="hidden" name="data[Contact][foo]"> </fieldset> <div class="submit"> <input type="submit" value="Versturen"> </div> </form> Like I said I'm using cakephp so this isn't the whole page but I think it enough to get the picture. I'm trying to reload the captcha part here.
  3. Hey everybody, I'm was curious what you guys on the forum use or prefer. I'm currently using CakePHP to setup a project. But I have the feeling it slow. I didn't tested the site only at the moment, still developing in a VM at the moment. Like to here what you guys think, use, have experience with. Pro's and Con's that you have with a framework looking forward to the comment (or not :))
  4. Hey everybody, I have a question about setting up the website I'm developing. INTRO First of all I will give you an idea about the construction of the filesystem. Webroot /files /img /css ..... The webroot is the root directory of the website, this will contain the webpages, and the above directories : files,img,css QUESTION I want to deny access to files,img and css dir so only the pages in webroot dir can access them, so users can NOT go directly to for example: www.foo.com/css/. I thought of specifying a .htaccess file in each dir and add deny from all. But I noticed my css didn't work. Does anybody know how to setup the apache server ?
  5. Take a look atGluster FS I tried it just before they made a commercial site for the product, at the time very easy to setup. It has a webinterface to add new nodes, add space ....... Now I saw you have to download the source code first and compile it but that's not such a big deal. If you want I have a vm laying here some, just let me now if you want to give it a try. You can use rsync to make a script to backup everything in linux. it's very easy.
  6. Hey everybody, I'm implementing a captcha in a form I made. Now I want allow the user to regenerate a new captcha. But instead of reloading the whole page I wanted to use a little bit javascript. As you can see I'm using cakephp. But I suck in Javascript. This is what I have so far <?php //My captcha image, showing properly echo '<img name="captcha" id="captcha" src="'.$this->Html->url(array('controller' => 'captcha','action' => 'index')).'" alt="Captcha" /><br/>'; //input to type the captcha echo $this->Form->input('captcha',array('label' => 'Are you human ?')); // the link I want to use to reload echo '<a href="#" onclick="document.getElementById(\'captcha\').src = \''.$this->Html->url(array('controller' => 'captcha','action' => 'index')).'\';">Reload?</a>'; ?> The last line I echo out the URL, at this moment when I click the link the page scrolls to the top of the page. Hopefully somebody can help me . Regards, Niels
  7. He everybody, I'm looking in to buying a Alfa Awus wlan USB adapter but I don't now which one to buy. So I'm hoping some of you good give me some buying tips. I don't now which model I should buy but I've took a closer look at these four: Awus 051NH, Awus 036NH, Awus 036NHR, Awus 036H Which one should you guys buy ? Or even have other suggestions? Hoping to get some response. Thanks a lot in advance, niels
  8. Hey everybody, I want to watch TV on my macbook pro. So I stubbled on this product : http://www.elgato.com/elgato/int/mainmenu/products/tuner/hybrid08/product1.en.html. It costs 130€ (+/- 185$), so I was wondering if anybody here knows any other products that are better, or cheaper. or even free online solutions ? Thanks a lot in advance, regards niels
  9. Not right now, I'm rewritten the app a little bit. Today I'm going to send Darren an email to check if I get permission to try and get it in the AppStore. Not able to select the amount of episodes yet but any adjustments, remarks, suggestions , ... are always welcome.
  10. Hey everybody, I recently received my Jasager. And now I experimenting with it but I don't know the device very well yet. I was wondering if I could connect the jasager with his ethernet interface to my Mac. And then let the traffic comming from the Jasager make advantage from my wireless ethernet connect from my mac. So I can sniff the packets comming threw. I know this is possible but could some one give me some advise on how to start. Because the Wiki is down and I can't get any information from there. Thanks a lot in advance Grts, Niels
  11. Hey, I check out the feed but they aren't working for me. I was also thinking to change the design of the H5TwitterView. I was thinking to implement a feeds button in the navigation bar like you have with contacts(groups) and iCal(Calenders). I'm working at that change for the moment. Why use JSON ? You already included the XML library and you can get xml straight of twitter ? About the subversion server, I already setup my server a little bit, I tried installing git but could get it working back then. Will take a look to see if I get is started and switch from svn to git. Or what was you're idea ? Because now everbody is working on his own and version keep apearing :D. Regards. Niels.
  12. Can you post a zip of you're code ? I'm setting up a subversion server, to keep track of the changes would come in handy. Also added some launch and icon file Regards edit: I got the feed from @Hak5darren working. But I'm still figuring out how to parse it correctly.
  13. I will take a look at it. I was also planning to create a Hak5 app but just saw you started one. We could even publish it on the app store so it's available for every one. Cheers
  14. It's a very basic app indeed. If you're interested in iOS development, I started using this book Head First iPhone Development. I got the hang off the very basic stuff. This is also a very interesting blog http://iphonedevelopment.blogspot.com. Beside that google will help you . Good luck, Regards Niels If you have any thing to share, pm me or post it in this topic.
  15. I just want to establish a connection with bluetooth. I want to create a app so when my iPhone is linked to my Mac. I can send Text Messages on my mac via my iPhone. I now I can use the GameKit library on iOS but that is not capable of communicating with a mac :s. But I founded a arbitrary library BTStack. The only problem will be that my app won't be accepted in the App Store. Does anybody here knows a way how I could make a connection with bluetooth on a "legal Apple" way ? Thanks
  16. Hey everybody, I watching the forum, and use email notification to follow some forum topics and some daily digest emails. But I didn't received any mail after 23 april. Does anybody experienced the same problem ? I didn't change anything on my profile the mailing just stopped. Thanks in advance. Regards, Niels
  17. hey everybody, I was wandering if anybody here knew a way to let a iphone and macbook or mac communicate wit each other. I was thinking to use Bluetooth, because you can create a local PAN with you're iphone and use it to connect each other. Anybody know any sample code or how to set this up ? Thanks in advance
  18. What you could do is useGlusterFS, I am also looking to install a ESXi server so a while a go I did a test setup using some vm's on my mac and it worked perfectly. You could install GlusterFS on a separate usb drive and plug it is internally in you're HP server. Once installed you can manage you're drives, it's a different solution, don't really know if it's gonna be any use for you. If you don't like GlusterFS, you can always try FreeNAS. Normally ESXi will recognize Freenas but I'm not 100% sure. Hope this could be of any use for you.
  19. With a lot of shit, I mean I installed a lot of unnecessary things, a lot of data scatter around on different places, so I had chosen to go for a fresh clean install and tidy up my data management on my pc. I never opened my mbp before, afraid I would brake the warranty if I do so .... I don't think my fan is that dirty but doesn't hurt to take a look at it.
  20. Hey every body, I'm having this strange thing with my Macbook Pro. A while a go my mbp was acting weird and because there was a lot op shit on it, I thought a reinstall of mac os x would make thing a little bit better. But it didn't ! The issue I'm having is that even when I'm not running any high cost cpu applications my mbp is still blowing it's fan like crazy. Even when he doing nothing just running idle ! My mbp is like 2 or 3 years old, so it shouldn't behave this way in my opinion. spec : 2.53 ghz inter core 2 duo cpu : 4 gb 1067 Mhz DDR3 ram Are there people around who faced the same problems ? Or now what could solve my problem ? I'm really embarrassed now when I have visitors and my mbp is doing his crazy shit again. Thanks in advance.
  21. I'm not using Proxmox right now, but if you installed proxmox you used ssh to connect to the server. Now use the scp command like the ssh command. scp = secure copy. Your command would be something like > scp windows.iso proxmoxuser@proxmoxserver.com:windows.iso you have to check the place you copy you're file to in the server. And maybe have to move it to the /var/lib/vz/template/iso folder. (use mv) check scp --help or man scp for more help. And probably when you uploaded the .iso file you can create a new windows by selecting the iso from the server, i'm not sure so you have to check that . grts
  22. niels

    Ssh Tunnels

    Thanks for the response. Yes FF was using a SOCKS proxy, I know I could put it back to auto configuration. The only problem was taking down the ssh tunnel. But I now managed to do so. I solved it like this : 1 ps -elf | grep 'ssh' 2 kill ... so thanls very much for your help this topic is SOLVED
  23. niels

    Ssh Tunnels

    I closed the terminal but the tunnel remains running. I use it to tunnel traffic through firefox to my home network, and I'm still able to connect to a server use the local ip. So the tunnel is still up and running. What I mean is how can I disable the tunnel ?
  24. niels

    Ssh Tunnels

    Hey, I have a question about ssh tunnels. I created a tunnel with this command ssh -D 8080 -fCqN xxxx@xxx.com -p 3002 now I used the -q option for the tunnel to be quiet. My question is how can I remove the ssh tunnel I created ? And second can I list the tunnels that I created or are running ? Thanks Niels
  25. I'll will asked my friend if he will let me try it. I'm now al my university and don't have the cell phone with me, so as soon if I try I will let it know
×
×
  • Create New...