Skip to content

Instantly share code, notes, and snippets.

do you see it?

buoyantair buoyantair

do you see it?
Block or report user

Report or block buoyantair

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
buoyantair / cool-game-programming-blogs.opml
Created Feb 27, 2019 — forked from Reedbeta/cool-game-programming-blogs.opml
List of cool blogs on game programming, graphics, theoretical physics, and other random stuff
View cool-game-programming-blogs.opml
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<title>Graphics, Games, Programming, and Physics Blogs</title>
<outline text="Tech News" title="Tech News">
<outline type="rss" text="Ars Technica" title="Ars Technica" xmlUrl="" htmlUrl=""/>
<outline type="rss" text="Polygon - Full" title="Polygon - Full" xmlUrl="" htmlUrl=""/>
<outline type="rss" text="Road to VR" title="Road to VR" xmlUrl="" htmlUrl=""/>
buoyantair /
Last active Oct 25, 2017
Opens a browser window every 30 minutes to ensure you don't sit for continuously for long hours.
import webbrowser
import time
total_breaks = 500
break_count = 0
break_time = 1
print("Script started at " + time.ctime())"")
View pyramidClass.js
A pretty simple pyramid class that can be used to create a pyramid.
Methods in the class can be used to print out the pyramid in different ways.
class Pyramid{
this.size = sizeOfPyramid;
View min.js
A function that takes 2 arguments and returns their minimum.
function min(type='binary', a, b){
switch (type){
case 'binary':
return (a > b) ? b : (b > a ? a : a)
View fizzBuzz.js
A program that prints all the numbers from 1 to 100, with two exceptions.
For numbers divisible by 3, it prints "Fizz" instead of the number, and for numbers divisible by 5 (and not 3), it prints "Buzz" instead.
For numbers divisible by both 3 & 5, it prints "FizzBuzz".
- Can we make this more progressive/dynamic in any ways?
View chessBoard.js
A program that creates a string that represents an 8 x 8 grid, using newline characters to separate lines.
At each position of the grid there is either a space or a "#" character.
The characters printed should represent a chessboard.
function printChessBoard(size){
let odd = false;
View quotes.json
"You are a lot better than you probably think you are. —William Walter",
"Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind. - Dr. Seuss",
"This too, shall pass. —Anonymous",
"Keep your eyes on the stars and your feet on the ground. -Theodore Roosevelt,
"The only person you should try to be better than is the person you were yesterday. -Anonymous",
"Never be bullied into silence. Never allow yourself to be made a victim. Accept no one's definition of your life; define yourself. -Harvey Fierstein",
"Faith is the art of holding on to things your reason has once accepted, in spite of your changing moods. –C.S. Lewis",
"A man who flies from his fear may find that he has only taken a shortcut to meet it. -Sador, Children of Húrin",
"Life's too mysterious to take too serious. —Mary Engelbreit",
You can’t perform that action at this time.