• Categories
    • Unread
    • Recent
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Scuzz
    3. Posts
    Offline
    • Profile
    • Following 0
    • Followers 3
    • Topics 91
    • Posts 375
    • Groups 1

    Posts

    Recent
    • RE: Remove all the posts you hate from facebook

      It used to be called http://unbaby.me/.

      Kinda get an abortion website feel from that url

      posted in General Computing
      ScuzzS
      Scuzz
    • RE: Ambilight with Raspberry Pi and Hyperion

      How much difference does it make having the LEDs pointing away from the wall and not towards the wall?
      I have seen a few set up like yours and few set up like mine.

      I would love to have my Raspberry Pi connected to my network.

      posted in Development and Coding
      ScuzzS
      Scuzz
    • For those of you who don't know markdown

      I have added a plugin that adds buttons to the composer that will insert the markdown into your post for you.

      Need a strikethrough? Press the strikethrough button.
      Need to quote someone? Press the quote button.

      Hopefully this will help all the people who have never used markdown and complain that it’s not BBCode.

      posted in Announcements
      ScuzzS
      Scuzz
    • Remove all the posts you hate from facebook

      I’ve been pretty pissed off with all these shitty ice bucket challenge videos on facebook and pictures of peoples babies.
      I managed to find this extension - http://www.getrather.com/.

      you can add filters for what ever you want. Dont want to see pictures and videos of peoples pets? just add the word pet to your list and it will remove it from your feed.

      You can also replace content with other content.

      posted in General Computing remove unwanted facebook posts
      ScuzzS
      Scuzz
    • RE: What are you listening to today?

      https://www.youtube.com/watch?v=lgWgEoaAYDY

      posted in The lounge
      ScuzzS
      Scuzz
    • RE: Ambilight with Raspberry Pi and Hyperion

      I’m not sure on the exact details but I think it checks the colours around the edge of the screen and gets a average value and then maps that colour to the LED.

      There is a java configuration program where you say where all the LEDS are, how many you have and which way around the tv they go.
      You can also change the area where the colours are captured from and the default colours.

      https://github.com/tvdzwan/hyperion

      @Schamper told me about it and it think it works a lot better than boblight even though I could only get it working on openelec because of some GNUTLS error on the other XBMC clones.

      https://www.youtube.com/watch?v=BMuyca-ZVKY

      posted in Development and Coding
      ScuzzS
      Scuzz
    • RE: Ambilight with Raspberry Pi and Hyperion

      It changes with what’s on screen. First one is all red because the screen is red and the second image you can see the corner is blue/purple.

      posted in Development and Coding
      ScuzzS
      Scuzz
    • RE: Ambilight with Raspberry Pi and Hyperion

      I snapped a couple pics last night while watching Xmen.

      posted in Development and Coding
      ScuzzS
      Scuzz
    • RE: Arduino Powered PC Lighting

      Code for the test.

      #include "FastLED.h"
      #define NUM_LEDS 41
      
      #define DATA_PIN 11
      #define CLOCK_PIN 13
      
      CRGB leds[NUM_LEDS];
      
      void setup() { 
        FastLED.addLeds<WS2801, RGB>(leds, NUM_LEDS);
      }
      
      void Pulse(CRGB colour)
      {
      
        for(int i = 0; i < NUM_LEDS; i++) {
          leds[i] = colour;
          leds[i].maximizeBrightness();
        }
        FastLED.show();
      
        for(int i = 0; i < 14; i++) {
          for(int k = 0; k < NUM_LEDS; k++) {
            leds[k].fadeLightBy( 64 );
          }
          FastLED.show();
          delay(50);
        }
      
        for(int i = 0; i < 14; i++) {
          for(int k = 0; k < NUM_LEDS; k++) {
            leds[k] *= 2;
          }
          FastLED.show();
          delay(100);
        }
      }
      
      void UpDown(CRGB colour) { 
      
        for(int i = 0; i < NUM_LEDS; i++) {
          leds[i] = colour;
          FastLED.show();
          leds[i] = CRGB::Black;
          delay(30);
        }
      
        for(int i = NUM_LEDS-1; i >= 0; i--) { 
          leds[i] = colour;
          FastLED.show();
          leds[i] = CRGB::Black;
          delay(30);
        }
      }
      void loop() { 
      
        UpDown(CRGB::Red);
        UpDown(CRGB::Red);
        for(int i = 0; i < 5; i++){
          Pulse(CRGB::Red);
        }
        UpDown(CRGB::Purple);
        UpDown(CRGB::Purple);
        for(int i = 0; i < 5; i++){
          Pulse(CRGB::Purple);
        }
        UpDown(CRGB::Blue);
        UpDown(CRGB::Blue);
        for(int i = 0; i < 5; i++){
          Pulse(CRGB::Blue);
        }
      }
      
      posted in Development and Coding
      ScuzzS
      Scuzz
    • RE: Ambilight with Raspberry Pi and Hyperion

      https://www.youtube.com/watch?v=mchlZqa4eR0

      Test video before i plugged it all in

      posted in Development and Coding
      ScuzzS
      Scuzz
    • Ambilight with Raspberry Pi and Hyperion

      Last weekend I spent most of it working on an Ambilight project.
      I originally wanted the LEDs i bought to go inside my PC and have some type of remote controlled colour changing LED setup. It worked and was controlled by my Arduino but I found that the LEDs were slightly too big and I didn’t really have any where to mount them.

      Original PC LED post

      We have a lot of cardboard at work an i thought cardboard would be the best and easy way to get a working rig up even though it will look ugly as hell. Once it is behind my TV it shouldnt matter though as you wont be able to see it.

      I have a 32" TV and I cut the carboard up to be slightly smaller than that as i didnt want to see anything sticking out over the edge of the TV. Other blog posts and videos show that others peoples setups are similar to mine.
      I went ahead and cut the cardboard, I didn’t really measure it accurately or use a ruler to draw the lines. But its square enough.

      Next task was to figure out how many LEDs I wanted around each edge. I decided to go 15 along the top and bottom, and 10 along the sides.
      I made a silly mistake when punching the holes out. I did 15 holes along the side and 10 along the top and bottom. Again it was fast and inaccurate as you can probably tell.

      Next it was time for the LEDs to go in. I didn’t realise how much the cable would stick out from each LED. Because of this it doesnt really mount well to my TV.


      Once the LEDs were in place I needed to test that they all worked and were in the correct order. I plugged my Arduino in and used the testing patterns I coded for when they were in my PC case.



      The Arduino has female inputs for its various pins but the Raspberry Pi has male pins and I didn’t have any female jump cables. I had to bodge some wires and connecters to make them fit on the pins on the Raspberry Pi and the male jumpe cables.
      It’t not very nice but it works.


      I plan on taking a few more picuters of my final setup once I have bought some more items. I’ll try and get a video up of it all working but unfortunaly my HTC One suffers from some purple tinge when filming in low light.

      posted in Development and Coding ambilight raspberry hyperion arduino
      ScuzzS
      Scuzz
    • Upgrading Windows 7 Home Premium to Windows 7 Ultimate

      Today I was tasked with upgrading some Windows 7 Home Premium PCs to Windows 7 Ultimate.

      For some reason the installer will not let you upgrade from Home premium to Ultimate and it tries to force you to do a clean install.

      I managed to find a way around this by editing some registry keys.

      Open Regedit and navigate to

      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion
      

      And change:

      EditionID from HomePremium to Enterprise

      and

      ProductName from Windows 7 HomePremium to Enterprise

      Then re run your upgrade and everything should run as you expected!

      Original Blog Post

      posted in General Computing windows microsoft upgrade windows 7 premium home ultimate
      ScuzzS
      Scuzz
    • RE: What are you listening to today?

      Dat 1k views

      posted in The lounge
      ScuzzS
      Scuzz
    • Sending Emails with Python and Mailgun

      I finally got round to install an email plugin for BitBangers. I chose the Mailgun plugin as it seemed the easiest to use and setup.
      All you have to do is install the plugin, register for an account and add your API key.

      I went ahead and installed it. I created an account with Mailgun and I followed their instructions on how to add the correct DNS records. Once I had all the green ticks on their DNS checker page I added the API key and domain to the NodeBB Mailgun plugin control panel and sent a test email.

      It worked!

      My next task was to send out a mass email to a list of email address from an old forum I used to be an administrator on, OneHitGamer. This is what I found difficult. Mailguns documentation is great but I could not find a simple way to send an email with multiple lines for either python or curl through the command line.

      After a lot of searching I found a blog post by Brad Gignac with some Python code and instructions on how to send emails with it.

      import requests
      
      key = 'YOUR API KEY HERE'
      sandbox = 'YOUR SANDBOX URL HERE'
      recipient = 'YOUR EMAIL HERE'
      
      request_url='https://api.mailgun.net/v2/{0}/messages'.format(sandbox)
      request = requests.post(request_url, auth=('api', key), data={
          'from': '[email protected]',
          'to': recipient,
          'subject': 'Hello',
          'text': 'Hello from Mailgun'
      })
      
      print 'Status: {0}'.format(request.status_code)
      print 'Body:   {0}'.format(request.text)
      

      After installing requests for Python and changing the code I was able to use this tiny Python script to send an email to over 400 people.

      Link to the original blog post by Brad Gignac

      posted in General Computing python mailgun emails
      ScuzzS
      Scuzz
    • Arduino Powered PC Lighting

      Over the last week or so I have been looking at either creating an Arduino controlled LED set up for my PC or an Ambilight for my TV.
      I originally had the idea to have some individually programmable RGB LEDs inside my PC so I can change the colour scheme when I felt like it. I didn’t want to be tied down to blue, red or green.

      I was looking at the thin LED strips but the ones in my local electronic shop were not individually addressable and they were quite expensive.
      After some research on different projects for PC lighting and Ambilights I decided to buy some WS2801 LEDs. These are RGB and are individually programmable, they are also slightly cheaper than the LED strip I saw at my local shop.

      Ebay WS2801 LED UK

      When they arrived I was surprised by how big they actually are. Each LED has its own chip soldered next to it making them quite long.
      50 LEDs seemed like a good amount at the time to fill my whole case with light but after testing them out it inside the case I found that they were too big and to spaced out to be of any use. Unless I can find a way to hide them, the wires, and have an even spread, I don’t think that they look ok inside my PC.

      https://www.youtube.com/watch?v=28G0CsNP6NU

      Sorry for the crappy quality by my HTC One suffers from the purple tinge issue when in low light.

      Scuzz’s Blog Post

      posted in Development and Coding arduino led ws2801
      ScuzzS
      Scuzz
    • RE: Oi‰‰‰‰‰‰

      Hai

      posted in Introductions
      ScuzzS
      Scuzz
    • RE: Show off your PC / Laptop

      @Schamper Yeah it is lol. 5 inches shorter than my desk and about 8 longer.

      posted in General Computing
      ScuzzS
      Scuzz
    • RE: Show off your PC / Laptop

      Finally got round to taking some pictures of mine. Not the best but you get the picture.

      Imgur

      Imgur

      Imgur

      Imgur

      Imgur

      Ghetto cardboard patching.
      Imgur

      posted in General Computing
      ScuzzS
      Scuzz
    • RE: When Will You Notice Me?

      I’m pretty sure you are the only one with negative rep.

      posted in The lounge
      ScuzzS
      Scuzz
    • RE: Some feedback from yesterday.

      @Antu Fixed it, looks a lot better than the pink :+1:

      posted in The lounge
      ScuzzS
      Scuzz
    • 1 / 1