This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="/lib/polymer/polymer.html"> | |
<link rel="import" href="/lib/iron-flex-layout/classes/iron-flex-layout.html"> | |
<link rel="import" href="/elements/onion-app/onion-app.html"> | |
<link rel="import" href="/lib/iron-icons/iron-icons.html"> | |
<link rel="import" href="/lib/iron-icons/hardware-icons.html"> | |
<link rel="import" href="/elements/bootstrap-dropdown/bootstrap-dropdown.html"> | |
<dom-module id="onion-rgbled"> | |
<style> | |
:host { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "onion-rgbled", | |
"name": "RGB Led Tool", | |
"icon": true | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <string> | |
#include <iostream> | |
#include <stdio.h> | |
#include <ctime> | |
using namespace std; | |
void InstallSoftware(); | |
void FormatDrive(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function cmd($command) | |
{ | |
exec("$command 2>&1", $output); | |
return $output; | |
} | |
function InstallSoftware() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* For uvcdynctrl 0.2.4 | |
* Logitech c615 https://www.logitech.com/en-us/product/hd-webcam-c615 | |
*/ | |
class Api | |
{ | |
private function setCmd($cmd, $value) | |
{ | |
exec("uvcdynctrl -v -d video0 --set '".$cmd."' '$value' 2>&1",$output); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Threading; | |
using System.Threading.Tasks; | |
public delegate void ThreadQueueWorkDelegate<T>(T task); | |
/// <summary> | |
/// ThreadQueue | |
/// Made by BahNahNah |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @ Author: Chris | |
* @ Date: 5/25/2016 | |
* @ Disc: Hardware pwm wrapper! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ************** Instructions for connecting to the LiveCoding chatrooms from a 3rd party application. **************** | |
Step 1a (Ubuntu/ any OS with aptitude (aka apt-get)) : | |
sudo apt-add-repository ppa:rsrchboy/profanity && sudo apt-get update | |
apt-get install profanity | |
-- | |
Step 1b (OSX w/ homebrew): | |
$ brew install profanity | |
-------- |
OlderNewer