Skip to content

Instantly share code, notes, and snippets.

View Mohyoo's full-sized avatar
💭
:P

Mohyeddine Didouna 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 */
@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).",
@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