Skip to content

Instantly share code, notes, and snippets.

Avatar
🎩
This is the year of ipv6 and python3!

Felix fliiiix

🎩
This is the year of ipv6 and python3!
View GitHub Profile
View 0001-devel-ruby-gems-creates-different-gemspec-files.patch
From a2b06000476b5331ea776311244b532603a3670e Mon Sep 17 00:00:00 2001
From: l33tname <sirl33tname@gmail.com>
Date: Sat, 23 Oct 2021 18:11:35 +0000
Subject: [PATCH] devel/ruby-gems: creates different gemspec files
because of that all patch-gemspec should be updated
---
.../rubygem-gitlab-grit/files/patch-gemspec | 20 ++++++++---------
.../files/patch-ext_nokogiri_extconf.rb | 6 ++---
textproc/rubygem-nokogiri/files/patch-gemspec | 16 +++++++-------
View 0001-devel-ruby-gems-Update-3.0.8-3.2.29.patch
From 63a291ba98c6fc3fa4e5d864b393de04dfa28576 Mon Sep 17 00:00:00 2001
From: l33tname <sirl33tname@gmail.com>
Date: Sun, 10 Oct 2021 14:18:33 +0000
Subject: [PATCH] devel/ruby-gems: Update 3.0.8 -> 3.2.29
---
devel/ruby-gems/Makefile | 4 ++--
devel/ruby-gems/distinfo | 6 ++---
...lib_rubygems_commands_pristine__command.rb | 14 +++++++++++
devel/ruby-gems/pkg-plist | 23 ++++++++-----------
View rubygem-3.2.26.diff
diff --git a/devel/ruby-gems/Makefile b/devel/ruby-gems/Makefile
index 25778e0c4406..aa16b57624b5 100644
--- a/devel/ruby-gems/Makefile
+++ b/devel/ruby-gems/Makefile
@@ -1,7 +1,7 @@
# Created by: Alexander Novitsky <alecn2002@yandex.ru>
PORTNAME= gems
-PORTVERSION= 3.0.8
+PORTVERSION= 3.2.26
@fliiiix
fliiiix / ruby30-on-freebsd.md
Last active Oct 10, 2021
Notes about Ruby 3.0 on FreeBSD
View ruby30-on-freebsd.md

Issue

Gems don't install if you try to use:

cat /etc/make.conf 
DEFAULT_VERSIONS= ruby=3.0

The example port used to show this is devel/rubygems-racc.

View gist:aac596c80d9c7f7a20571eb5c5b1e073
[tool.poetry]
name = "bob-the-builder"
version = "0.1.0"
description = "Blaa"
authors = ["Blaa"]
license = "Proprietary"
[tool.poetry.dependencies]
python = "^3.9"
pydantic = "*"
@fliiiix
fliiiix / block-v6-dns.conf
Created Feb 2, 2021
block ipv6 for HE electric
View block-v6-dns.conf
# disable v6
server=/netflix.com/#
address=/netflix.com/::
server=/netflix.net/#
address=/netflix.net/::
server=/nflxext.com/#
address=/nflxext.com/::
server=/nflximg.net/#
address=/nflximg.net/::
server=/nflxvideo.net/#
View cpu-temperatur-grafana.json
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
View etc-modprobe.d-hid_apple.conf
options hid_apple fnmode=2
options hid_apple swap_opt_cmd=1
View backup-status.json
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
@fliiiix
fliiiix / hp1810-24g-dash.json
Created Apr 10, 2018
HP 1810-24G Switch (J9450A) grafana dashboard
View hp1810-24g-dash.json
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",