Skip to content

Instantly share code, notes, and snippets.

View mherkazandjian's full-sized avatar

Mher Kazandjian mherkazandjian

  • Freelance consultant
  • The Netherlands
View GitHub Profile
// XPath CheatSheet
// To test XPath in your Chrome Debugger: $x('/html/body')
// http://www.jittuu.com/2012/2/14/Testing-XPath-In-Chrome/
// 0. XPath Examples.
// More: http://xpath.alephzarro.com/content/cheatsheet.html
'//hr[@class="edge" and position()=1]' // every first hr of 'edge' class
@mherkazandjian
mherkazandjian / miniconda_installer.sh
Last active May 3, 2024 10:32
miniconda batch/slient web installation wrapper that can be executed also without downloading/saving it to disk
#!/usr/bin/env bash
##################################################
# usage:
# $ ./install_miniconda.sh ~/apps/miniconda
# $ ./install_miniconda.sh ~/apps/miniconda --mamba
# $ ./install_miniconda.sh ~/apps/miniconda --installer latest
# $ ./install_miniconda.sh ~/apps/miniconda --upgrade --mamba
# $ ./install_miniconda.sh ~/apps/miniconda --installer latest --upgrade --mamba
# $ ./install_miniconda.sh ~/apps/miniconda --installer Miniconda3-py310_23.5.1-0-Linux-x86_64.sh --upgrade --mamba