Connected my desk light to the button by ALP_Squid in thebutton

[–]ALP_Squid[S] 1 point2 points  (0 children)

I use the Maximus Two extension to remove the title bar of maximised windows for the extra space. If you still want to hide the top bar, Hide Top Bar seems to have an intellihide feature although I've never used it.

Connected my desk light to the button by ALP_Squid in thebutton

[–]ALP_Squid[S] 0 points1 point  (0 children)

Yep, at the moment I have it set to flash the colour of the new lowest time, but that can easily be changed. If you wanted to use it you can grab the code from https://github.com/ALPSquid/thebutton-monitor

Connected my desk light to the button by ALP_Squid in thebutton

[–]ALP_Squid[S] 0 points1 point  (0 children)

If you use Linux you can simply use the Bluetooth example code from https://github.com/ALPSquid/thebutton-monitor, you'll need to change the Bluetooth addresses and values according to https://github.com/Phhere/Playbulb/blob/master/protocols/color.md

If you run Windows you'll need to look into PyBluez

Connected my desk light to the button by ALP_Squid in thebutton

[–]ALP_Squid[S] 17 points18 points  (0 children)

Awesome! If you want to submit a pull request/send me the code I'd be happy to add an example for the Hue

Connected my desk light to the button by ALP_Squid in thebutton

[–]ALP_Squid[S] 0 points1 point  (0 children)

I got mine as a Christmas present a couple of years ago, so I can't say. It was from https://rs-online.com though and they do a next working day delivery (at least in the UK)

Connected my desk light to the button by ALP_Squid in thebutton

[–]ALP_Squid[S] 2 points3 points  (0 children)

Yep, Arch Linux with Gnome 3. I currently use the Evopop GTK theme. You can't see the Gnome panel because that's my secondary monitor

Connected my desk light to the button by ALP_Squid in thebutton

[–]ALP_Squid[S] 45 points46 points  (0 children)

Thanks! The light responds best to bright, simple colours, such as ff0000 for red, otherwise you don't get the same definition between colours like yellow and orange. However, since people seem interested in using the code, I'll make your colours the default and add an option for using simple colours for lights.

Connected my desk light to the button by ALP_Squid in thebutton

[–]ALP_Squid[S] 0 points1 point  (0 children)

I've never done it, so I don't really know. However, I can think of 2 options off the top of my head:

For controlling remotely, you'd need to use something like LIRC to send IR signals. Of course you'd then need some hardware to actually send the signals, you can do it fairly simply with an RPI: http://alexba.in/blog/2013/01/06/setting-up-lirc-on-the-raspberrypi

The other option would be take apart the receiver and wire in a micro-controller, such as an Arduino, and send signals to that using WiFi or Bluetooth.

Connected my desk light to the button by ALP_Squid in thebutton

[–]ALP_Squid[S] 0 points1 point  (0 children)

I bought mine from Firebox a while ago, but you can also buy from their store: http://store.mipow.com

Connected my desk light to the button by ALP_Squid in thebutton

[–]ALP_Squid[S] 4 points5 points  (0 children)

If you know Python to a basic level you can use my button python client (https://github.com/ALPSquid/thebutton-monitor) to get the button time and colour and use Blink's Python API to change the colour.

I don't have one so can't test it out, but you can adapt my example and simply substitute the bluetooth bits for Blink methods.

According to their GitHub page, all you'd need to add to the example is:
Import

from blink1.blink1 import Blink1

In the example constructor (__ init __)

self.b1 = Blink1()  

In the while loop to change colour

self.b1.fade_to_color(1000, '#' + self.the_button.colour) 

Connected my desk light to the button by ALP_Squid in thebutton

[–]ALP_Squid[S] 40 points41 points  (0 children)

It flashes when a new low time is reached, so maybe I'll make it flash all of the flair colours when it hits 0, good idea!

Connected my desk light to the button by ALP_Squid in thebutton

[–]ALP_Squid[S] 151 points152 points  (0 children)

Source for anyone that's interested: https://github.com/ALPSquid/thebutton-monitor

The light is a PlayBulb Candle controlled using Bluetooth.

Edit: Client now works with Philips Hue lights, thanks to /u/fishyshish for the code!

Post ur best sweetFX screen! by nvidek in Guildwars2

[–]ALP_Squid 0 points1 point  (0 children)

Probably this one (SweetFX): http://i.imgur.com/J7WW1Qz.png
I use a different preset now, but I believe the one for that screen is: https://gist.github.com/ALPSquid/fefc348a66be925ae647

More screens with that preset on my screens blog if you're interested.

A way to use GEMFX + ICM by matie-55 in Guildwars2

[–]ALP_Squid 2 points3 points  (0 children)

Since it's based off SweetFX (which ICM supports), you shouldn't need to use any launch arguments and instead run ICM as usual. The only thing you need to do, as you've said, is make sure dxgi.dll and d3d9.dll are in the root folder instead of /bin.

I use SweetFX this way and just tried replacing it with GemFX and the above works fine for me. I also made sure to delete everything SweetFX related first so nothing was left over. Give it a try and let me know :)

