diff --git a/.editorconfig b/.editorconfig index c49b5f0..860a0be 100644 --- a/.editorconfig +++ b/.editorconfig @@ -74,3 +74,14 @@ indent_size = 4 [~/SublimeText/*.sublime-*] indent_style = tab indent_size = 4 + +[~/Gambas/*] +indent_size = 2 + +[~/Solar2D/**] +indent_style = unset +indent_size = unset +end_of_line = unset +charset = unset +trim_trailing_whitespace = unset +insert_final_newline = unset diff --git a/~/Bash/irc_logger.sh b/~/Bash/irc_logger.sh index 82e2bc0..b594e44 100755 --- a/~/Bash/irc_logger.sh +++ b/~/Bash/irc_logger.sh @@ -1,26 +1,26 @@ -#!/bin/bash +#!/bin/bash # https://linuxconcept.com/making-a-simple-irc-chat-bot-logger-using-bash-script/ -nick="blb$$" +nick="blb$$" channel=admin server=iiiypuk.me -config=/tmp/irclog -[ -n "$1" ] && channel=$1 -[ -n "$2" ] && server=$2 -config="${config}_${channel}" -echo "NICK $nick" > $config -echo "USER $nick +i * :$0" >> $config -echo "JOIN #$channel" >> $config -trap "rm -f $config;exit 0" INT TERM EXIT -tail -f $config | nc $server 6667 | while read MESSAGE -do - case "$MESSAGE" in - PING*) echo "PONG${MESSAGE#PING}" >> $config;; *QUIT*) ;; - *PART*) ;; - *JOIN*) ;; - *NICK*) ;; - *PRIVMSG*) echo "${MESSAGE}" | sed -nr "s/^:([^!]+).*PRIVMSG[^:]+:(.*)/[$(date '+%R')] \1> \2/p" >> $config;; - *) echo "${MESSAGE}";; - esac +config=/tmp/irclog +[ -n "$1" ] && channel=$1 +[ -n "$2" ] && server=$2 +config="${config}_${channel}" +echo "NICK $nick" > $config +echo "USER $nick +i * :$0" >> $config +echo "JOIN #$channel" >> $config +trap "rm -f $config;exit 0" INT TERM EXIT +tail -f $config | nc $server 6667 | while read MESSAGE +do + case "$MESSAGE" in + PING*) echo "PONG${MESSAGE#PING}" >> $config;; *QUIT*) ;; + *PART*) ;; + *JOIN*) ;; + *NICK*) ;; + *PRIVMSG*) echo "${MESSAGE}" | sed -nr "s/^:([^!]+).*PRIVMSG[^:]+:(.*)/[$(date '+%R')] \1> \2/p" >> $config;; + *) echo "${MESSAGE}";; + esac done diff --git a/~/CSS/back-image-cover.css b/~/CSS/back-image-cover.css index 167ef3a..a468ce5 100644 --- a/~/CSS/back-image-cover.css +++ b/~/CSS/back-image-cover.css @@ -1,8 +1,8 @@ body{ - margin: 0px; - height: 100vh; - background-image: url('../img/landing.jpg'); - background-size: cover; - background-position: center center; - background-repeat: no-repeat; + margin: 0px; + height: 100vh; + background-image: url('../img/landing.jpg'); + background-size: cover; + background-position: center center; + background-repeat: no-repeat; } diff --git a/~/HTML/SEMATIC-HTML5.md b/~/HTML/SEMATIC-HTML5.md index c18c75e..00c1175 100644 --- a/~/HTML/SEMATIC-HTML5.md +++ b/~/HTML/SEMATIC-HTML5.md @@ -107,22 +107,22 @@ ```html -
- -Here are the birthdays upcoming in August!
-Person | Day | Month | Year | -
---|---|---|---|
Johny | 10th | August | 1970 | -
Sally | 17th | August | 1973 | -
Here are the birthdays upcoming in August!
+Person | Day | Month | Year | +
---|---|---|---|
Johny | 10th | August | 1970 | +
Sally | 17th | August | 1973 | +