This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Keep these as ref | |
| local icon="" | |
| if [[ "$OSTYPE" =~ "darwin" ]]; then | |
| icon=" " | |
| elif [ "$OSTYPE" = "linux-gnu" ]; then | |
| icon=" " | |
| else | |
| icon=" " |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # If you come from bash you might have to change your $PATH. | |
| # export PATH=$HOME/bin:/usr/local/bin:$PATH | |
| # Path to your oh-my-zsh installation. | |
| export ZSH="$HOME/.oh-my-zsh/" | |
| # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes | |
| ZSH_THEME="ivasen" | |
| # CASE_SENSITIVE="true" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Requirements: | |
| * pdftops installed on your system. | |
| * Usage: | |
| * $ node pdf.js filename.pdf | |
| */ | |
| const { exec } = require('child_process'); | |
| async function fn(file) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| function updates { | |
| sudo apt update; | |
| sudo apt dist-upgrade -y; | |
| sudo apt upgrade -y; | |
| } | |
| function wantedOfficialPackages { | |
| sudo apt install -y software-properties-common build-essential tree git gitg geany; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| ################################################################################ | |
| ### OpenCV2 Installation Script ### | |
| ################################################################################ | |
| # Source code at https://github.com/arthurbeggs/scripts # | |
| ################################################################################ | |
| # # | |
| # Feel free to copy and modify this file. Giving credit to the original # | |
| # for it is your choice, but please keep references to other people's work,# |