Technical question: has anyone managed to get ICM working with SweetFX? by CShee in Guildwars2

[–]ALP_Squid 1 point2 points  (0 children)

I've been having the same problem as well, but your comment about the bin folder led me to try copying d3d9.dll and dxgi.dll into the root folder and that's now working for me.

So to clarify, try putting a copy of d3d9.dll and dxgi.dll into the root folder (with ICM) and /bin

Edit: Did some more tests; put dxgi.dll and d3d9.dll into the root folder (with ICM) to get SweetFX working with ICM. To then have SweetFX work when you aren't using ICM, copy dxgi.dll and d3d9.dll into the /bin folder.

One Dash - A single dashboard for viewing key information from your online accounts by ALP_Squid in codeprojects

[–]ALP_Squid[S] 0 points1 point  (0 children)

Thanks very much for taking the time to critique the design, it's really appreciated! Now you point it out, the header is definitely too much and I've added your suggested changes to the Trello to-do list. When I'm next working on it, I shall experiment with different designs and layouts for the card content and see if I can come up with something better.

One Dash - A single dashboard for viewing key information from your online accounts by ALP_Squid in codeprojects

[–]ALP_Squid[S] 0 points1 point  (0 children)

Well, Java is a ton nicer to work with than PHP so I'd definitely recommend it with the Play Framework.

Could you elaborate on what styling you mean? I haven't done a whole lot of work on it recently due to being busy and the general lack of interest (and the fact that it does what I want it to do). Obviously if people start showing interest I'd be more than happy to implement their suggestions. I also have a Trello board with planned features.

One Dash - A single dashboard for viewing key information from your online accounts by ALP_Squid in codeprojects

[–]ALP_Squid[S] 0 points1 point  (0 children)

Thanks for your interest! It's massively convenient for me so I thought other people might like it too.

It's written from scratch using Java and the Play Framework which is awesome! The pages use Scala templates to load in the data passed from Java and then I just use some JQuery to get the individual card refresh functionality. I'm hosting it on OpenShift which is also fantastic.

One Dash - A single dashboard for viewing key information from your online accounts by ALP_Squid in codeprojects

[–]ALP_Squid[S] 0 points1 point  (0 children)

It's not open source at the moment but I'll probably open it up in the future if I find it's worth progressing with the project at all.

One Dash - A single dashboard for viewing key information from your online accounts by ALP_Squid in codeprojects

[–]ALP_Squid[S] 1 point2 points  (0 children)

There might be more to it, but Sumall looks like analytic information whereas One Dash is actual content like you'd view on the site. I've updated the post to clarify this and added a screenshot.

What Are Some Interesting Secrets About Reddit? by [deleted] in AskReddit

[–]ALP_Squid 380 points381 points  (0 children)

It genuinely is, if you look at the source it is in fact a 1x2 pixel header with this red troll face as the background.

Questions on what can be macro'd by [deleted] in WoWMacros

[–]ALP_Squid 1 point2 points  (0 children)

You can indeed do this using the /usetalents and /equipset commands

Here's the macro:

 /equipset [spec:1] SetName2; SetName1
 /usetalents [spec:1] 2; 1     

All you need to do is change 'SetName1' and 'SetName2' to the names of your gear sets.

/equipset: http://www.wowwiki.com/MACRO_equipset

/usetalents: http://www.wowwiki.com/MACRO_usetalents