Skip to content

Instantly share code, notes, and snippets.

View doevelopper's full-sized avatar

Adrien H doevelopper

  • Versailles
View GitHub Profile
@doevelopper
doevelopper / HM.md
Created October 24, 2023 15:54
HOBBY drone equipments list
  • Lynxmotion Aluminum Multi-Purpose Sensor Bracket MPSH-01
  • Benewake TF-Luna 8m LiDAR Distance Sensor
  • Parallax PING Ultrasonic Sensor
  • Devantech SRF08/SRF10 Ultrasonic Range Finder
  • URM07 - UART Low-Power Consumption Ultrasonic Sensor
  • LilyPad LED Blue/Red (5pk)
  • Lynxmotion MES Reconfigurable Folding UAV Frame Kit

git diff --no-prefix master..branch > somefile.diff

@doevelopper
doevelopper / Bugs.md
Created August 7, 2023 08:38
Common bugs hierarchy i am using in all my projects
enum class Level : std::uint32_t
{
/* user actions malfunctions ....*/
	EMERGENCY    = (1 << 0),    /* system is unusable. A panic condition was reported to all processes. */
	CRITICAL     = (1 << 1),
	FATAL        = (1 << 2),     /* critical conditions */
	ALERT        = (1 << 3),
	ERROR        = (1 << 4),    /* action must be taken immediately. A condition that should be corrected immediately.  */
	WARNING = (1 &lt;&lt; 5), /* error conditions */

First 100

curl -s 'https://api.github.com/users/jdoe/repos?page=1&per_page=100' | grep \"clone_url\" | awk '{print $2}' | sed -e 's/"//g' -e 's/,//g' | xargs -n1 git clone

next 100 on page 2

curl -s 'https://api.github.com/users/jdoe/repos?page=2&per_page=100' | grep \"clone_url\" | awk '{print $2}' | sed -e 's/"//g' -e 's/,//g' | xargs -n1 git clone

und so weite

https://olof.tech/how-to-set-up-a-persistent-ramdisk-with-tmpfs-and-rsync/
#!/bin/bash

# QUESTIONG: What's the purpose of this script?
# ANSWER: 
# The purpose is to mount a part of the computers RAM to a folder on the harddrive.
# This will make IO to that folder VERY fast. However the content of such a folder
@doevelopper
doevelopper / versionbump.md
Created September 5, 2022 10:25
scm versioning
@doevelopper
doevelopper / 0000-ALM.md
Last active August 22, 2022 11:38
Application Lifecycle Management Suite
  pre-site:
  site:
  post-site:
  site-deploy:
  pre-clean:
 clean: