Skip to content

Instantly share code, notes, and snippets.

View UlanaXY's full-sized avatar

Mikolaj UlanaXY

  • Common Wombat
  • Poland
View GitHub Profile
@UlanaXY
UlanaXY / gist:e0ef5fb6b8b4ae0eaae92a419b8cdef6
Created January 22, 2024 14:35
cypress log for "Timed out waiting for the browser to connect #28397"
Step #1 - "Test": 1: starting server using command "yarn start"
Step #1 - "Test": and when url "[ 'http://127.0.0.1:3000' ]" is responding with HTTP status code 200
Step #1 - "Test": running tests using command "yarn cy:run"
Step #1 - "Test":
Step #1 - "Test": â–² Next.js 14.0.4
Step #1 - "Test": - Local: http://localhost:3000
Step #1 - "Test":
Step #1 - "Test":  âš Invalid next.config.js options detected:
Step #1 - "Test":  âš Unrecognized key(s) in object: 'defaultNS' at "i18n"
Step #1 - "Test": âš See more info here: https://nextjs.org/docs/messages/invalid-next-config
@UlanaXY
UlanaXY / README.md
Created May 27, 2022 17:32 — forked from justincjahn/README.md
Minecraft server(s) using systemd and screen.

Install

# Install dependencies
sudo yum install -y java-1.8.0-openjdk screen

# Create a new unprivileged user for minecraft
useradd -r -m -d /opt/minecraft minecraft

# Create the directory that will house our minecraft instances

sudo su --shell /bin/bash minecraft

@UlanaXY
UlanaXY / powerline.md
Last active February 13, 2021 11:34
Install powerline on Raspbian / Debian
  1. Install powerline sudo apt install powerline
  2. Enable powerline demon systemctl --user enable powerline-daemon.service
  3. Eneble powerline globaly sudo dpkg-reconfigure -plow powerline
    1. Press space to check checkbox
    2. Press enter to confirm
  4. If it dosen't work for ssh add these lines to respective files:
@UlanaXY
UlanaXY / ulnTheme.psm1
Last active February 11, 2021 23:54
ulnTheme - oh-my-posh
#requires -Version 2 -Modules posh-git
function Write-Theme {
param(
[bool]
$lastCommandFailed,
[string]
$with
)