Skip to content

Instantly share code, notes, and snippets.

View Mohyoo's full-sized avatar
💭
:P

Mohyeddine Mohyoo

💭
:P
View GitHub Profile
@Kielx
Kielx / CPP colors
Created May 3, 2021 06:50
c++ terminal output colors
You need the terminal color codes. For linux it's the following (your system might be different, look it up):
//the following are UBUNTU/LINUX, and MacOS ONLY terminal color codes.
#define RESET "\033[0m"
#define BLACK "\033[30m" /* Black */
#define RED "\033[31m" /* Red */
#define GREEN "\033[32m" /* Green */
#define YELLOW "\033[33m" /* Yellow */
#define BLUE "\033[34m" /* Blue */
#define MAGENTA "\033[35m" /* Magenta */
  • LOADING_LINE_1: "Discord was almost called Bonfire before we picked our name. It was meant to be nice and cozy."
  • LOADING_LINE_2: "Discord was almost called Wyvern before we picked our name. Not too proud of that one."
  • LOADING_LINE_3: "Our logo's name is Clyde."
  • LOADING_LINE_4: 'There are a bunch of hidden "Easter Eggs" in the app that happen when you click certain things...'
  • LOADING_LINE_5: "Discord started as a game company making a mobile game called Fates Forever."
  • LOADING_LINE_6: "Discord’s official birthday is May 13, 2015."
  • LOADING_LINE_7: "We came up with the idea of Discord Nitro over morning breakfast potatoes."
  • LOADING_LINE_8: "Our mascot, Wumpus, was originally created as a character with no friends :("
  • LOADING_LINE_9: "In Discord's early days, light theme was the only theme. Scary times."
  • LOADING_LINE_10: "In the ancient days, Discord started as a browser-only app."
// Author: Omdihar
#include "HwidSpoofer.h"
#include "SystemRoutines.h"
#include <ntddstor.h>
#include <Ntdddisk.h>
PDRIVER_DISPATCH OldIrpMj;
char NumTable[] = "123456789";
@BideoWego
BideoWego / dictionary.json
Created January 26, 2018 02:28
English dictionary in JSON and words in raw text
This file has been truncated, but you can view the full file.
{
"a": "The first letter of the English and of many other alphabets.The capital A of the alphabets of Middle and Western Europe, as alsothe small letter (a), besides the forms in Italic, black letter,etc., are all descended from the old Latin A, which was borrowed fromthe Greek Alpha, of the same form; and this was made from the firstletter (Aleph, and itself from the Egyptian origin. The Aleph was aconsonant letter, with a guttural breath sound that was not anelement of Greek articulation; and the Greeks took it to representtheir vowel Alpha with the ä sound, the Phoenician alphabet having novowel symbols. This letter, in English, is used for several differentvowel sounds. See Guide to pronunciation, §§ 43-74. The regular longa, as in fate, etc., is a comparatively modern sound, and has takenthe place of what, till about the early part of the 17th century, wasa sound of the quality of ä (as in far).",
"ab": "The fifth month of the Jewish year according to theecclesiastical reckoning, the eleventh by the
@kholis
kholis / arabic_font_fixer.js
Created November 22, 2016 04:22
Arabic font fixer (TamperMonkey)
// ==UserScript==
// @name Arabic font size fixer
// @namespace Arminius99
// @include *.wikipedia.org*
// @include *.wiktionary.org*
// @include *.aljazeera.net*
// @include *reddit.com*
// @include *.wordpress.com*
// @include *.blogspot.co*
// @include *.facebook.com*
@pdemanget
pdemanget / disable-services.bat
Created September 6, 2015 08:13
Disable the generally unneeded services in Windows 7
sc stop WSearch
sc stop hidserv
sc stop napagent
sc stop iphlpsvc
sc stop TrkWks
sc stop CscService
sc stop WdiSystemHost
sc stop PcaSvc
sc stop DPS