Skip to content

Instantly share code, notes, and snippets.

Rigo rigred

Block or report user

Report or block rigred

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@rigred
rigred / PKGBUILD rocminfo
Created Aug 20, 2019
PKGBUILD for rocminfo 2.7.0
View PKGBUILD rocminfo
# Maintainer: Jakub Okoński <jakub@okonski.org>
# Maintainer: Rigo Reddig <rigo.reddig@gmail.com>
pkgname=rocminfo
pkgver=2.7.0
pkgrel=1
pkgdesc="ROCm info tools - rocm_agent_enumerator"
arch=(x86_64)
url="https://github.com/RadeonOpenCompute/rocminfo"
license=('NCSA')
makedepends=(git cmake ninja)
@rigred
rigred / PKGBUILD rocm-cmake
Created Aug 20, 2019
PKGBUILD rocm-cmake (release)
View PKGBUILD rocm-cmake
# Original build: fermyon <antifermion@protonmail.com>
# Maintainer: Jakub Okoński <jakub@okonski.org>
# Maintainer: Rigo Reddig <rigo.reddig@gmail.com>
pkgname=rocm-cmake
pkgver=2.7.0
pkgrel=1
pkgdesc="cmake modules for common build tasks needed for the ROCM software stack"
arch=(x86_64)
url="https://github.com/RadeonOpenCompute/rocm-cmake"
license=(MIT)
@rigred
rigred / PKGBUILD hcc
Created Aug 20, 2019
PKGBUILD for ROCm hcc - should be easily updateable with just a pkgver increment and updpkgsums
View PKGBUILD hcc
# Submitter: Olaf Leidinger <oleid@mescharet.de>
# Maintainer: Jakub Okoński <jakub@okonski.org>
# Maintainer: Rigo Reddig <rigo.reddig@gmail.com> ;)
pkgname=hcc
pkgver=2.7.0
pkgrel=1
pkgdesc="HCC is an Open Source, Optimizing C++ Compiler for Heterogeneous Compute"
arch=('x86_64')
url="https://github.com/RadeonOpenCompute/hcc"
license=('NCSAOSL')
@rigred
rigred / brutal_doom_rc10.patch
Last active May 16, 2019
aur brutal doom RC10 patch
View brutal_doom_rc10.patch
diff --git a/PKGBUILD b/PKGBUILD
index 7522de9..15b800d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
# Maintainer: ProfessorKaos64 <mdeguzis@gmail.com>
+# Contributor: zer0def <zer0def on freenode>
# Mod: http://www.moddb.com/mods/brutal-doom
pkgname=brutal-doom
-pkgver=21.2018.02.24
@rigred
rigred / ASRock_Z370-Pro4
Last active Mar 23, 2019
Preliminary Config for ASRock Z370 Pro4 (NCT6833)
View ASRock_Z370-Pro4
# Note this is an early (INCOMPLETE) testing config
chip "nct6683-isa-0a20"
# Fans
label fan1 "Chassis Fan 1 Speed"
label fan2 "CPU Fan 1 Speed"
label fan3 "CPU Fan 2 Speed"
label fan4 "Chassis Fan 2 Speed"
# Fan minimums (conservative 400rpm)
@rigred
rigred / fuji_hs50_details.md
Created Dec 28, 2018
Fuji HS50 EXR USB info
View fuji_hs50_details.md

lsusb dump

Bus 001 Device 007: ID 04cb:02a5 Fuji Photo Film Co., Ltd                                                                                                                                                                                                                      
Device Descriptor:                                                                                                                                                                                                                                                             
  bLength                18                                                                                                                                                                                                                                                    
  bDescriptorType         1                                                                                                                                                                   
@rigred
rigred / opencl-amd-18.40.patch
Created Dec 10, 2018
Path to upgrade to version 18.40 opencl-amd AUR
View opencl-amd-18.40.patch
--- PKGBUILD-18.30 2018-12-10 13:12:01.363017487 +0200
+++ PKGBUILD 2018-12-09 16:44:50.307845560 +0200
@@ -2,7 +2,7 @@
pkgname=opencl-amd
pkgdesc="OpenCL userspace driver as provided in the amdgpu-pro driver stack. This package is intended to work along with the free amdgpu stack."
-pkgver='18.30.641594'
+pkgver=18.40.697810
pkgrel=1
arch=('x86_64')
@rigred
rigred / SwakopmundQuickPark.md
Last active Aug 21, 2018
Short technical overview of Swakopmund QuickPark system
View SwakopmundQuickPark.md

Short technical overview of Swakopmund QuickPark system

All the below information is easily obtained through internet research and a general technical understanding, none of it is in any way confidential.

After investigating some of the 408 parking sensors placed around town I have come to the conclusion that Swakopmund’s ‘QuickPark’ based parking systems is an almost entirely outsourced ‘franchise’ project. Let me explain why I believe this is the case. To do so we need to merely start from the technical aspect, analyse the parking sensors and how they work.

Here is a picture of one as taken by myself in front of Edgars/Hansa Hotel. It is described as a passive parking tag, suggesting that it does not contain it’s own energy source/battery. passive parking tag

@rigred
rigred / easy-secure-iptables
Last active Aug 8, 2018
A Simple script to lock down your ubuntu/other server using iptables firewall. This script makes use of outbound rules so be sure to configure any services you need access to. Also setup your preferred ssh port.
View easy-secure-iptables
#!/bin/bash
IPT="/sbin/iptables"
# Server IP
SERVER_IP="$(ip addr show eth0 | grep 'inet ' | cut -f2 | awk '{ print $2}')"
# Your DNS servers you use: cat /etc/resolv.conf
DNS_SERVER="8.8.8.8 8.8.4.4 208.67.222.222 208.67.220.220"
# Allow connections to this package servers
@rigred
rigred / Seagate ST2000DL001 F3 commands
Created May 27, 2017
Dump of the F3 commands for the ST2000DL001 Seagate Drive CC97 FW
View Seagate ST2000DL001 F3 commands
Rst 0x20M
(P) SATA Reset
ASCII Diag mode
F3 T>
ASCII Diag mode
F3 T>/C
You can’t perform that action at this time.