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 / 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 / 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:

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 / 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 / Procfile
Last active February 12, 2018 09:28
react: BROWSER=none react-scripts start
electron: node ./runner-dev
@sixertoy
sixertoy / xcode-build-bump.sh
Created August 30, 2017 04:26 — forked from sekati/xcode-build-bump.sh
Xcode Auto-increment Build & Version Numbers
# xcode-build-bump.sh
# @desc Auto-increment the build number every time the project is run.
# @usage
# 1. Select: your Target in Xcode
# 2. Select: Build Phases Tab
# 3. Select: Add Build Phase -> Add Run Script
# 4. Paste code below in to new "Run Script" section
# 5. Drag the "Run Script" below "Link Binaries With Libraries"
# 6. Insure that your starting build number is set to a whole integer and not a float (e.g. 1, not 1.0)
@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
{
"feeds": [
{
"id": "1456665014132060480",
"latitude": "46.5917",
"longitude": "7.33833",
"caption": "Vive les routes de #montagne, ma femme conduit, moi je profite du coucher de soleil :)\n@mini_switzerland #Mini #CountrymanStories #Countryman #AddStories #AddAdventures #NewMINICountryman #mini_switzerland #mini_switzerland674",
"location": {
"id": "251307161",
"has_public_page": true,