Skip to content

Instantly share code, notes, and snippets.

View LeBaux's full-sized avatar

Pierre LeBaux LeBaux

View GitHub Profile
@LeBaux
LeBaux / keyworksFromUrl.js
Created July 26, 2020 20:03 — forked from johnmurch/keywordsFromUrl.js
Parse keywords from URL
let url = "https://www.amazon.com/SanDisk-128GB-microSDXC-Memory-Adapter/dp/B073JYC4XM/";
let kwparse = (url.replace('https://','').replace('http://','').replace('www','').replace('com','').split('-').join().split('/').join().split('.')).join(',').replace(/^,/, '')
let kwuniq = [...new Set(kwparse.split(','))].filter(function(e){return e});
console.log(kwuniq)
@LeBaux
LeBaux / vivaldi-snapshot-keepassxc.md
Last active April 20, 2019 16:31
Getting Vivaldi snapshot and KeePassXC working in Linux

KeePassXC and Vivaldi on Linux

Vivaldi Snapshot never worked out of the box for me on both deb and arch based distros. Following the troubleshooting guide (ref, discussion) I wrote this idiot-proof guide for my future self and 4 other linux noobs who might run into this issue.

  1. We need to have the KeePassXC-Browser chrome extension installed and Browser Integration allowed in KeePassXC settings.
  2. Check if ~/.config/vivaldi-snapshot/NativeMessagingHosts/org.keepassxc.keepassxc_browser.json exists. If it does not, make the file and paste:
{
    "allowed_origins": [

Keybase proof

I hereby claim:

  • I am lebaux on github.
  • I am lebaux (https://keybase.io/lebaux) on keybase.
  • I have a public key whose fingerprint is 4423 111B D893 FC89 7E50 12A0 B4E1 B6A8 F353 79C6

To claim this, I am signing this object:

@LeBaux
LeBaux / lebaux.cfg
Last active April 21, 2023 13:15
Counter-strike 1.6 config
//////////////////////////////////////////////////
// //
// Nick: Bauer <LeBaux> //
// Clan: Gamester #AVONET //
// Web: www.gamester.cz //
// Email: lebaux@gmail.com //
// Version: 20171125160903CET //
// Updated: complete rewrite //
// //
//////////////////////////////////////////////////