This file contains 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
""" | |
Simple check if the office network works, written on the knee. | |
Requests a few websites by domain and ip an prints a colored status to the console and writes to the log. | |
Additionally writes an autorefresh html to have the color seen from a distance on the logging laptop. | |
PIP requirements: termcolor | |
Additional files: |
This file contains 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/sh | |
for i in $(ls -d $1/*) | |
do | |
if [ -d "$i"/.git ] | |
then | |
echo $(git submodule add $(cd $i && git remote show origin | grep Fetch | awk '{print $3}') ./$i) | |
fi | |
done |
This file contains 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
.r | |
@extend .row | |
.s1 | |
@extend .small-1 | |
@extend .columns | |
.s2 | |
@extend .small-2 | |
@extend .columns | |
.s3 |