Skip to content

Instantly share code, notes, and snippets.

// create a bookmark and use this code as the URL, you can now toggle the css on/off
// thanks+credit: https://dev.to/gajus/my-favorite-css-hack-32g3
javascript: (function() {
var styleEl = document.getElementById('css-layout-hack');
if (styleEl) {
styleEl.remove();
return;
}
styleEl = document.createElement('style');
styleEl.id = 'css-layout-hack';
@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
@TimOverboard
TimOverboard / copy-lwjgl.sh
Last active November 10, 2016 22:01 — forked from Coderlane/copy_lwjgl.sh
Updated for Minecraft 1.10 - Minecraft lwgjl native runtime libs hack.
#! /bin/bash
#
# -SCOPE
# This script will replace the shared library files lwjgl.so and libopenal.so
# contained in the minecraft lwjgl *natives-linux.jar with those in a specified
# directory and update the associated sha1sum.
# The purpose of this is to enable playing of "standard" minecraft
# on non x86 / i386 chipsets running linux. Eg. ARM.
#
# -IMPORTANT
@leo-souza
leo-souza / plugin.js
Last active June 30, 2023 03:23
Table plugin for tinymce 4.0.16
/**
* Compiled inline version. (Library mode)
*/
/*jshint smarttabs:true, undef:true, latedef:true, curly:true, bitwise:true, camelcase:true */
/*globals $code */
(function(exports, undefined) {
"use strict";