• Announcements

    • MannDude

      Current state of vpsBoard   02/04/2017

      Dear vpsBoard members and guests:

      Over the last year or two vpsBoard activity and traffic has dwindled. I have had a change of career and interests, and as such am no longer an active member of the web hosting industry.

      Due to time constraints and new interests I no longer wish to continue to maintain vpsBoard. The web site will remain only as an archive to preserve and showcase some of the great material, guides, and industry news that has been generated by members, some of which I remain in contact to this very day and now regard as personal friends.

      I want to thank all of our members who helped make vpsBoard the fastest growing industry forum. In it's prime it was an active and ripe source of activity, news, guides and just general off-topic banter and fun.

      I wish all members and guests the very best, whether it be with your business or your personal projects.

      -MannDude

Search the Community

Showing results for tags 'python'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • vpsBoard
    • Announcements & Contests
    • Industry News
  • Virtual Private Servers
    • General Talk
    • Operating a VPS Business
    • Tutorials and Guides
    • Questions and Answers
  • The Lounge
    • The Pub (Off topic discussion)
    • Coding, Scripting & Programming
    • SBC, ARM, Home Automation
  • Marketplace & Reviews
    • Reviews
    • VPS Offers
    • Other Offers
    • Service Requests

Found 8 results

  1. Hello , sorry for the confusing title ,I do not speak english as my first language.(and also sorry if the topic does not fit here) Problem background: I just want to create a website as a competitive program grader for my school. Like complie and run source code on the server. So below is my idea and i would like some help/suggestions before i do it,I still don't know if this will work. Mysql usage: The problem one is that i would use one of the table as my user-submission queue.When user submit a code, I first put it in this table(i suppose it put the new row in the bottom of the table?) . Python program usage: I would run a 24/7 program on my server that check every 10 second if the queue table is not empty, just run the grading process(I know how to do it) and then pop it off the queue.Then check again. PHP usage: When a person submit code, i will use php to put it on the queue table,but it may be the same time my python program is popping something off the queue table too. This is where I get confuse whether it will work or not.(Other usage of the php is just things about web interface which I had done before and know what to do) So,would this idea even work? Will it break my server or something?As a competitive programmer guy I don't know much snd will greatly appreciate any help from u guys. :) Thank you very much.
  2. Anyone around here a fan of Wiki software? Looking for something lightweight, easily portable and probably Python based. Anyone using such a tool currently that that can share the name of? Looking to get my Tomboy notes off the PC and up to LAN. So ideally Python app with web based interface
  3. This isn't my project, but I am fielding interest. Have need for a Python programmer of some lower level of knowledge. Ability to comprehend basic framwork and logic. Will work on forking an open source project and integrating a third party open source secondary package (via simple and involves remote HTTP inclusions/calls).... Total project should be at MOST a few hours.... Anyone interested/qualified?
  4. Hey everyone! I figured that if I never release my code to public, I'm never going to improve. I realize my code is amateurish at best and is full of bad practises. Please help me improve by giving constructive criticism. I have written a small Netflix-like HTML5 video gallery in Flask, Python as a learning process for me. I've been learning Flask for like two months now, as a hobby. It's intended usage is well.. sharing your bought movies in LAN for your family, duh. I have uploaded it to vpsBoard git: http://git.vpsboard.com/fisle/netflask Features: - Authentication - Automatic scanning and encoding of video files (Set up a cronjob) - Subtitle support - Fetching movie data from RottenTomatoes (Requires free API key) - Uses X-Accel-Redirect to serve files securely (Need HTTP daemon for this, I used Nginx) By default it does not support Firefox for Linux, but you can enable encoding to webm in sources. I have included some screenshots for you: Home screen. New movie found! Select movie from list to add its data I have released this under WTFPL, so fork it and do something with it :) Set up instructions are in Git, feel free to ask if(when) you run into issues.
  5. Just threw this together this morning to replace a .NET YouTube subscription auto-downloader that I haphazardly hacked together 2 years ago. http://onlinebargainshrimptoyourdoor.com/2014/03/01/introducing-subbuddy-py/ https://github.com/marlencrabapple/SubBuddy-py Its a little rough around the edges, and incredibly barebones (a good thing in this case, I hope), but its the first Python script that I ever wrote and I'm kinda surprised that I managed to put it together so quickly. If anyone's looking for a good laugh/headache, here's a link to the original .NET monstrosity: https://github.com/marlencrabapple/SubBuddy
  6. So earlier tonight, vpsBoard was DDoS attacked offline. The source, malicious traffic from Tor. We've taken steps TO BLOCK TOR. No more Tor traffic. If you use it, get a VPN or Proxy or vpsBoard will probably not work much for you. This script is borrowed from Github and slightly modified by me to work :) You must have python and iptables installed. Paste the following in your script directory --- I called mine black.py import urllib2, subprocess, shlex, time def addrule(ip): dot = ip.split('.') if len(dot)==4: time.sleep(0.1) subprocess.Popen(shlex.split("iptables -A BLACKLIST -s "+ip+" -j DROP")) else: pass def main(): tor_list = urllib2.urlopen('http://torstatus.blutmagie.de/ip_list_exit.php/Tor_ip_list_EXIT.csv') subprocess.Popen(shlex.split("iptables -N BLACKLIST")) subprocess.Popen(shlex.split("iptables -F BLACKLIST")) subprocess.Popen(shlex.split("iptables -A INPUT -j BLACKLIST")) for ip_tor in tor_list.readlines(): addrule(ip_tor) print(ip_tor) try: main() except OSError: print "You don't have Permission!" To run this: python black.py That will run to Tor's public exit node list and fetch the current list. It then loops through the list and throws the blocks down in iptables. This should work in any Linux environment and be portable. When done, plug it into cron at interval of once every 60 minutes.
  7. KVM VPS outside US

    Hi, I am looking for a KVM VPS for my friend for his personal use, which include hosting few websites along with running his python based projects. He wants the VPS to be outside the laws of US, due to privacy reasons and also facility to install OS from mounted ISO's. The specs in need are as below: 512MB to 1GB RAM 30GB HDD on RAID 500GB Bandwidth or more 1 IPv4 IPv6 Support Location: Outside US, from providers registered outside US, with good ping to India. The billing will be monthly for now. Since this is for a personal project and on a test basis, the cost is a factor. So, please provide me the lowest cost on which this can be done.
  8. I've dabbled with Python, having done about half of 'Learn Python the Hard Way' (http://learnpythonthehardway.org/book/) But due to time constraints, it's been well over a year since I've touched Python. I remember it being enjoyable, and perhaps it was the ADD in me found myself venturing off from the coursework to dabble around and create my own things that applied what little I had learned thus far. (Including a quit smoking tool that reminded me how much money and time I was wasting smoking) Anyhow, I'd like to pick it back up. Any good web resources or books available on Amazon I should be looking at?