This file contains 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 <array> | |
#include <string> | |
#include <map> | |
// This is free and unencumbered software released into the public domain. | |
// Anyone is free to copy, modify, publish, use, compile, sell, or | |
// distribute this software, either in source code form or as a compiled | |
// binary, for any purpose, commercial or non-commercial, and by any | |
// means. |
This file contains 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
// This is snake for windows console that can be compiled using mingw | |
// Compile using => $ g++ ./terrible_snake.cpp -o snake.exe <optional flags> | |
// (msvc will probably work, didn't test though) | |
// Features : | |
// * Has color | |
// * Is playable (wow!!1!) | |
// * Has argument options | |
// * Runs fine (unless you make the console larger because buffering is not done by the winapi but by std::cout which sucks, but the winapi requires buffer sizing-juggling so idk) | |
// * Single-file (but that is indeed a stretch, AppArgument is a .h + .cpp file because the linker says no [symbol AAÆ@@@@=DFAghsdao234<<<__<<< on terrible_snake.obj not found or some thing idk]) | |
// * Github gist editor also has a new feature called "mix tabs with spaces™", thanks. |
This file contains 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 YYÜ YUZEM Anket Doldur | |
// @version 0.4 | |
// @author B3X | |
// @description Unipa'nın yaptığı anket formu sayfasındaki cevapları rastgele olarak doldur. | |
// @namespace https://servis.yyu.edu.tr | |
// @match http://servis.yyu.edu.tr/* | |
// @match https://servis.yyu.edu.tr/* | |
// @run-at document-end | |
// @grant none |
This file contains 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
// ParticleAttractor.cs | |
// Attracts ParticleSystem particles towards given transform | |
// The code can be used for anything without attribution and it's from a part of 'Flag Race' | |
using Unity.Collections; | |
using UnityEngine; | |
using UnityEngine.Serialization; | |
/// <summary> | |
/// Attracts unity particle system (<see cref="ParticleSystem"/>) particles to given object <see cref="targetTransform"/>. |
This file contains 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 Instagram Video Volume Slider | |
// @description Adds a volume slider to any video shown. | |
// @author b3x | |
// @version 1.0 | |
// @license MIT | |
// @include https://instagram.com/* | |
// @include https://*.instagram.com/* | |
// @namespace https://gist.github.com/b3x206 | |
// @grant GM.getValue |