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 <vector> | |
#include <stack> | |
class Node { | |
public: | |
// to neighbors | |
std::vector<Node*> edges; |
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
const fs = require("fs"); | |
const Teemo = require("teemojs"); | |
// riot api | |
const riotAPIToken = fs.readFileSync(`${process.env.HOME}/.corki/riot_key`).toString().trim(); | |
const riot = new Teemo(riotAPIToken, { | |
"prefix": "https://%s.api.riotgames.com", |
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
Look at you, hacker, a pathetic creature of meat and bone. How can you challenge a perfect immortal machine?<quote> | |
How beautiful it is to do nothing and then rest afterward.<quote> | |
With my luck, I'll probably be reincarnated as me.<quote> | |
Think before sharing with others.<quote> | |
More good code has been written in languages denounced as "bad" than in languages proclaimed "wonderful" -- much more. | |
-- Bjarne Stroustrup<quote> | |
Some people's idea of free speech is that they are free to say what they like, but if anyone says anything back that is an outrage. | |
-- Sir Winston Churchill<quote> | |
What comes around goes around.<quote> | |
Feel free to add your own fortunes using /addfortune your fortune<quote> |
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
arduino zip unzip atom audacity bleachbit blender gnome-builder eclipse filezilla gpick gimp gparted htop ibus-pinyin ibus-hangul inkscape kdenlive lmms obs virtualbox qtcreator shadowsocks dosbox dolphin-emu wings3d vlc xfce4-terminal simplescreenrecorder openssh openvpn | |
fonts: adobe-source-han-sans-otc-fonts noto-fonts-cjk adobe-source-han-serif-otc-fonts ttf-dejavu ttf-droid ttf-hack ttf-roboto ttf-freefont ttf-junicode noto-fonts noto-fonts-emoji ttf-symbola font-mathematica | |
AUR: | |
clion discord-canary slack wps-office | |
other: | |
telegram |
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
<h3>Sub-Title</h3> | |
<div class="img-wrapper"> | |
<img src="https://robobibb.github.io/imgs/finals-awards.jpg" /> | |
here is a picture contained in a div.img-wrapper | |
</div> | |
<br/>this text has a<br/><br/>in it... | |
<br/><br/><hr/> makes divider bars <hr/> |
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
I've installed Ubuntu 16.04 (came out in 2016, so its stable but old). I wouldn't use this distro on my own, but it's great for people who have never used Linux before as it guides you through using it. It's kinda lame (IMO), but it gets the job done and millions of people rely on it so it can't be too bad. | |
I've installed some commonly used programs: | |
- chromium - google chrome is just a skin for this project | |
- firefox - another browser bc why not | |
- geany - write c/c++ code here (this ide is great for small projects and test programs) | |
- libreoffice - a really low quality office suite (look into WPS office) | |
- gimp - edit photos | |
- wine - run windows programs (not perfect) | |
- gedit - simple text editor (like notepad.exe) |
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
#ifndef COLOR_H | |
#define COLOR_H | |
#include <inttypes.h> | |
// 24-bit color class | |
class Color { // 16777216 colors | |
public: | |
// 24-bit color | |
uint8_t r, g, b; |
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
@if "%DEBUG%" == "" @echo off | |
echo I had to make this to run the command for me... | |
echo Starting GRIP... | |
choice /c:ync /n /m "Run offline? (y/N/cancel)" | |
if errorlevel 3 exit | |
if errorlevel == 1 ( |
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 <stdio.h> | |
#include <stdlib.h> | |
int main(){ | |
// prompt: | |
printf("please enter a string:"); | |
// get input | |
size_t linelen = 500; |
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 <string.h> | |
int main(int argc, char* args[]){ | |
if (strcmp(args[1], "--version") == 0) { | |
std::cout <<"This is a ghetto echo function that reads in reverse.\n"; | |
return 0; | |
} else if (strcmp(args[1], "--help") == 0) { | |
std::cout <<"Useage: echo [OPTION]... [STRING]...\n" |