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 | |
# put this file in /etc/network/if-up.d/ | |
if iwconfig wlp4s0 | grep -c "ESSID:\"WIFIonICE\"" | |
then | |
curl -s "https://www.ombord.info/hotspot/hotspot.cgi?connect=&method=login&realm=db_advanced_wifi" | |
fi |
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
[ | |
{ | |
"actions": [], | |
"attributes": { | |
"occi.agreement.term.state": " undefined", | |
"occi.agreement.termtype": " SLO", | |
"occi.core.id": "/agreement/b66c57ec-1ddd-4e21-a173-c6339298dcf7", | |
"serviceprovider.terms.compute.uptime": " 99" | |
}, | |
"kind": { |
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
image: node:latest | |
cache: | |
paths: | |
- node_modules/ | |
before_script: | |
- apt-get update | |
- apt-get install sshpass -y | |
- mkdir -p ~/.ssh |
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/bash | |
pathname="$1" | |
noext="${pathname%.*}" | |
convert $pathname \( +clone -background grey35 -shadow 80x40+5+5 \) \ | |
+swap -background transparent -layers merge +repage "$noext-shadow.png" | |
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
/*********************************************** | |
* Name: endian.c | |
* Purpose: Detecting system endianness | |
* Source: GNU C / IBM XLC | |
* Build: gcc -o endian endian.c | |
* Author: Jan-Henrich Mattfeld | |
* Date: 2016-10-31 | |
***********************************************/ | |
#include <stdio.h> |