Skip to content

Instantly share code, notes, and snippets.

View fixator10's full-sized avatar
🔰
🔰

Fixator10 fixator10

🔰
🔰
View GitHub Profile
@MPThLee
MPThLee / enableDiscordExperiments.js
Last active June 13, 2024 21:26
This code doesn't work anymore. I just decided to remove this code. You can check working code on comments.
/**
* !!!! This code doesn't work anymore !!!!
*
* - You can check working code on comments. I won't update this code anymore.
*
* Also, I just decided to remove this code. You can check revisions for old code.
* Since this code was made for discord client that almost 5 years ago, It seems like doesn't work anymore.
* I don't want people keep arguing in the comments, i decided to remove this code.
*
* Note: This code is now fulfilled with Javascript comments. This code won't work even if you pasted to console. doesn't do anything.
@matthewzring
matthewzring / markdown-text-101.md
Last active June 14, 2024 12:19
A guide to Markdown on Discord.

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

What this guide covers:

@meew0
meew0 / apitosqa.md
Last active December 22, 2022 04:10
API ToS Q&A Summary

This is a summary of the Q&A regarding the new API ToS that took place in the #api channel on the Discord API server, starting around midnight UTC on Thursday, August 17, 2017.

All answers are from b1nzy unless marked otherwise. This is just a summary of my (meew0) own interpretation of the Q&A; obviously this shouldn't be interpreted as anything legally binding. If in doubt, ask the devs yourself or consult a lawyer. I'm not responsible if you get banned or sued because of this document. All subsequent usages of first-person pronouns refer to the people asking/answering the questions, respectively.

Q. How do we detect users deleting their accounts, if we have to delete their data within 7 days?
A. You will get an email by Discord if that happens. Make sure the account that registered the bot application has an email attached to it that you actually get messages with. This may change in the future but if it will, there will be plenty of time before the new mechanism goes into effect.

Q. **Do we need

{
"ETHNIC / FOLK / SPIRITUAL MUSIC": [
{
"url": "http://radcap.ru/indian.html",
"title": "INDIAN",
"name": "Indian Folk/Ethnic",
"img": "http://radcap.ru/stylegraf/indian1.jpg",
"asx": "http://radcap.ru/play/rc3/radio+caprice-indian+folk.asx",
"m3u": "http://radcap.ru/play/rc3/radio+caprice-indian+folk.m3u",
"pls": "http://radcap.ru/play/rc3/radio+caprice-indian+folk.pls",
@meepen
meepen / materialmeepen.lua
Last active February 5, 2017 04:38
A Derma skin for Garry's Mod. Mimics Windows 10 a bit.
local surface = surface
local draw = draw
local Color = Color
surface.CreateFont("MaterialMeepen", {
font = "Tahoma",
size = 13,
weight = 500,
antialias = true,
extended = true
@bmwalters
bmwalters / Facepunch_GLua_Wiki_Tokenizer.user.js
Last active August 30, 2016 23:29
Get the power of the GLua Wiki Tokenizer in your Facepunch [lua] tags!
// ==UserScript==
// @name Facepunch GLua Wiki Tokenizer
// @namespace zerf
// @description Get the power of the GLua Wiki Tokenizer in your Facepunch [lua] tags!
// @version 1.5
// @include https://facepunch.com/showthread.php*
// @downloadURL https://gist.github.com/bmwalters/6d4cc5499378711de0f46028e565cc8d/raw/master/Facepunch_GLua_Wiki_Tokenizer.user.js
// @require https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js
// @run-at document-start
// @grant GM_xmlhttpRequest
@OmegaExtern
OmegaExtern / gmod_cvarlist_log_insandboxgamemode.txt
Created December 3, 2015 22:44
Garry's Mod CVars dump (3rd Dec 2015) - run on development branch (2.12.2015.) - in default gamemode "Sandbox". All names have been lowercased and sorted (in alphabetical order). Total count is 3480.
// Garry's Mod CVars dump (3rd Dec 2015) - run on development branch (2.12.2015.) - in default gamemode "Sandbox".
// All names have been lowercased and sorted (in alphabetical order). Total count is 3480.
+alt1
+alt2
+attack
+attack2
+attack3
+back
+break
+camdistance
--------------
_autosave : cmd : : Autosave
_autosavedangerous : cmd : : AutoSaveDangerous
_bugreporter_restart : cmd : : Restarts bug reporter .dll
_resetgamestats : cmd : : Erases current game stats and writes out a blank stats file
_restart : cmd : : Shutdown and restart the engine.
achievement_debug : 0 : , "sv", "cheat", "rep" : Turn on achievement debug msgs.
act : cmd : :
addip : cmd : : Add an IP address to the ban list.
adsp_alley_min : 122 : :
@samuelmaddock
samuelmaddock / gm_sublime_glass.lua
Last active May 14, 2016 05:59
Glass effect for Garry's Mod; save in lua/autorun.
---
-- Sublime Glass - Garry's Mod
--
-- Use with the 'Sublime Text Trans' package.
-- https://github.com/vhanla/SublimeTextTrans
--
if SERVER then
AddCSLuaFile()
return
@mattratleph
mattratleph / vimdiff.md
Last active June 14, 2024 00:00 — forked from roothybrid7/vimdiff_cheet.md
vimdiff cheat sheet

vimdiff cheat sheet

##git mergetool

In the middle file (future merged file), you can navigate between conflicts with ]c and [c.

Choose which version you want to keep with :diffget //2 or :diffget //3 (the //2 and //3 are unique identifiers for the target/master copy and the merge/branch copy file names).

:diffupdate (to remove leftover spacing issues)

:only (once you’re done reviewing all conflicts, this shows only the middle/merged file)