Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
#!/bin/bash | |
/sbin/modprobe nvidia | |
if [ "$?" -eq 0 ]; then | |
# Count the number of NVIDIA controllers found. | |
NVDEVS=`lspci | grep -i NVIDIA` | |
N3D=`echo "$NVDEVS" | grep "3D controller" | wc -l` | |
NVGA=`echo "$NVDEVS" | grep "VGA compatible controller" | wc -l` |
#!/bin/bash | |
#################################################################### | |
# cloudprint-start.sh | |
# | |
# Enforce that CloudPrint is running | |
# Gustavo Arnosti Neves | |
# | |
# Use full-paths to files, or add a PATH variable or you will | |
# get errors when running this from Cron. | |
# |
#!/bin/bash | |
# | |
# cloudprint Starts the cloudprint connector daemon | |
# description: Google cloudprint is a service for sharing printers \ | |
# among computers through the internet. | |
# | |
### BEGIN INIT INFO | |
# Provides: cloudprint | |
# Required-Start: $cups $network $local_fs $syslog |
$ tree MageBR-Boleto_Bancario_Magento-master | |
MageBR-Boleto_Bancario_Magento-master | |
|-- Changelog.txt | |
|-- Leia.txt | |
|-- README.md | |
|-- Tutorial\ HTML | |
| |-- images | |
| | `-- logo.png | |
| `-- index.html | |
|-- app |
#!/bin/bash | |
#################################################################### | |
# gcp-start.sh | |
# | |
# Enforce that the Google CUPs Connector is running | |
# Gustavo Arnosti Neves | |
# | |
# Use full-paths to files, or add a PATH variable or you will | |
# get errors when running this from Cron. | |
# |
#!/bin/bash | |
# | |
# gcp Starts GCP CUPS Connector daemnon | |
# description: Google cloudprint is a service for sharing printers \ | |
# among computers through the internet and LAN. | |
# | |
### BEGIN INIT INFO | |
# Provides: cloudprint | |
# Required-Start: $cups $network $local_fs $syslog |
#!/bin/bash | |
################################################################### | |
# | |
# Maximized xfce4-terminal | |
# /usr/bin/xfce4-terminal | |
# | |
# Created for linux mint xfce | |
# Gustavo Neves - 4 Jul 2016 | |
# |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
#!/bin/bash | |
TRUE=0 | |
FALSE=1 | |
PBIN="$(which python)" | |
PY2="$(python --version 2>&1 | grep -w 'Python 2')" | |
[[ -z $PY2 ]] && PY2=$FALSE || PY2=$TRUE | |
WGETBIN="$(which wget 2>/dev/null)" |
#!/bin/bash | |
TRUE=0 | |
FALSE=1 | |
PBIN="$(which python)" | |
PY2="$(python --version 2>&1 | grep -w 'Python 2')" | |
[[ -z $PY2 ]] && PY2=$FALSE || PY2=$TRUE | |
WGETBIN="$(which wget 2>/dev/null)" |