Skip to content

Instantly share code, notes, and snippets.

View mojoaxel's full-sized avatar
🏠
Working from home

Alexander Wunschik mojoaxel

🏠
Working from home
View GitHub Profile
@mojoaxel
mojoaxel / getImageAndSaveToFTP.sh
Created January 14, 2016 19:42
Upload image from AirCam to Wunderground (FTP)
#!/bin/bash
# Download image from AirCam
curl --insecure -o image.jpg https://XXX.XXX.XXX.XXX/snapshot.cgi?chan=1
# create folder archive if it doesn't already exist
mkdir -p archive
# save image to archive
cp image.jpg archive/webcam_$(date +"%Y%m%d-%H%M").jpg
wget https://noto-website.storage.googleapis.com/pkgs/NotoColorEmoji-unhinted.zip
sudo unzip NotoColorEmoji-unhinted.zip -d /usr/share/fonts/truetype/noto
sudo rm /usr/share/fonts/truetype/noto/LICENSE_OFL.txt
sudo rm /usr/share/fonts/truetype/ancient-scripts/Symbola_hint.ttf
sudo apt-get remove ttf-ancient-fonts-symbola
sudo chmod 644 /usr/share/fonts/truetype/noto/NotoColorEmoji.ttf
fc-cache -f -v
rm NotoColorEmoji-unhinted.zip
@mojoaxel
mojoaxel / index.html
Created July 26, 2018 10:22
Plotly.js Timing Diagramm // source https://jsbin.com/fucugep
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Plotly.js Timing Diagramm</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/plotly.js/1.39.2/plotly.min.js"></script>
<style id="jsbin-css">
body {
font-family: Arial;
@mojoaxel
mojoaxel / index.html
Created July 25, 2018 15:13
Plotly.js multible Charts // source https://jsbin.com/davagaz
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Plotly.js multible Charts</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/plotly.js/1.39.2/plotly.min.js"></script>
<style id="jsbin-css">
#chart {
width: 100%;
This file has been truncated, but you can view the full file.
2018-07-03 20:46:00.795 [ERR] DISC: unable to reply to peer query: unable to fetch chan anns for 579947303749812225..., edge not found
2018-07-03 20:46:01.831 [INF] DISC: gossipSyncer(0223390bea8aa598442d056ace37c07e7364da1341b3681c371f6619b2879c0af2): fetching chan anns for 1 chans
2018-07-03 20:46:01.831 [ERR] DISC: unable to reply to peer query: unable to fetch chan anns for 579947303749812225..., edge not found
2018-07-03 20:46:01.930 [INF] DISC: gossipSyncer(0223390bea8aa598442d056ace37c07e7364da1341b3681c371f6619b2879c0af2): fetching chan anns for 1 chans
2018-07-03 20:46:01.931 [ERR] DISC: unable to reply to peer query: unable to fetch chan anns for 579947303749812225..., edge not found
2018-07-03 20:47:00.697 [INF] DISC: gossipSyncer(0223390bea8aa598442d056ace37c07e7364da1341b3681c371f6619b2879c0af2): fetching chan anns for 1 chans
2018-07-03 20:47:00.698 [ERR] DISC: unable to reply to peer query: unable to fetch chan anns for 579947303749812225..., edge not found
2018-07-03 20:47:01.797 [INF] DISC: g
<!DOCTYPE html>
<html>
<head>
<title>GC394AC - Station 7</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
.radio-container {
position: relative;
background-image: url("//www.universal-radio.com/catalog/portable/5002front.jpg");
width: 1008px;
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2018-04-19 11:05:05> Program: Starting Squirrel Updater: --install .
2018-04-19 11:05:05> Program: Starting install, writing to C:\Users\delphiN\AppData\Local\SquirrelTemp
2018-04-19 11:05:05> Program: About to install to: C:\Users\delphiN\AppData\Local\hyper
2018-04-19 11:05:06> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: Ein Teil des Pfades "C:\Users\delphiN\AppData\Local\hyper\packages\.betaId" konnte nicht gefunden werden.
bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String m
@mojoaxel
mojoaxel / package.json
Last active March 14, 2018 21:42
install the latest debian version of zeit/hyper - download, npm install, npm start
{
"name": "hyper-updater",
"version": "1.0.0",
"description": "node.js script to install the latest version of zeit/hyper using the debian package",
"main": "update.js",
"scripts": {
"start": "npm run update",
"update": "node update.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
0 info it worked if it ends with ok
1 verbose cli [ '/home/delphin/.nvm/versions/node/v8.10.0/bin/node',
1 verbose cli '/home/delphin/.nvm/versions/node/v8.10.0/bin/npm',
1 verbose cli 'install',
1 verbose cli 'shoe' ]
2 info using npm@5.7.0
3 info using node@v8.10.0
4 silly correctMkdir /home/delphin/.nvm/versions/node/v8.10.0/etc correctMkdir not in flight; initializing
5 silly correctMkdir /home/delphin/.nvm/versions/node/v8.10.0 correctMkdir not in flight; initializing
6 silly correctMkdir /home/delphin/workspaces/workspace_default/tmp correctMkdir not in flight; initializing