Skip to content

Instantly share code, notes, and snippets.

View tance77's full-sized avatar

Lance tance77

View GitHub Profile
function setTwitchVideo(channelName) {
$(".active-stream").removeClass("active-stream");
$(".stream-thumbnail-active").removeClass("stream-thumbnail-active").addClass('stream-thumbnail-not-active');
$("#"+channelName + "-thumb").addClass("stream-thumbnail-active").removeClass('stream-thumbnail-not-active');
var activeStream = $("#" + channelName + "-stream");
activeStream.addClass("active-stream");
var vid = $(".carousel-inner");
vid.empty();
var options = {
width: 620,
@tance77
tance77 / example
Last active December 19, 2015 08:18
exampel v
//This is a variable there are int, char, float, double, bool (true false) and more
/*------------------variables---------------------*/
int x = 0; //this is an integer
char c; // this is a character variable
bool frogs = true; //these can be set to true or fasle
double a = 0; //this is just a bigger storage variable than an int.
/*------------------end variables---------------------*/