Skip to content

Instantly share code, notes, and snippets.

View roderik's full-sized avatar

Roderik van der Veer roderik

View GitHub Profile
@roderik
roderik / index.ts
Created May 31, 2025 16:18
Bun + ORPC + Tanstack Router setup, without Vite
import { serve } from "bun";
import { serverConfig } from "./lib/config/server";
import "./lib/plugins/tanstack-router-generator";
import { routes } from "./lib/routes";
const server = serve({
routes,
...serverConfig,
});
2024-04-15T19:25:31.088735Z ERROR create_virtual_branch: crates/gitbutler-tauri/src/virtual_branches.rs:87: error=Error(failed to set ownership
Caused by:
inconsistent ownership claims) project_id=b62e0f66-0449-453b-8316-8a2d260176ca branch=BranchCreateRequest { name: None, ownership: Some(BranchOwnershipClaims { claims: [OwnershipClaim { file_path: "charts/settlemint/charts/observability/dashboards/besu.json", hunks: [Hunk { hash: Some("943c9ab701f6afa1dfceed3b021bdc82"), timestamp_ms: None, start: 20, end: 27 }, Hunk { hash: Some("aab8edce6a4e64c51cdd6b1488b0d9d6"), timestamp_ms: None, start: 437, end: 444 }, Hunk { hash: Some("87579ecb9fe745dfa9fb37351c81041f"), timestamp_ms: None, start: 451, end: 458 }, Hunk { hash: Some("41e2e1d0ba00c845155db7fb183fa429"), timestamp_ms: None, start: 463, end: 470 }, Hunk { hash: Some("e1d304af1f73d58077a0424a54a0a17b"), timestamp_ms: None, start: 475, end: 482 }, Hunk { hash: Some("0b98836117d5615ead47d9ea11e456cd"), timestamp_ms: No
#!/bin/bash
## Configure all the nx, jest and tx config files for the libraries.
## The only thing you need to make sure of is to set the name correct in the package.json file
jq '.compilerOptions.paths = {}' tsconfig.base.json > temp.json && mv temp.json tsconfig.base.json
find ./libs -name "package.json" | while read pkg; do
pkg_name=$(jq -r '.name' "$pkg")
pkg_dir=$(dirname "$pkg")
"@typescript-eslint/consistent-type-imports": [
"warn",
{
"prefer": "type-imports",
"fixStyle": "separate-type-imports"
}
]
---
apiVersion: troubleshoot.sh/v1beta2
kind: Preflight
metadata:
name: settlemint
spec:
analyzers:
- clusterVersion:
outcomes:
- fail:
@roderik
roderik / keybase.md
Created January 9, 2021 20:54
keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: faster
provisioner: kubernetes.io/gce-pd
parameters:
type: pd-ssd
pragma solidity ^0.4.25;
// File: @settlemint/solidity-mint/contracts/authentication/interfaces/IRoleRegistry.sol
/**
* Copyright (C) SettleMint NV - All Rights Reserved
*
* Use of this file is strictly prohibited without an active license agreement.
* Distribution of this file, via any medium, is strictly prohibited.
*
* For license inquiries, contact [email protected]
*/
pragma solidity ^0.4.15;
contract Migrations {
address public owner;
uint public last_completed_migration;
modifier restricted() {
require(msg.sender == owner);
_;
@roderik
roderik / app_name.rb
Created November 26, 2015 10:16
Fastlane actions mentioned in the Kunstmaan Labs blogpost "iOS continuous delivery with Jenkins and Fastlane" found at https://labs.kunstmaan.be/blog/ios-continuous-delivery-with-jenkins-and-fastlane
module Fastlane
module Actions
class AppNameAction < Action
def self.run(params)
require 'plist'
identifier_key = 'CFBundleDisplayName'
folder = Dir['*.xcodeproj'].first
info_plist_path = params[:plist_path]
raise "Couldn't find info plist file at path '#{params[:plist_path]}'".red unless File.exist?(info_plist_path)
plist = Plist.parse_xml(info_plist_path)