Skip to content

Instantly share code, notes, and snippets.

View sixertoy's full-sized avatar
🏠
Working as #digital #nomad

Matthieu sixertoy

🏠
Working as #digital #nomad
  • Available for React Jobs
  • Montpellier - France
View GitHub Profile
@sixertoy
sixertoy / audio-proxy-server.js
Last active October 16, 2023 21:16
Simple Audio Streaming Proxy | NodeJS + Express + MP3
/**
* INSTALL:
* ----
* > yarn add express request
*
* RUN:
* ----
* > node ./audio-proxy-server
*/
const os = require('os');
@sixertoy
sixertoy / README.md
Last active April 23, 2023 22:35
ES6 Tips & Tricks

JavaScript Tips

Yarn/NPM

Reorder package.json

npx sort-package-json

Array

@sixertoy
sixertoy / linux_magic_keyboard.md
Last active April 2, 2021 14:40
Linux Ubuntu 20.04

Pair Apple Magic Keyboard A1644

  • Open Terminal
  • sudo bluetoothctl
  • power on
  • agent KeyboardOnly
  • default-agent
  • pairable on
  • Power on Keyboard
  • scan on
@sixertoy
sixertoy / README.md
Last active February 25, 2020 07:47
Some OSX tricks

macOS Tricks (maxOS Sierra 10.12.x)

Bash

  • Yes/No Prompt
  • Kill all node process killall node
  • Colors in Bash
  • Sublime Text Command Line
  • Load .env file in Bash
@sixertoy
sixertoy / self-signed-certificate.md
Created February 7, 2020 12:21
Self Signed Certificate
which openssl
brew install openssl
openssl genrsa -des3 -passout pass:x -out server.pass.key 2048
openssl rsa -passin pass:x -in server.pass.key -out server.key
rm server.pass.key
openssl req -new -key server.key -out server.csr
# ...
# Country Name (2 letter code) [AU]:FR
# State or Province Name (full name) [Some-State]:Occitanie
@sixertoy
sixertoy / add_git_submodule.md
Last active October 19, 2019 12:58 — forked from myusuf3/delete_git_submodule.md
GIT SubModules
  • git submodule add git@github.com:user/sub_module_name.git [sub_module_name]
@sixertoy
sixertoy / README.md
Created April 23, 2019 11:29 — forked from lopspower/README.md
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

All hex value from 100% to 0% alpha:

@sixertoy
sixertoy / README.md
Last active May 18, 2018 08:36
A Collection of CSS Snippets

A Collection of CSS Snippets

  • Flexbox grid 4
  • Vertical Centered Elements
  • Eric Meyer's Reset 2.0
  • Preloader
  • Margin & Padding (SASS)
  • Speech Bubble (SASS)

Recalbox v18.x with Tontec 3.5"

Edit Recalbox.conf

vi recalbox.conf

Config

  • system.fbcp.enabled { default: 0, setup: 1 }
  • global.videomode { default: CEA 4 HDMI, setup: default }
@sixertoy
sixertoy / README.md
Last active February 28, 2018 07:09
JS Console Utils

JS Console Utils

  • Percent preloader
  • Colors in console