Skip to content

Instantly share code, notes, and snippets.

View thomasgroch's full-sized avatar

Thomas Letsch Groch thomasgroch

View GitHub Profile
<script src="https://meet.jit.si/external_api.js"></script>
<div id="meet">
</div>
hello world
<script>
var options = {
roomName: "jdtest",
width: 700,
height: 700,
parentNode: document.querySelector('#meet')
@thomasgroch
thomasgroch / jetbrains_setup.sh
Created December 6, 2022 20:51
simple steps to install jetbrains
# install
sudo snap install intellij-idea-ultimate --classic
# -or download intellij idea ultimate tar.gz file from:
# https://www.jetbrains.com/idea/download/#section=linux
# https://download-cdn.jetbrains.com/idea/ideaIU-2022.1.1.tar.gz
# extract:
sudo tar -xvf ideaIU-2022.1.1.tar.gz -C /opt/
  1. use https://github.com/maildev/maildev
  2. NodeJS required
  3. to install: npm install -g maildev
  4. start: maildev --outgoing-secure --outgoing-user lajt --outgoing-pass lajt
  5. ignore ssl check, only for dev environment! never in production. in your blazor server app add inside public void ConfigureServices(IServiceCollection services):
if (_env.IsDevelopment())
{
  ServicePointManager
@thomasgroch
thomasgroch / wmtt.sh
Created June 26, 2022 04:33 — forked from lanrat/wmtt.sh
run nested window-manager
#!/usr/bin/env bash
# wmtt: wm testing tool
# built from the awmtt script
#Default Variables
#TODO make this arg passable
WM="openbox-session"
ME=$(basename ${0})
# Display and window size
D=1

title: 'Building Serverless CRUD apps with Netlify Functions & FaunaDB' authors:

  • David Wells tweet: >- Building Serverless CRUD apps with Netlify Functions & FaunaDB topics:
  • tutorials tags:
  • serverless
@thomasgroch
thomasgroch / Vue3.md
Created March 26, 2022 17:03 — forked from harshadsatra/Vue3.md
Vue3 related lists
@thomasgroch
thomasgroch / signal
Created February 21, 2022 20:04 — forked from unhammer/signal
Launch Signal if not running, otherwise toggle hidden/shown state. Put signal.desktop in ~/.config/autostart/.
#!/bin/bash
run () {
signal-desktop &
disown
}
show () {
local -r id="$1"
idx="$(printf "0x%08x" "${id}")"
@thomasgroch
thomasgroch / site.yml
Created January 29, 2022 20:24 — forked from obszczymucha/site.yml
Arch Linux Ansible Bootstrap Joy Just For You
---
# I install all necessary packages and configure Arch Linux.
- name: bootstrap Arch Linux
hosts: all
become: yes
vars:
my_username: alien
bootstrap_username: bootstrap
@thomasgroch
thomasgroch / pc
Created January 29, 2022 01:41 — forked from mmore500/pc
/usr/share/X11/xkb/symbols/pc
default partial alphanumeric_keys modifier_keys
xkb_symbols "pc105" {
key <ESC> { [ Escape ] };
// The extra key on many European keyboards:
key <LSGT> { [ less, greater, bar, brokenbar ] };
// The following keys are common to all layouts.
key <BKSL> { [ backslash, bar ] };
@thomasgroch
thomasgroch / yubikey-reset.sh
Created November 2, 2021 03:46 — forked from pkirkovsky/yubikey-reset.sh
Utility for resetting a Yubikey to factory defaults using gpg-connect-agent. This will wipe out any stored keys and reset PINs to default values.
gpg-connect-agent <<EOF
/hex
scd serialno
scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40
scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40
scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40
scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40
scd apdu 00 20 00 83 08 40 40 40 40 40 40 40 40
scd apdu 00 20 00 83 08 40 40 40 40 40 40 40 40
scd apdu 00 20 00 83 08 40 40 40 40 40 40 40 40