Skip to content

Instantly share code, notes, and snippets.

Toc: TERMINAL | VIM | LXDE | CHROMIUM | WEBE

TERMINAL

  • which <package-name> check presence
  • obxprop | grep '^_OB_' check window info
  • lsusb USB devices
  • alias lll='ll --group-directories-first' sort by type

VERSIONS

@trasparente
trasparente / description.md
Last active December 28, 2021 17:47
LISTS
@trasparente
trasparente / Buddha at the Gas Pump Interview.txt
Last active June 15, 2022 15:48
Donald Hoffman: Reality is an Illusion
> https://www.youtube.com/watch?v=Rs1xv0ZEN-U
0:25
{BATGAP theme music plays} >>Rick: Welcome to Buddha at the Gas Pump. My name is Rick Archer. Buddha at the Gas Pump is an ongoing series of conversations with spiritually awakening
0:34
people, and also people who have some expertise in the field of consciousness and very often
0:41
the field of science and how it interrelates with consciousness or spirituality.
0:48
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
36 25/03/06 LA SPEZIA Skaletta
35 24/03/06 FIRENZE CPA
34 17/12/05 ROMA Traffic
33 10/08/05 Garbagnate (MI) Centro Sportivo
32 06/05/05 ROMA Bombardier
31 01/05/05 ROMA Init
30 25/03/05 Giulianova (TE) Pois
29 27/11/04 Liedolo (VI) Punky Reggae
28 26/11/04 BOLOGNA Il Covo
27 22/05/04 Bassano (VI) Gabbia
@trasparente
trasparente / hide-ads.js
Last active October 23, 2023 13:59
bookmarklet for X hide ads and suggestion. Restore article titles
javascript: (function() { // Pools (all)
var spans = [...document.querySelectorAll("span")]
var h2s = [...document.querySelectorAll("h2")]
// Who to follow
var who = spans.filter(a => a.textContent.includes("Who to follow"))
who.forEach((a) => {
var sign = a.closest('[data-testid="cellInnerDiv"]');
var t1 = sign.nextSibling;
var t2 = t1.nextSibling;
@trasparente
trasparente / build_pages.yml
Created October 23, 2023 14:00
GitHub Action to rebuild Jekyll site on gh-pages after midnight
name: Request pages build with GitHub CLI
on:
schedule:
- cron: 0 0 * * *
jobs:
build_pages:
runs-on: ubuntu-latest
steps:
- run: gh api -X POST repos/${{ github.repository }}/pages/builds
env:
@trasparente
trasparente / .bashrc
Last active November 3, 2023 20:04
Jekyll for Visual Studio Code
# C:\Users\username\.bashrc
alias jkl="bundle exec jekyll serve --watch --livereload"
@trasparente
trasparente / history.md
Last active December 17, 2023 14:11
Fork-n-play history
Created Updated Repository
Mar 07, 2023 trasparente/mdr
Jan 06, 2023 trasparente/log
Mar 14, 2021 Dec 31, 2021 giovian/io
Dec 28, 2020 Dec 21, 2022 giovian/ui
Oct 24, 2020 Dec 24, 2020 trasparente/actions
Jun 20, 2020 stonelore/stone
Jan 06, 2020 riminino/barebone
Nov 03, 2019 riminino/riminino.github.io
@trasparente
trasparente / GURPS Space - 3rd Edition.md
Last active December 26, 2023 17:19
Forms in `yaml`

Random Star Location

Assuming three-dimensional grid points one parsec apart, and a general separation between stars of about 4 parsecs, the GM may roll 2d to determine what lies at each grid point. Add 1 to the roll in a cluster or core area. 2-9 – Empty space. 10 – Possible unusual item; roll one die.