Skip to content

Instantly share code, notes, and snippets.

View ckhawks's full-sized avatar
✏️
Creating

Carter Hawks ckhawks

✏️
Creating
View GitHub Profile
@StrongWind1
StrongWind1 / external_ip_websites.txt
Created January 17, 2022 05:31
Domains you can "curl" to get your external IP address based on using the name of the common network utilities ipconfig and ifconfig as the domain.
Use by running "curl $domain"
IP with no line terminator such as Carriage Return (\x0D) or Line Feed (\x0A):
ifconfig.be
ifconfig.ca
ifconfig.cc
ifconfig.in
ifconfig.me
ifconfig.rest
ifconfig.so
@lykn
lykn / buttons.md
Last active April 16, 2024 05:39
A gist which shows/tells you how to make buttons using discord.py v2(version 2.0.0a)

Note: Before we go any further. Let me make this real clear that the following gist uses the OFFICIAL discord.py library and not forks like discord_components, nextcord, etc... So when your using this code but a different library and fuck up don't comment something mean or go to a help channel in the server and say "this gist is misleading" or "bad gist who wrote this" when your at fault, trust me I'm going to fuck you up😅

Just a reminder^^

Related Links:

DPY's Docs

Discord's Docs

@depwl9992
depwl9992 / Rendering-the-Nether-Roof.md
Last active April 8, 2024 12:27
A fully comprehensive tutorial for webbukkit/dynmap to render the nether roof in Minecraft

Initial Setup of the Nether Roof Map

  1. Assuming dynmap is already initialized and the folder structure has been generated during a first-time run, <Spigot_Server>/plugins/dynmap/custom-perspectives.txt should exist.
  2. Open custom-perspectives.txt in a text editor.
  3. In this file below the line perspectives: add the following lines of text.
  - class: org.dynmap.hdmap.IsoHDPerspective
    name: nether_top_map_lowres
    maximumheight: 256
    minimumheight: 129
    inclination: 90
@thanasishadow
thanasishadow / pack making mods
Last active April 16, 2024 15:15
A list of mods which are useful for modpack makers
Mine/Craft Tweaker - Create/Change crafting table or furnace recipes.
Content Tweaker - Create new blocks, items, liquids and much more.
Mod Tweaker - Adds mod compatibility to Craft Tweaker.
Game Stages (And addons) - Prevent players from accessing dimensions/items/mobs/materials/waila information before they reach a certain point.
Gendustry - Create custom bees, combs, bee mutations and squeezer/carpenter recipes.
Block Drop Tweaker - Change what certain blocks drop.
Custom Stuff - Create custom items, blocks, recipes, world gen and oredicts.
Custom Things - Create custom items/blocks.
Modular Machinery - Create custom machines.
Artisan Worktables - Adds many variations of the crafting table and many more crafting tools.
@mrmcpowned
mrmcpowned / custom gamepad css example.css
Last active September 30, 2023 14:26
Removed .custom.half as there will be no need for it in a future update, as well as removing margin-left and margin-top from .controller.custom for the same reasons
/*
-How to use Custom CSS for the GamePad Viewer-
https://gamepadviewer.com/
Enabling a custom CSS is as easy as adding &css=[url to css file]
to the end of the url like so:
https://gamepadviewer.com/?p=1&css=https://gist.github.com/anonymous/526491dc02014099cd14/raw/d7bb0477ba984f794497f3f0f82cb33484dc7889/ps3.css
If you're going to be using custom CSS for the gamepad viewer
to design your own skin, we're assuming you have some sort of
@stvhwrd
stvhwrd / website-dl.md
Last active June 5, 2024 07:12
Download an entire website for offline use with wget. Internal inks will be corrected so that the entire downloaded site will work as it did online.

The best way to download a website for offline use, using wget

There are two ways - the first way is just one command run plainly in front of you; the second one runs in the background and in a different instance so you can get out of your ssh session and it will continue.

First make a folder to download the websites to and begin your downloading: (note if downloading www.SOME_WEBSITE.com, you will get a folder like this: /websitedl/www.SOME_WEBSITE.com/)


STEP 1:

@yackx
yackx / hello-boot.asm
Created December 10, 2014 10:56
Hello World bootloader in assembly language
;----------------------------------------------;
;
; A minimal bootloader that prints a hello world
; then halts.
;
; nasm -f bin hello-boot.asm -o hello-boot.bin
;
; @YouriAckx
;
;----------------------------------------------;
@pwenzel
pwenzel / lamp-stack-osx-virtualhostx.md
Last active April 8, 2022 04:00
LAMP stack on OSX with Homebrew, built-in Apache, multiple PHP versions, VirtualhostX optional

This guide shows how to set up a PHP and MySQL development environment using OSX's built-in Apache, using Homebrew to install necessary components. With this strategy, you can use different versions of PHP for certain virtual hosts.

VirtualHostX is a convenient way to manage development sites, but not required.

Install PHP and MySQL with Homebrew

brew update
brew install php56
brew install php56-mcrypt
brew install mysql
@rxaviers
rxaviers / gist:7360908
Last active June 13, 2024 09:33
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue: