Skip to content

Instantly share code, notes, and snippets.

@Gesugao-san
Gesugao-san / Top_Public_Time_Servers.md
Created January 1, 2024 12:59 — forked from mutin-sa/Top_Public_Time_Servers.md
List of Top Public Time Servers

Google Public NTP [AS15169]:

time.google.com

time1.google.com

time2.google.com

time3.google.com

@Gesugao-san
Gesugao-san / markdown-text-101.md
Created May 25, 2022 06:44 — forked from matthewzring/markdown-text-101.md
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...

Sweet Styles

Italics *italics* or _italics_

Underline italics __*underline italics*__

@Gesugao-san
Gesugao-san / Routes.md
Created April 4, 2022 11:27 — forked from Awoocado/Routes.md
Discord protocol routes

Home

User profile: discord://-/users/:userID example: discord://-/users/224619540263337984

Friends list: discord://-/channels/@me

Stage Discovery: discord://-/discovery/

Games Library: discord://-/library/

Store: ( redirects to nitro tab )

@Gesugao-san
Gesugao-san / discord-js-get-all-guild-invites.js
Created March 30, 2022 12:33 — forked from Sv443/discord-js-get-all-guild-invites.js
Discord.js - Get all invites from all your bot's guilds - only works with Discord.js v11 or lower!
// only works with Discord.js v11 or lower!
const Discord = require("discord.js");
const dev_ids = ["YOUR_ID(s)_HERE"]; // an array of IDs of the bot's developers - only these people will be able to execute this command
// Note: this snippet requires the variables "client" and "message" to work, these need to be provided by your script
@Gesugao-san
Gesugao-san / steam_title_searcher.js
Created February 11, 2022 11:22 — forked from Js41637/steam_title_searcher.js
Processes a list of game names and searches the Steam API and saves them to a CSV. In order to use, create a file called games.txt and inside put the name of each game you want to find on a new line. Then run this script via `node steam_title_searcher.js`. Dun.
const fs = require('fs')
const https = require('https')
const searchApi = 'https://steamcommunity.com/actions/SearchApps'
const detailsApi = 'https://store.steampowered.com/api/appdetails?filters=categories&appids='
let titlesFile
try {
titlesFile = fs.readFileSync('./games.txt', 'utf8')
} catch (e) {
@Gesugao-san
Gesugao-san / bookmarklet-runner.js
Created October 25, 2021 08:13 — forked from fredr/bookmarklet-runner.js
A bookmarklet that will inject an external script in the browser. (minify, uri encode and add to the href prefixed with "javascript:" in your bookmark)
(function() {
var script = document.createElement('script');
script.async = 1;
script.src = '<url to script>';
document.getElementsByTagName('body')[0].appendChild(script);
})();
@Gesugao-san
Gesugao-san / Windows-10-custom-theme-fix-color-after-login.md
Created August 11, 2021 14:56 — forked from ahmetozer/Windows-10-custom-theme-fix-color-after-login.md
Fix for custom theme color issue after logged in windows

If you install custom theme on your system you might suffer from each login for the re appliying your theme.
To fixing delete Default Colors folder on HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\ path on regedit. Now I hope you not able to get same issue on your computer.

@Gesugao-san
Gesugao-san / Github Webhook Tutorial.md
Created August 1, 2021 12:16 — forked from jagrosh/Github Webhook Tutorial.md
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings
@Gesugao-san
Gesugao-san / node-folder-structure-options.md
Created July 31, 2021 17:04 — forked from lancejpollard/node-folder-structure-options.md
What is your folder-structure preference for a large-scale Node.js project?

What is your folder-structure preference for a large-scale Node.js project?

0: Starting from Rails

This is the reference point. All the other options are based off this.

|-- app
|   |-- controllers
|   |   |-- admin
@Gesugao-san
Gesugao-san / borderless-table.html
Last active July 14, 2021 09:08 — forked from rgoj/borderless-table.html
Examples of creating a table without borders
<!-- STARTING POINT: A simple table that will have borders -->
<table>
<tbody>
<tr>
<td>Column One</td>
<td>Column One</td>
</tr>
<tr>
<td>Content of column one</td>