This file contains hidden or 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 <iostream> | |
| #include <stdexcept> | |
| #include <string> | |
| #include "ofMain.h" | |
| using std::cout; | |
| using std::endl; | |
| using std::ifstream; | |
| using std::string; |
This file contains hidden or 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 <iostream> | |
| #include <stdexcept> | |
| #include <string> | |
| #include "ofxJSON.h" | |
| #include "ofMain.h" | |
| using std::string; | |
| using std::cout; | |
| using std::endl; |
This file contains hidden or 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
| #!/usr/bin/env python3.6 | |
| import argparse | |
| import pathlib | |
| import re | |
| import sys | |
| import urllib.parse | |
| import urllib.request | |
| ''' |
This file contains hidden or 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
| #!/usr/bin/env python3.6 | |
| import argparse | |
| import math | |
| import pygame | |
| import sys | |
| WIDTH = 1500 | |
| HEIGHT = 1000 | |
| RADIUS = 10 | |
| MAX_FPS = 25 |
This file contains hidden or 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
| /** | |
| * pingpong.c (with signals) | |
| * | |
| * Press ctr+z to run faster | |
| * Press ctrl+\ to run slower | |
| * | |
| * Compile with: cc pingpong.c -o pingpong | |
| * Run with: ./pingpong | |
| */ |
This file contains hidden or 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
| A E F . G C B D | |
| 0 1 1 1 0 0 1 1 1 -> 0xe7 | |
| 1 0 0 0 0 0 1 1 0 -> 0x06 | |
| 2 1 1 0 0 1 0 1 1 -> 0xcb | |
| 3 1 0 0 0 1 1 1 1 -> 0x8f | |
| 4 0 0 1 0 1 1 1 0 -> 0x2e | |
| 5 1 0 1 0 1 1 0 1 -> 0xad | |
| 6 1 1 1 0 1 1 0 1 -> 0xed | |
| 7 1 0 0 0 0 1 1 0 -> 0x86 | |
| 8 1 1 1 0 1 1 1 1 -> 0xef |
This file contains hidden or 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
| // Compiled with: g++ -std=c++11 rev.cc -o rev | |
| #include <iostream> | |
| #include <utility> | |
| struct Node { | |
| int data; | |
| Node* next; | |
| Node(int data, Node* next) : |
This file contains hidden or 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
| // ==UserScript== | |
| // @name CS126 | |
| // @namespace https://prairielearn.engr.illinois.edu/* | |
| // @description e | |
| // @include *://prairielearn.engr.illinois.edu/* | |
| // @version 1 | |
| // @grant none | |
| // ==/UserScript== | |
| function start() { |
This file contains hidden or 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
| for l in list(map(lambda x:list(map(lambda y,z:int(y)*z,x[:-1].split(', '),[' ','██']*99)),list(open('in.txt')))):print(''.join(l)) |