Skip to content

Instantly share code, notes, and snippets.

View sebastianbachmann's full-sized avatar
💤

Sebastian Bachmann sebastianbachmann

💤
View GitHub Profile
@sebastianbachmann
sebastianbachmann / error.log
Created December 5, 2023 19:36
Running 'supabase migration up --local --debug' results in the following error message
~/Code/usebasejump-projects/feerd-usebasejump/ supabase migration up --local --debug
Supabase CLI 1.112.0
Connecting to local database...
2023/12/05 20:19:26 Connect Start: tcp 127.0.0.1:54322
2023/12/05 20:19:26 Connect Done: tcp 127.0.0.1:54322
2023/12/05 20:19:26 PG Send: {"Type":"StartupMessage","ProtocolVersion":196608,"Parameters":{"database":"postgres","user":"postgres"}}
2023/12/05 20:19:26 PG Recv: {"Type":"AuthenticationSASL","AuthMechanisms":["SCRAM-SHA-256"]}
2023/12/05 20:19:26 PG Send: {"Type":"SASLInitialResponse","AuthMechanism":"SCRAM-SHA-256","Data":"n,,n=,r=ank0/HDFqBzQDUZLqA/4SD0k"}
2023/12/05 20:19:26 PG Recv: {"Type":"AuthenticationSASLContinue","Data":"r=ank0/HDFqBzQDUZLqA/4SD0kLgjiQGky+7uFy2YVEq+emEJm,s=agVnhsUCrqFukUvrW0BUUQ==,i=4096"}
2023/12/05 20:19:26 PG Send: {"Type":"SASLResponse","Data":"c=biws,r=ank0/HDFqBzQDUZLqA/4SD0kLgjiQGky+7uFy2YVEq+emEJm,p=FTA/mRg0mbNYEG+rkSsi6nhna7eI5ISfWFEz6cSiGuw="}
@sebastianbachmann
sebastianbachmann / error.log
Created August 17, 2022 10:29
npx directus start error message
12:22:57 ⚠️ PUBLIC_URL should be a full URL
error: WITH geometries as (
select * from geometry_columns
union
select * from geography_columns
)
SELECT f_table_name as table_name
, f_geometry_column as column_name
, type as data_type
FROM geometries g
@sebastianbachmann
sebastianbachmann / getMostRecent.js
Created December 16, 2021 15:29 — forked from beevelop/getMostRecent.js
Get the most recently changed file in NodeJS
var path = require('path');
var fs = require('fs');
var getMostRecent = function (dir, cb) {
var dir = path.resolve(dir);
var files = fs.readdir(dir, function (err, files) {
var sorted = files.map(function(v) {
var filepath = path.resolve(dir, v);
return {
name:v,
@sebastianbachmann
sebastianbachmann / rnv-development.ps1
Created April 16, 2021 10:11
Powershell Remote Script Test
echo Guude
Looking in indexes: https://pypi.org/simple, https://pypi.rasa.com/simple
Requirement already satisfied: rasa-x in ./Library/Python/3.7/lib/python/site-packages (0.20.2)
Requirement already satisfied: questionary>=1.1.0 in ./Library/Python/3.7/lib/python/site-packages (from rasa-x) (1.3.0)
Requirement already satisfied: sanic~=19.3.1 in ./Library/Python/3.7/lib/python/site-packages (from rasa-x) (19.3.1)
Requirement already satisfied: setuptools-scm~=3.3 in ./Library/Python/3.7/lib/python/site-packages (from rasa-x) (3.3.3)
Requirement already satisfied: attrs>=18 in ./Library/Python/3.7/lib/python/site-packages (from rasa-x) (19.1.0)
Requirement already satisfied: simplejson~=3.16 in ./Library/Python/3.7/lib/python/site-packages (from rasa-x) (3.16.0)
Requirement already satisfied: sanic-cors~=0.9.6 in ./Library/Python/3.7/lib/python/site-packages (from rasa-x) (0.9.9.post1)
Requirement already satisfied: pyjwt in ./Library/Python/3.7/lib/python/site-packages (from rasa-x) (1.7.1)
Requirement already satisfi
@sebastianbachmann
sebastianbachmann / SwiftTable
Created September 10, 2018 20:14 — forked from jquave/SwiftTable
Example code for Table View in Swift
import UIKit
class ViewController: UIViewController, UITableViewDataSource, UITableViewDelegate {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
}
override func didReceiveMemoryWarning() {
@sebastianbachmann
sebastianbachmann / index.html
Last active January 15, 2018 22:44
CareerFoundry Web Developer
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Sebastian Bachmann - Web Developer</title>
$ which node
/usr/local/bin/node
$ node -v # installed from https://nodejs.org/dist/v8.7.0/node-v8.7.0.pkg
v8.7.0
$ which npm
/usr/local/bin/npm
$ npm -v
@sebastianbachmann
sebastianbachmann / broken-repository.md
Last active January 12, 2016 23:01
Broken Repository

Update

since nothing was really working, i gave in and fired rm -rf .gitmaybe a bit drastic and i am loosing the whole commit history, but i have to finish the project. In this state i wasn't able to commit anything. I saved some copies and will have a deeper look trying to understand what has happpened


git checkout 5b001a2is working, but the error persists

git status 
error: inflate: data stream error (incorrect header check)