Skip to content

Instantly share code, notes, and snippets.

View droxey's full-sized avatar
🛠️
in germany!

Dani Roxberry droxey

🛠️
in germany!
View GitHub Profile
@droxey
droxey / password.txt
Created December 15, 2023 11:20 — forked from gabonator/password.txt
HiSilicon IP camera root passwords
Summary of passwords by sperglord8008s, updated November 1. 2020. For login try "root", "default", "defaul" or "root"
00000000
059AnkJ
4uvdzKqBkj.jg
7ujMko0admin
7ujMko0vizxv
123
1111
1234
@droxey
droxey / kali_osx_persistence_wifi.md
Created December 1, 2022 01:16 — forked from widdowquinn/kali_osx_persistence_wifi.md
Kali Linux Live USB with persistence and wireless on Macbook Pro

Kali Linux Bootable USB with Persistence and Wireless on OSX

Download the appropriate Kali Linux .iso

I used a 64 bit .iso image, downloaded via HTTP. I downloaded the amd64 weekly version, as the pool linux headers (needed below for installation of wireless drivers) were ahead of the stable release kernel.

Download the SHA256SUMS and SHA256SUMS.gpg files from the same location.

@droxey
droxey / gist:6d475ecd43ec978804273853ded112e8
Created February 3, 2022 23:57
Daily WakaTime Update
TODO

Based on original work on https://gist.github.com/kellertk/ceeda942f6470b8ba8211a80f024004d (Thank you)

WORK IN PROGRESS!

The PiSugar2 is a battery board for the Raspberry Pi Zero. It has an integrated RTC chip available over I2C, but there are no drivers included in the kernel with the latest release of the pwnagotchi (or Kali in general). It's a ZXW Shenzhen SD3078; there is surprisingly little information out there about this chip. I suspect it's newish.

The PiSugar folks expect you to install Pisugar Power Manager, which is a web service to get battery status and set the RTC. I prefer to use the standard hwclock utility, because I don't need the extra function in the web interface. There is driver support for this chip in [kernels 5.1 or newer](https://github.com/torvalds/linux/commit/1d67a232105b4

The PiSugar2 is a battery board for the Raspberry Pi Zero. It has an integrated RTC chip available over I2C, but there are no drivers included in the kernel with the latest release of the pwnagotchi (or Kali in general). It's a ZXW Shenzhen SD3078; there is surprisingly little information out there about this chip. I suspect it's newish.

The PiSugar folks expect you to install Pisugar Power Manager, which is a web service to get battery status and set the RTC. I prefer to use the standard hwclock utility, because I don't need the extra function in the web interface. There is driver support for this chip in kernels 5.1 or newer, so we can grab that and compile it as an out of tree module. You may be able to adapt these ins

@droxey
droxey / makesite.go
Created February 4, 2021 23:38
T3-2021: BEW 2.5 SSG MVP v1.0 Solution
package main
import (
"flag"
"fmt"
"io/ioutil"
"os"
"strings"
"text/template"
)
@droxey
droxey / Token.sol
Last active September 22, 2020 21:58
Original Token.sol from brownie token-mix --- put this in your contracts folder
pragma solidity ^0.6.0;
// SPDX-License-Identifier: MIT
import "./SafeMath.sol";
/**
@title Bare-bones Token implementation
@notice Based on the ERC-20 token standard as defined at
https://eips.ethereum.org/EIPS/eip-20
var https = require('https'),
user = process.argv[2],
opts = parseOpts(process.argv.slice(3))
request('/users/' + user, function (res) {
if (!res.public_repos) {
console.log(res.message)
return
}
var pages = Math.ceil(res.public_repos / 100),
@droxey
droxey / touchui-default.less
Created July 16, 2020 00:14
OctoPrint TouchUI LESS - All options with default values
/* -------------------------------------------------------------------------------------- */
/* Default LESS styles for OctoPrint-TouchUI */
/* See https://github.com/BillyBlaze/OctoPrint-TouchUI/wiki/Customize:-Use-your-own-file */
/* -------------------------------------------------------------------------------------- */
/* ----------------------------------- General Styling ---------------------------------- */
@main-color: #00B0FF;
@main-color-text: contrast(@main-color, @dark-color, @light-color, 51%);
@main-color-dark: darken(@main-color, 5%);
@droxey
droxey / hemera_extruder_tips_and_gotchas.md
Created March 4, 2020 22:50 — forked from LongLiveCHIEF/hemera_extruder_tips_and_gotchas.md
Hemera Extruder Assembly Tips and Gotchas

I got the E3D Hemera (formerly called the Hermes) a week ago, and at first glance was impressed by the amount of documentation/guides E3D worked with popular YouTubers to create.

However, as time went on with my install, I discovered each guide was missing critical information, had bits of information incorrect, or included firmware files in a old or flattened format, making it difficult to discern firmware changes required.

I'm very familiar with Marlin 2.x, and so I finally decided to just go straight to the Hemera Datasheet, and finally got things working.

I'm not going to do a full guide, since I'm hoping one of the popular YouTubers who is capable of a high production quality video will do a comprehensive guide, but I have put together the following tips and lessons learned that should help some of you who are struggling but can't figure out why things aren't working.

*For reference: I have an Ender 3 with an SKR 1.3 using Marlin 2.x, equipped with TMC