Skip to content

Instantly share code, notes, and snippets.

View Mqxx's full-sized avatar
:atom:
Always remember

Mqx Mqxx

:atom:
Always remember
  • Loat.dev
  • Somewhere in Germany
View GitHub Profile
@zoilomora
zoilomora / README.md
Last active June 26, 2026 19:06
How to disable cloud-init in Ubuntu

How to disable cloud-init in Ubuntu

Prevent start

  • Create an empty file to prevent the service from starting

      sudo touch /etc/cloud/cloud-init.disabled
    

Uninstall

@echo off
cls
echo.
ECHO ===============================================================================
echo Paste or write the complete path to install.esd or install.wim file
echo ^(without quotes marks "" even if the path contains spaces^)
ECHO ===============================================================================
echo.
set /p WIMFILE=
if "%WIMFILE%"=="" echo Incorrect file name or path&echo.&PAUSE&GOTO :QUIT
@fnky
fnky / ANSI.md
Last active July 7, 2026 23:57
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@jdesive
jdesive / setup.md
Created January 28, 2018 00:00
Mount NFS share from synology NAS to Ubuntu

Mount Synology NFS share to Ubuntu 16.04

I have all hardware virtualized in ESXi 6.5...
Synology DSM 5.2-5644
Ubuntu 16.04

Start

On your fresh install on Ubuntu 16.04:

  1. Click the Connections icon on the top bar
  2. Goto Edit Connections
@egmontkob
egmontkob / Hyperlinks_in_Terminal_Emulators.md
Last active June 17, 2026 10:08
Hyperlinks in Terminal Emulators
@jjgrainger
jjgrainger / Vector.js
Last active February 11, 2026 09:05
A simple Vector class in javascript
var Vector = function(x, y) {
this.x = x || 0;
this.y = y || 0;
};
// return the angle of the vector in radians
Vector.prototype.getDirection = function() {
return Math.atan2(this.y, this.x);
};