Skip to content

Instantly share code, notes, and snippets.

View RageOfFire's full-sized avatar
😇
Happy Happy Happy

RageOfFire

😇
Happy Happy Happy
View GitHub Profile
@tomasdev
tomasdev / minecraft-emoji.md
Last active September 15, 2024 00:25
Minecraft allowed emojis

Minecraft allowed emojis

Ever wondered how to insert emoji in minecraft? Well turns out Minecraft supports only a subset of emoji (old one) but you can copy-paste these in it!

Screenshot of the emojis being rendered in Minecraft

These also look great on signs!

Minecraft sign with glowing effect showcasing arrows

@mattiasghodsian
mattiasghodsian / readme.md
Last active September 7, 2024 06:07
How to create a Windows application Installer with NSIS

Nullsoft Scriptable Install System is also known as NSIS open-source system to create Windows application installers. NSIS is a script-based system allowing you to create the logic behind your installer/setup file in a complex way to install tasks. NSIS offers plug-ins and other scripts, for example, to download/install 3rd-party files or communicate with Windows.

The tutorial application

This tutorial will guide you through installing and creating your first Windows installer with Nullsoft Scriptable Install System and how to compile your project. Captura Portable will be used as "our application" for the sake of this tutorial.

Installation

Head to NSIS official site and download the latest release and install it. Run NSIS and you will be welcomed with a menu like below, It's always a good practice to read the Documentation before jumping in t

@DmitryRendov
DmitryRendov / my-domain-le-ssl.conf
Created April 5, 2018 06:08
DynMap Apache2 + ReverseProxy + LetsEncrypt configuration
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName map.mysite.by
ServerAlias www.map.mysite.by
UseCanonicalName On
TimeOut 30
# Identical to combined format, except that we swap remote-host (%h) with X-Forwared-For
@DomPizzie
DomPizzie / README-Template.md
Last active September 19, 2024 23:34
A simple README.md template

Project Title

Simple overview of use/purpose.

Description

An in-depth paragraph about your project and overview of use.

Getting Started

@dotStart
dotStart / MinecraftService.md
Last active August 31, 2024 17:41
Systemd services for Minecraft Servers

Minecraft systemd Services

This gist contains service descriptors which may be used to automatically start and re-start Minecraft servers using systemd. This allows proper control of your server startup on modern Linux distributions and will automatically manage all required tasks on startup for you.

Requirements

@mrliptontea
mrliptontea / sublime-text-3-windows-shortcuts.md
Last active August 7, 2024 14:34 — forked from TheShrike/gist:6111200
Sublime Text 3 - Useful Shortcuts (Windows)

Sublime Text 3 - Useful Shortcuts (Windows)

General

Shortcut Description
Ctrl+Shift+P command prompt
Ctrl+Alt+P switch project
Ctrl+P go to file
Ctrl+G go to line
/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
.animated {
/*CSS transitions*/
-o-transition-property: none !important;
-moz-transition-property: none !important;
-ms-transition-property: none !important;
-webkit-transition-property: none !important;
transition-property: none !important;
/*CSS transforms*/
@graywolf336
graywolf336 / BukkitSerialization.java
Last active July 22, 2024 13:53
Serialize and deserialize the player's inventory, including armor and content.
/**
* Converts the player inventory to a String array of Base64 strings. First string is the content and second string is the armor.
*
* @param playerInventory to turn into an array of strings.
* @return Array of strings: [ main content, armor content ]
* @throws IllegalStateException
*/
public static String[] playerInventoryToBase64(PlayerInventory playerInventory) throws IllegalStateException {
//get the main content part, this doesn't return the armor
String content = toBase64(playerInventory);