Skip to content

Instantly share code, notes, and snippets.

💭
Coding...

Erreur32 Erreur32

💭
Coding...
Block or report user

Report or block Erreur32

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View updater-netdata-git.sh
#!/bin/bash
#
# Script Updater for netdata
#
# - Depencies: Wring package (NPM)
#
# By Erreur32 - 2018
#
@Erreur32
Erreur32 / updater-netdata.sh
Last active Dec 21, 2018
updater-netdata.sh
View updater-netdata.sh
#!/bin/bash
#
# Script Updater for netdata
#
# /!\ NEED Depencies:
# Wring package (NPM)
# Install:
# npm install --global wring
#
# By Erreur32 - 2018 December
View Updater-plex.sh
#!/bin/bash
#####
#
# This Script will update Plex Media Server to the latest version for Ubuntu
#
# To automatically check & update plex, run "crontab -e" and add the following lines
#
# # Check for Plex Media Server Updates every day @6:00 am
# 0 6 * * * /path/you/want/update-plexmediaserver.sh
View index.html
<h1 class="alpha ">
Echo'system'
</h1>
<img class="mars" src="https://www.nasa.gov/sites/default/files/thumbnails/image/christmas2015fullmoon.jpg" alt="" />
@Erreur32
Erreur32 / Bash-color-16.sh
Last active Mar 13, 2018
Bash-color-16.sh
View Bash-color-16.sh
for code in {30..37}; do \
echo -en "\e[${code}m"'\\e['"$code"'m'"\e[0m"; \
echo -en " \e[$code;1m"'\\e['"$code"';1m'"\e[0m"; \
echo -en " \e[$code;3m"'\\e['"$code"';3m'"\e[0m"; \
echo -en " \e[$code;4m"'\\e['"$code"';4m'"\e[0m"; \
echo -e " \e[$((code+60))m"'\\e['"$((code+60))"'m'"\e[0m"; \
done
## http://jafrog.com/2013/11/23/colors-in-terminal.html
View Bash-color-256-code.sh
for code in {0..255}
do echo -e "\e[38;5;${code}m"'\\e[38;5;'"$code"m"\e[0m"
done
@Erreur32
Erreur32 / 256-colors.sh
Created Mar 13, 2018 — forked from atomize/256-colors.sh
Bash terminal 256 colors escape sequences. The following script display the 256 colors available on some terminals and terminals emulators like XTerm and GNOME Terminal.
View 256-colors.sh
#!/bin/bash
# This program is free software. It comes without any warranty, to
# the extent permitted by applicable law. You can redistribute it
# and/or modify it under the terms of the Do What The Fuck You Want
# To Public License, Version 2, as published by Sam Hocevar. See
# http://sam.zoy.org/wtfpl/COPYING for more details.
for fgbg in 38 48 ; do #Foreground/Background
for color in {0..256} ; do #Colors
@Erreur32
Erreur32 / prompt.sh
Created Mar 13, 2018 — forked from jc00ke/prompt.sh
bash prompt
View prompt.sh
txtwht="\[\e[00m\]" # White
txtred="\[\e[0;31m\]" # Red
txtgrn="\[\e[0;32m\]" # Green
txtpur="\[\e[0;35m\]" # Purple
txtblu="\[\e[0;34m\]" # Blue
bldgrn="\[\e[1;32m\]" # Green
bldcyn="\[\e[1;36m\]" # Cyan
function parse_git_this_branch {
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'
You can’t perform that action at this time.