Skip to content

Instantly share code, notes, and snippets.

@tobiasweede
tobiasweede / Periodic Table of Elements.csv
Created February 10, 2024 20:03 — forked from robertwb/Periodic Table of Elements.csv
Tungsten is the more common name for Wolfram.
We can make this file beautiful and searchable if this error is corrected: It looks like row 7 should actually have 28 columns, instead of 24. in line 6.
AtomicNumber,Element,Symbol,AtomicMass,NumberofNeutrons,NumberofProtons,NumberofElectrons,Period,Group,Phase,Radioactive,Natural,Metal,Nonmetal,Metalloid,Type,AtomicRadius,Electronegativity,FirstIonization,Density,MeltingPoint,BoilingPoint,NumberOfIsotopes,Discoverer,Year,SpecificHeat,NumberofShells,NumberofValence
1,Hydrogen,H,1.007,0,1,1,1,1,gas,,yes,,yes,,Nonmetal,0.79,2.2,13.5984,8.99E-05,14.175,20.28,3,Cavendish,1766,14.304,1,1
2,Helium,He,4.002,2,2,2,1,18,gas,,yes,,yes,,Noble Gas,0.49,,24.5874,1.79E-04,,4.22,5,Janssen,1868,5.193,1,
3,Lithium,Li,6.941,4,3,3,2,1,solid,,yes,yes,,,Alkali Metal,2.1,0.98,5.3917,5.34E-01,453.85,1615,5,Arfvedson,1817,3.582,2,1
4,Beryllium,Be,9.012,5,4,4,2,2,solid,,yes,yes,,,Alkaline Earth Metal,1.4,1.57,9.3227,1.85E+00,1560.15,2742,6,Vaulquelin,1798,1.825,2,2
5,Boron,B,10.811,6,5,5,2,13,solid,,yes,,,yes,Metalloid,1.2,2.04,8.298,2.34E+00,2573.15,4200,6,Gay-Lussac,1808,1.026,2,3
6,Carbon,C,12.011,6,6,6,2,14,solid,,yes,,yes,,Nonmetal,0.91,2.55,11.2603,2.27E+00,3948.15,4300,7,Prehi
@tobiasweede
tobiasweede / __init__.py
Created November 8, 2023 15:59 — forked from ultrafunkamsterdam/__init__.py
Python 3 main module template including shebang, docstring, metadata and boilerplate
#!/usr/bin/env python3
# *_* coding: utf-8 *_*
"""
module docstring - short summary
If the description is long, the first line should be a short summary that makes sense on its own,
separated from the rest by a newline
"""
@tobiasweede
tobiasweede / mapwacom
Created January 7, 2023 12:15 — forked from tom-galvin/mapwacom
Mapwacom script
#!/bin/bash
# mapwacom script
MAPWACOM=$(basename $0)
EXIT_CODE_BAD_DEVICE=82
EXIT_CODE_NO_SUCH_DEVICE=80
EXIT_CODE_NO_SUCH_SCREEN=81
EXIT_CODE_MISSING_DEPS=83
EXIT_CODE_USAGE=64
@tobiasweede
tobiasweede / bluetooth-a2dp.png
Created June 15, 2022 09:57 — forked from lazyfrosch/bluetooth-a2dp.png
Toggle Bluetooth Profiles with Pulseaudio
bluetooth-a2dp.png
@tobiasweede
tobiasweede / .gitignore
Created January 6, 2022 02:07 — forked from gregplaysguitar/.gitignore
Some simple Ubuntu server monitoring tools
*.pyc
conf.py
@tobiasweede
tobiasweede / gist:9458dbafa0f7a96562eb616ab7314261
Created September 3, 2021 21:52
Uni Jena Eduroam 2.4GHz Config for netctl
Description='2.4GHz eduroam'
Connection='wireless'
Interface=wlan0
Security='wpa-configsection'
IP='dhcp'
NETCTL_DEBUG=no
WPAConfigSection=(
'ssid="2.4GHz eduroam"'
'key_mgmt=WPA-EAP'
'eap=TTLS'
@tobiasweede
tobiasweede / instructions.md
Created July 9, 2020 06:03 — forked from johnko/instructions.md
Installing FreeBSD on a USB drive with ZFS using bsdinstall unattended

Installing FreeBSD on a USB drive with ZFS using bsdinstall unattended

I typically wrap all these commands into a shell script that I can reuse, but here they are in steps.

Please read through all the instructions before actually performing the commands, just to avoid any surprises

Requirements:

  • careful typing and copy/paste skills
  • USB drive (8 GB+ ?) Make sure you don't need anything on that drive