Skip to content

Instantly share code, notes, and snippets.

__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
uname -a: Linux STORA3 2.6.33-2-kirkwood #4 Thu Aug 5 18:42:13 UTC 2010 armv5tel GNU/Linux
lspci -knn: 00:00.0 Memory controller [0580]: Marvell Technology Group Ltd. 88F6281 [Kirkwood] ARM SoC [11ab:6281] (rev 02)
lspci -knn: Subsystem: Marvell Technology Group Ltd. Device [11ab:11ab]
usb-list:
usb-list: Bus 01 Device 01: Marvell Orion EHCI [1d6b:0002]
usb-list: Level 00 Parent 00 Port 00 Class 09(hub ) Subclass 00 Protocol 01
usb-list: Manufacturer: Linux 2.6.33-2-kirkwood ehci_hcd
usb-list: Interface 00: Class 09(hub ) Subclass 00 Protocol 00 Driver hub
usb-list:
usb-list: Bus 01 Device 02: Store 'n' Go [08ec:0008]
Jan 1 00:00:04 syslogd started: BusyBox v1.17.1
Jan 1 00:00:04 kernel: klogd started: BusyBox v1.17.1 (Debian 1:1.17.1-8)
Jan 1 00:00:04 kernel: [ 0.000000] Initializing cgroup subsys cpuset
Jan 1 00:00:04 kernel: [ 0.000000] Initializing cgroup subsys cpu
Jan 1 00:00:04 kernel: [ 0.000000] Linux version 2.6.33-2-kirkwood (2.6.33) (root@stora) (gcc version 4.4.4 (Debian 4.4.4-7) ) #4 Thu Aug 5 18:42:13 UTC 2010
Jan 1 00:00:04 kernel: [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
Jan 1 00:00:04 kernel: [ 0.000000] CPU: VIVT data cache, VIVT instruction cache
Jan 1 00:00:04 kernel: [ 0.000000] Machine: Netgear MS2110
Jan 1 00:00:04 kernel: [ 0.000000] Memory policy: ECC disabled, Data cache writeback
Jan 1 00:00:04 kernel: [ 0.000000] On node 0 totalpages: 32768
@Sigri44
Sigri44 / README.txt
Created March 13, 2022 14:35
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.6.12+commit.27d51765.js&optimize=false&runs=200&gist=
REMIX EXAMPLE PROJECT
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer.
It contains 3 directories:
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name.
2. 'scripts': Holds two scripts to deploy a contract. It is explained below.
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity.
SCRIPTS
@Sigri44
Sigri44 / whalinvest_bot.js
Created October 8, 2021 12:41
Track Whalinvest bag
// ==UserScript==
// @name Whalinvest - Wallet
// @namespace Whalinvest
// @version 0.2
// @description Whalinvest bag calculator
// @author Sigri44
// @match https://app.whalinvest.com/bag*
// @icon https://www.google.com/s2/favicons?domain=whalinvest.com
// @require https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js
// @grant none
@Sigri44
Sigri44 / docker-compose.yml
Last active July 27, 2022 15:17 — forked from anonymous/docker-compose.yml
docker homelab media stack
# My homelab-media-docker-stack
#
# Services
# Nginx-Proxy - Proxy server
# Organizr - Dashboard
# Plex - Media player
# Tautulli - Plex statistics
# Ombi - Allows users to request shows/movies to add to Plex/Sonarr/Radarr
# Sonarr - Searches for TV shows to download
# Radarr - Searches for movies to download
@Sigri44
Sigri44 / lnav_format_laravel.json
Last active June 19, 2023 20:50
Lnav format for Laravel config
{
"laravel_log": {
"title": "Laravel log format",
"description": "Log format used by Laravel)",
"url": "https://laravel.com/",
"regex": {
"laravel": {
"pattern": "^\\[(?<timestamp>\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2})\\] local\\.(?<level>.*)\\: \\[(?<supplier>.*)\\] (?<body>.*)$"
}
},

Keybase proof

I hereby claim:

  • I am sigri44 on github.
  • I am sigri44 (https://keybase.io/sigri44) on keybase.
  • I have a public key ASDh8b07FhBCU4cGihE7Sc_RQ_ARAHMUaaFruRqQsCuxzAo

To claim this, I am signing this object: