Skip to content

Instantly share code, notes, and snippets.

View NicHub's full-sized avatar
😈

NicHub

😈
  • Switzerland
  • 16:58 (UTC +02:00)
View GitHub Profile
git clone https://github.com/rosemonderossel/sensdesprenoms.git ~/Desktop/sdp
@NicHub
NicHub / android-power-saving-settings.md
Last active December 1, 2023 13:41
ANDROID POWER SAVING SETTINGS

ANDROID POWER SAVING SETTINGS

https://www.youtube.com/watch?v=OfMdQVOfdmc

  • Don’t choose 5G in this config : (en) Connections / Mobile networks / Network mode / (fr) Connexions / Réseaux mobiles / Mode réseau

  • Turn on dark mode (en) Display /

@NicHub
NicHub / radio_station_playlist.js
Created April 3, 2023 13:57
Radio station playlist
let radio_station_playlist = [
{
"geo_name": "France",
"stations": [
{
"station_name": "France Inter",
"live_urls": [
"https://www.radiofrance.fr/franceinter/direct"
],
"stream_urls": [
@NicHub
NicHub / ENCEINTES_BLUETOOTH_PORTABLES.md
Last active March 26, 2023 18:37
ENCEINTES BLUETOOTH PORTABLES

CRITÈRES

  • Prix
  • Qualité sonore
  • Esthétique
  • Connectique
  • Facilité de connexion
  • Kit main libre
  • Dimensions
  • Poids
  • Durée de la batterie
@NicHub
NicHub / .gitignore
Created December 12, 2022 14:33
.gitignore
._.DS_Store
.DS_Store
*.FCStd1
*ajeter*
*nogit*
WifiSettings.h
arduino_secrets.h
[wW][iI][fF][iI][sS][eE][tT][tT][iI][nN][gG][sS].*
ESPSettings.h
.~lock.*
@NicHub
NicHub / wintricks.md
Last active March 4, 2023 11:01
Windows tricks

WINDOWS TRICKS

Most of the commands below can be run from the “Run Box” with the shortcuts WIN+R or WIN+E CTRL+L. To run the commands with admin privileges, hit Ctrl+Shift+Enter after typing them.

SHUTDOWN COMPUTER

shutdown /p
#!/usr/bin/env python3
import os
from PIL import Image
def get_file_list():
""" ___ """
@NicHub
NicHub / python-quick-reference.py
Last active October 30, 2021 11:17
Python Quick Reference
#!/usr/bin/env python3
"""
Aide mémoire Python
Ceci est un exemple de docstring.
"""
@NicHub
NicHub / .rcloneignore
Created August 20, 2021 15:52
.rcloneignore
._.DS_Store
.DS_Store
*.FCStd1
*ajeter*
*ajeter*/
*norclone*
*norclone*/
WifiSettings.h
[wW][iI][fF][iI][sS][eE][tT][tT][iI][nN][gG][sS].*
ESPSettings.h
@NicHub
NicHub / rclone-ftp
Last active October 8, 2021 13:35
RCLONE FTP MOBILE PHONE
https://play.google.com/store/apps/details?id=me.zhanghai.android.files
# use bash, not zsh to install
bash
curl https://rclone.org/install.sh | sudo bash
# get .rcloneignore
curl https://gist.githubusercontent.com/NicHub/56c64b1bec61695d2a9e0102ca3232cf/raw/2c4980626588e4f148e861206c995906172cc2c9/.rcloneignore > ~/.rcloneignore
rclone obscure ""