Skip to content

Instantly share code, notes, and snippets.

View thebentern's full-sized avatar

Ben Meadors thebentern

View GitHub Profile
@charlie-x
charlie-x / gist:bc32ee0ed6d71ee097b0ecf59839d3bc
Last active February 25, 2024 20:47
segger RTT logger function for meshtastic that works with %i and floating point, it does use more stack etc
// i added in DebugConfiguration.cpp
#ifdef USE_SEGGER
// largest string it can process
const int BUFFER_SIZE = 512;
/*********************************************************************
*
* cx_SEGGER_RTT_vprintf
@slykar
slykar / dell-idrac6-ipmitool-fan-controll.md
Last active October 6, 2024 11:38
Fan control IPMI commands for Dell T610

Dell Fan Control Commands

print temps and fans rpms

ipmitool -I lanplus -H <iDRAC-IP> -U <iDRAC-USER> -P <iDRAC-PASSWORD> sensor reading "Ambient Temp" "FAN 1 RPM" "FAN 2 RPM" "FAN 3 RPM"

print fan info

version: '2.1'
services:
grafana:
container_name: grafana
image: proxx/grafana-armv7
user: "1000"
ports:
- 3000:3000
volumes:
- /opt/grafana:/etc/grafana:rw
@DawidMyslak
DawidMyslak / vue.md
Last active April 22, 2024 12:49
Vue.js and Vuex - best practices for managing your state

Vue.js and Vuex - best practices for managing your state

Modifying state object

Example

If you have to extend an existing object with additional property, always prefer Vue.set() over Object.assign() (or spread operator).

Example below explains implications for different implementations.

@strarsis
strarsis / docker-on-wsl-windows-10-home-docker-toolbox.md
Last active September 4, 2023 07:29
Notes about Docker on WSL (Windows 10 Home / Docker Toolbox) (Virtualbox instead Hyper-V)

Edit (September 2020):

@Jaykul
Jaykul / Out-HtmlTable.ps1
Last active October 1, 2022 14:52
Grasping at Formatting Straws
function Out-HtmlTable {
[CmdletBinding()]
param(
[Parameter(ValueFromPipeline)]
$InputObject
)
begin {
$Buffer = [System.Collections.ArrayList]::new()
if($InputObject) {
@boseji
boseji / Rpi-InfluxDB-Install.md
Last active February 5, 2022 17:34
Raspberry Pi InfluxDB installation

Raspberry Pi InfluxDB: The solution for IoT Data storage

Raspberry Pi is costeffect linux computer very commonly used for IoT home automation projects.

Here are the 3 problems with conventional databases for IoT data store applications:

  • Too much or complex configuration
  • Unable to expire data / set retentional policies
  • Not tailor made of Time Series Data
@jivoi
jivoi / offsec.md
Last active September 20, 2024 07:23
Penetrating Testing/Assessment Workflow

Penetrating Testing/Assessment Workflow & other fun infosec stuff

https://github.com/jivoi/pentest

My feeble attempt to organize (in a somewhat logical fashion) the vast amount of information, tools, resources, tip and tricks surrounding penetration testing, vulnerability assessment, and information security as a whole*

@MightyPork
MightyPork / usb_hid_keys.h
Last active October 16, 2024 14:01
USB HID Keyboard scan codes
/**
* USB HID Keyboard scan codes as per USB spec 1.11
* plus some additional codes
*
* Created by MightyPork, 2016
* Public domain
*
* Adapted from:
* https://source.android.com/devices/input/keyboard-devices.html
*/
@weeksdev
weeksdev / gulpfile.js
Created May 3, 2016 01:40
Gulpfile to Build .net projects and deploy to github
var gulp = require('gulp'),
msbuild = require('gulp-msbuild'),
githubRelease = require('gulp-github-release'),
zip = require('gulp-zip'),
series = require('run-sequence'),
fs = require('fs');
gulp.task('build', function () {
return gulp.src('./SOLUTION_NAME.sln')
.pipe(msbuild({