Gold Contributor
  • Content count

  • Joined

  • Last visited


  • check
    Agree 25
  • info_outline
    Informative 25
  • tag_faces
    Funny 16
  • thumb_up
    Thumbs Up 33
  • thumb_up
    Likes (Old) 1343


About Hazy125


  • CPU
    Intel® core i7 3770K @5.1GHz
  • Motherboard
    Gigabyte G1 Sniper 3
  • RAM
    32GB G.Skill Ripjaws Z
  • GPU
    EVGA 980 Ti SC
  • Case
    NZXT Switch 810
  • Storage
    5TB worth of Seagate Barracuda + 250GB Evo
  • PSU
    1200w Beast from Cougar
  • Display(s)
    HPL1706, Acer V193HQ and BenQ GL2450HM
  • Cooling
    Custom loop, mostly Alphacool
  • Keyboard
    Ducky Zero with Browns
  • Mouse
    Thermaltake Black element
  • Sound
    Sound blaster Z + M50's
  • Operating System
    Win8, because I want Metro to have my babies... *Modern UI

Contact Methods

  • Twitter
  • Google+
  • Facebook
  • Skype
    Not Hazy125. Suck it
  • Razer Comms
  • Origin
    Can't remember... Probably Hazy125
  • Steam
  • Star Citizen
  • Battle.net
  • Xbox Live
    Seriously, there's a trend. 3 guesses...
  • Website URL

Profile Information

  • Gender
  • Location
    Not in Thailand, just saying
  • Interests
    ......Computers..... Why else would I be here
  • Occupation
    I'm a fucking tradie

Recent Profile Visitors

9,127 profile views
  1. Give all the table cells a class. Add an event listener for that class for click. In the event listener check if keycode 17 is being pressed for control click
  2. Well, your server is probably already set up so that PHP and apache are basically already running as root. So you could just run exec('YourCommand'); and that would work perfectly fine. Pros; -Easy AF -Extends PHP functionality beyond standard web use Cons; -Disabled in safe mode -Someone who finds a security flaw in your PHP script may be able to completely destroy your server So yeah, possible, but you have to be pretty damn sure your exec stuff is well protected
  3. So, your include is actually something more like /var/www/html/sandbox5678/StreamIt/var/www/html/sandbox5678/StreamIt/root/vendor/autoload.php if that makes sense. When you include in PHP, it's a relative path, relative to where the PHP file you're including to is located. So if your file is in the streamit directory and you want to include autoload.php you would use include('root/vendor/autoload.php');
  4. It's probably a body padding/margin issue. Hard to tell without your HTML as well. Just add html, body{ margin: 0; padding: 0; } And see if that fixes it for you
  5. Thank you for adding a TL;DR at the end. What a wall of text
  6. The api was developed because it was significantly less strain on the LTT servers
  7. Just know that there have been 2 other real attempts at making an unofficial app, and 1 semi-official attempt from a free third party. None of which have come to fruition. But there is no code of conducty legal stuff stopping you from trying. Oh Edit: There is no page or thread API, but you can access an RSS feed and there is an API for user notifications and the like at https://linustechtips.com/main/page/api.php
  8. Has to have node
  9. prepare > bind > execute > bind_result > fetch
  10. I don't game that often, and web based alternatives to desktop software is freaking amazing these days. I've been running Linux on my laptop for years. I don't think I'll switch to Linux on any of my main machines- too many small issues. But maybe OSX
  11. You need a style tag in your head tag so something like <head> <style> ///Your css </style> </head> Now, the good news is you're technically already using css for most things. They way you're doing it is called inline styles. So it's pretty easy to transfer it to a style tag. First, you need to create selectors. You need a way to tell the css what it's being applied to. You CAN use the tag (for example the body tag) as the selector, but you want to try and avoid this. It's ok for the body tag, but you want to avoid it on other tags. The two main ways to add a selector is through an 'id' or a 'class' and the syntax is as follows <div class="redDivs"></div> <div class="redDivs"></div> <div class="redDivs"></div> <div id="blueDiv"></div> In my example I show how you would use a class and an id. If you only want to apply the style to one tag, you use an id. In my example, there is only one div that I want to make blue. Class is for applying the css to multiple tags. So every one of the redDiv's will be red. Now that you have selectors you can apply css using the selectors using the following syntax <style> #blueDiv {// Use the # symbol to target an id background-color: blue;//The semicolon is required } .redDivs {// Use the . symbol to target a class background-color: red; } </style> So in your code you have bgcolor, width, valign, color and all that thing. That is your css. So you want to do something like <head> <style> body {//To select a tag you can simply write the tag name (Sorry forgot to mention that in above examples) backgournd-color: #96C2E5; //bgcolor is represented as background-color in css and hex colours are written in the above format } #tableCell { background-color: #0c457c; width: 20%; } #whiteHeading { color: #ffffff; } </style> </head> <body> <table> <tr> <td id="tableCell"> <h2 class="whiteHeading">Text</h2> </td> </tr> </table> </body> That's the basic part of it, hope the examples made it clear enough for you
  12. The only thing I can see wrong with that is where you're sending your request (if you're using the right oAuth token). The twitch API endpoint is at api.twitch.tv/kraken not api.twitch.tv/api. So to get the info about the channel you would use https://api.twitch.tv/kraken/channels/<channel ID> where channel id is represented as the new numerical id rather than the username. To do this you can query the users endpoint using the username, and that will return the numerical client id
  13. I'm just curious, I tend to start a bunch of projects, work on them for a few hours or days, then move on to the next thing. At this point I have about 30 projects active ranging from private accounting software, to twitch stream analytics, to media streaming services to like, to do lists
  14. Yep. As long as the path to your css file is correct in your html, it will load your css file as well
  15. Save your file as whatever.html then open the file in your web browser. Just double click it and it'll probably open automatically