Skip to content

Instantly share code, notes, and snippets.

View thomasgroch's full-sized avatar

Thomas Groch thomasgroch

View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>HTML Importer Demo</title>
<script>
/**
* Synchronously fetches the given URL and writes its contents
* into the document at this script’s position.
*
<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 ] };