Skip to content

Instantly share code, notes, and snippets.

View TheArmagan's full-sized avatar

Kıraç Armağan Önal TheArmagan

View GitHub Profile
@kero3009destiny
kero3009destiny / english.md
Created February 11, 2023 13:07
3009 Links List [INCOMPLETE]
@TheArmagan
TheArmagan / ReconnectingWebSocket.js
Last active June 30, 2021 21:07
NODEJS ReconnectingWebSocket
const { EventEmitter } = require("events");
const WebSocket = require("ws");
class ReconnectingWebSocket {
/** @type {string} */
address;
/** @type {WebSocket.ClientOptions} */
clientOptions;
@TheArmagan
TheArmagan / timezonedb-api.md
Last active June 4, 2021 16:43
Timezone DB - API Documentation

Timezone DB - API Documentation

BASE URL: https://timezonedb.armagan.rest/

Get only one user's info.

GET /api/get/timezone

Query Parameters:

  • id: The target user's platform id. (Example: 707309693449535599, Default: none)
@FranKusmiruk
FranKusmiruk / reqn.sk
Last active May 1, 2023 04:48
Reqn made with skript-reflect
options:
version: 1.0.3
import:
java.io.OutputStreamWriter
java.nio.charset.StandardCharsets
java.util.zip.GZIPInputStream
java.util.zip.InflaterInputStream
java.util.zip.Inflater
@TheArmagan
TheArmagan / owot-armaganbot.md
Last active May 2, 2021 18:40
Command List

[OWOT] Armagan's Bot

Commands

  • h!draw: It allows you to draw images to owot!
    • -x "<number>": X Position of the image.
    • -y "<number>": Y position of the image.
    • -url "<url>": Image url.
    • -s "[number]": Scale factor of the image. (Maximum: 3, Minimum: 0.01, Default: 0.5, Optinal)
    • -p: Changes scaling method to NEAREST_NEIGHBOR so basicly works much better with pixelarts. (Optinal)
  • -c: Centers the output image based on given position. (Optinal)
@TheArmagan
TheArmagan / Code.gs
Last active December 10, 2022 16:16
[NEW] Google Forms Send Post Request On Submit
const FETCH_POST_URL = "http://requestbin.net/r/16zlov01";
function onSubmit(e) {
let currentForm = FormApp.getActiveForm();
let allFormResponses = currentForm.getResponses();
let lastestResponse = allFormResponses[allFormResponses.length - 1];
let formResponses = lastestResponse.getItemResponses();
let _formId = lastestResponse.getId();
let _formTitle = currentForm.getTitle();
@sundowndev
sundowndev / GoogleDorking.md
Last active July 16, 2024 20:38
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
@pvieito
pvieito / gist:ee6d2c8934a8f84b9aeb467585277b8a
Last active July 2, 2024 20:19
Consumer keys of official Twitter clients

Twitter API Keys

Twitter for iPhone

Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU

Twitter for Android

Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys

Twitter for Google TV

Consumer key: iAtYJ4HpUVfIUoNnif1DA

@pierrejoubert73
pierrejoubert73 / markdown-details-collapsible.md
Last active July 17, 2024 08:46
How to add a collapsible section in markdown.

How to add a collapsible section in markdown

1. Example

Click me

Heading

  1. Foo
  2. Bar
    • Baz
  • Qux