Hazy125

Gold Contributor
  • Content count

    3,283
  • Joined

  • Last visited

Reputation

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

Awards


About Hazy125

System

  • 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
    @Hazy365
  • Google+
    Hazy125
  • Facebook
    https://www.facebook.com/curtis.hayes.5891
  • Skype
    Not Hazy125. Suck it
  • Razer Comms
    Hazy125
  • Origin
    Can't remember... Probably Hazy125
  • Steam
    http://steamcommunity.com/id/hazy125
  • Star Citizen
    Hazy125
  • Battle.net
    *cough*Hazy125.....
  • Xbox Live
    Seriously, there's a trend. 3 guesses...
  • Website URL

Profile Information

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

Recent Profile Visitors

8,808 profile views
  1. 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
  2. Has to have node
  3. prepare > bind > execute > bind_result > fetch
  4. 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
  5. 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
  6. 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
  7. 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
  8. Yep. As long as the path to your css file is correct in your html, it will load your css file as well
  9. Save your file as whatever.html then open the file in your web browser. Just double click it and it'll probably open automatically
  10. Welcome to the forum @Grim coder, there's a lot of people on here these days, but we mostly don't bite too much
  11. The meta tage, like br and input tags are self closing or void tags. If you're using HTML5 which you should be it's the current spec, it doesn't matter if you have the tag like this <br> or like this <br />. Both are valid. But if you want to use earlier than HTML5 or XHTML, the spec for that version required the slash. So having the slash is always valid no matter what standards you're coding to and what browsers people are using to view your site(there are plenty of older browsers that have never heard of HTML5)... So yeah, I try and always make sure I close void tags that way when I can
  12. All my projects start with several default tags. This one goes in the head and it helps with most viewport and scaling issues you have when dealing with mobile devices and such <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
  13. I can't speak too much about non web based languages, but I know certainly that javacript is capable through the keypress, keydown and keyup events as seen here https://developer.mozilla.org/en/docs/Web/Events/keypress Every client facing language should have some native support for handling keyboard events. If they couldn't you would have a difficult time making programs such as games with them
  14. Are you trying to implement something like this in a program or an app. And if so, what programming language are you using(c++, python, Go, javascript)
  15. Language..?