Skip to content

Instantly share code, notes, and snippets.

using System.Collections;
using UnityEngine;
public class Main : MonoBehaviour
{
public int numberOfCubes = 20;
public float cubeScale = 0.2f;
public float spacing = 1f;
public int[,] aConfig = new int[,] {
{0,0,1,1,1,0,0},
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Main : MonoBehaviour
{
public int[,] aConfig = new int[,]
{
{ 0, 0, 1, 1, 1, 0, 0 },
{ 0, 1, 0, 0, 0, 1, 0 },
#!/usr/bin/env sh
#
# Stream screen and audio (speakers and microphone) to Twitch.tv using FFmpeg.
#
# Usage: stream-to-twitch path/to/key
set -euo pipefail
#######################################
# Stream to Twitch.tv.
Congress should take a closer look at our financial situation, which is worse than even we thought. We are spending MUCH less and have MUCH TOO little to show for it. We are in big financial shape, but in no hurry, and the Economy is setting record after record. Great job, but we can do much better than what we are doing!<|endoftext|>
<|startoftext|>The Democrats are going to have a BIG and very embarrassing compromise in the House tomorrow morning. There is so much red meat on the Democrat side. They want to stop the many great things that we are doing, but the process is holding back them anyway. So ridiculous to watch. Haters, have to go now!<|endoftext|>
<|startoftext|>Today, it was my great honor to welcome the 2014 NCAA Football National Champion, Alabama Crimson Tide! Thank you for your continued support! #TBT #AFTERtheBias https://t.co/7pTjzmPj1h https://t.co/X7I5BQ495h<|endoftext|>
<|startoftext|>I am not only fighting the bias of the News Media, I am fighting the bias of the Democrats in Congress. R
@pemby
pemby / index.html
Created April 5, 2020 02:40
jPlayer With Playlist
<div class="sectionContainer" id="profile-music">
<div class="container">
<div class="sectionHeading"><h3>Media</h3></div>
<div class="crow">
<div class="chalf">
<div id="jplayer-audio" class="jp-jplayer"></div>
<div id="jplayer-audio-container" class="jp-audio" role="application" aria-label="media player">
<div class="jp-type-playlist">
<div class="jp-gui">
<div class="jp-title"></div>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<script src="https://unpkg.com/video.js/dist/video.min.js"></script>
<script src="https://unpkg.com/@videojs/http-streaming/dist/videojs-http-streaming.js"></script>
<script src="https://cdn.jsdelivr.net/npm/videojs-playlist/dist/videojs-playlist.min.js"></script>
<link href="https://unpkg.com/video.js/dist/video-js.css" rel="stylesheet" />
@pemby
pemby / index.html
Created February 25, 2020 22:52
VideoJS Playlist 2
<html>
<body>
<video id="playerOne" class="video-js vjs-default-skin" controls="controls" width="600px" crossorigin="anonymous"></video>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
body {
margin: 30px;
padding: 0;
@pemby
pemby / index.html
Created February 25, 2020 22:21
youtube vertical playlist responsive
<div class="vid-main-wrapper clearfix">
<!-- THE YOUTUBE PLAYER -->
<div class="vid-container">
<iframe id="vid_frame" src="https://www.youtube.com/embed/cOSEOYi9JS4?rel=0&showinfo=0&autohide=1" frameborder="0" width="560" height="315"></iframe>
</div>
<!-- THE PLAYLIST -->
<div class="vid-list-container">
<ol id="vid-list">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Compute</title>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script type="text/javascript" id="MathJax-script" async
src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js">
</script>
<script type="text/x-mathjax-config;executed=true">
MathJax.Hub.Config({ tex2jax: { inlineMath: [['$','$'], ['\\(','\\)']] } });
</script>