Skip to content

Instantly share code, notes, and snippets.

@marble
marble / ANSI.md
Created November 20, 2023 16:17 — forked from fnky/ANSI.md
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@marble
marble / FalUpload.php
Created April 9, 2021 09:04 — forked from ghanshyamgohel/FalUpload.php
TYPO3 extBase easy upload example for FAL image. Key: FAL upload single image, FAL upload multiple images, FAL delete single image, FAL delete multiple images
<?php
// Location: your_ext/Classes/Domain/Model/FalUpload.php
namespace VENDOR\YourExt\Domain\Model;
class FalUpload extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
{
/**
* teaserImage
*
@marble
marble / INSTALL.md
Created March 6, 2021 11:45 — forked from okapies/INSTALL.md
How to install akvcam on Ubuntu 18.04

Install DKMS

$ apt install dkms

Prepare for signing kernel modules

TODO

Install

Download the source code.

@marble
marble / vim_cheatsheet.md
Created January 21, 2020 12:41 — forked from awidegreen/vim_cheatsheet.md
Vim shortcuts

Introduction

  • C-a == Ctrl-a
  • M-a == Alt-a

General

:q        close
:w        write/saves
:wa[!]    write/save all windows [force]
:wq       write/save and close
@marble
marble / remote-symlink.sh
Created September 5, 2017 08:08
Bash: Create a symlink on a remote server when 'ln' is disabled