Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/php
<?php
/**
* create directory listing to replace webservers listing
*
* Usage: ./create-index.php /path/to/directory > /path/to/index.html
*
* This file was created to create a non-truncated directory listing for
* firmware download at Freifunk Westpfalz. Fixes problems with truncated
* file names in listing, like most webservers do to save space. Also
[
{
"conference": "32C3",
"slug": "32c3",
"author": "CCC",
"description": "Live-Streaming vom 32C3",
"keywords": "32C3, Hacking, Chaos Computer Club, Video, Music, Podcast, Media, Streaming, Hacker, Hamburg",
"startsAt": "2015-12-27T05:00:00+0000",
"endsAt": "2015-12-30T20:00:00+0000",
"groups": [
/* Keys:
* A7 *
* A8 TAB
*
* B1 Y
* B2 Q
* B3 LALT
* B4 SPACE
* B5 A
* B6 LCTRL
00:40:35 ◀▬▬ Helix (~xcn@p5DDD97BB.dip0.t-ipconnect.de) has quit (Client Quit)
03:00:22 ℹ Saga_Musix is now known as Saga_Off
04:03:05 ◀▬▬ Wuschel (~Wuschel@37.9.190.91) has quit (Ping timeout: 245 seconds)
04:04:36 ▬▬▶ Wuschel (Jan Holub) (~Wuschel@37.9.191.79) has joined #c3kl
05:14:26 ▬▬▶ peak [peeker] (-peak-) (node1@gateway/tor-hashcash-verified) has joined #c3kl
06:49:09 ▬▬▶ _peak [peeker] (-peak-) (node1@gateway/tor-hashcash-verified) has joined #c3kl
06:50:17 ◀▬▬ peak (node1@gateway/tor-hashcash-verified) has quit (Ping timeout: 1200 seconds)
07:14:21 ▬▬▶ peak_ [peeker] (-peak-) (node1@gateway/tor-hashcash-verified) has joined #c3kl
07:19:08 ◀▬▬ peak_ (node1@gateway/tor-hashcash-verified) has quit (Client Quit)
07:20:41 ▬▬▶ peak [peeker] (-peak-) (node1@gateway/tor-hashcash-verified) has joined #c3kl
$ cat nodesource.sh | sudo bash -
## Installing the NodeSource Node.js v4.x LTS Argon repo...
## Populating apt-get cache...
+ apt-get update
Hit http://ftp.uni-kl.de sid InRelease
Get:1 http://ftp.uni-kl.de sid/main Sources/DiffIndex [27.9 kB]
2017-05-15 08:54:30,272 - octoprint.server - INFO - --- Log roll over detected ---------------------------------------------------
2017-05-15 08:54:30,273 - octoprint.server - INFO - OctoPrint 1.3.2 (rc/devel branch)
2017-05-15 08:54:30,275 - octoprint.plugin.core - INFO - 14 plugin(s) registered with the system:
| Announcement Plugin (bundled) = /home/felix/OctoPrint/venv/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/announcements
| Autoselect Plugin (0.1.0) = /home/felix/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_autoselect
| Core Wizard (bundled) = /home/felix/OctoPrint/venv/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/corewizard
| !CuraEngine (<= 15.04) (bundled) = /home/felix/OctoPrint/venv/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/cura
| Discovery (bundled) = /home/felix/OctoPrint/venv/lib/python2.7/site-packages/OctoPrint-1.3.2-py2.7.egg/octoprint/plugins/discovery
| FileManager (0.1.2) = /home/felix
2017-06-02 07:48:22,957 - octoprint.plugins.softwareupdate - INFO - Starting update of octoprint to 1.3.4...
2017-06-02 07:49:25,061 - octoprint.plugins.softwareupdate - INFO - Update of octoprint to 1.3.4 successful!
2017-06-02 07:49:25,252 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
2017-06-02 07:49:25,254 - octoprint.plugins.softwareupdate - INFO - Restarting...
2017-06-02 07:49:57,489 - octoprint.server - INFO - ******************************************************************************
2017-06-02 07:49:57,490 - octoprint.server - INFO - Starting OctoPrint 1.3.4 (rc/maintenance branch)
2017-06-02 07:49:57,491 - octoprint.server - INFO - ******************************************************************************
2017-06-02 07:49:57,553 - octoprint.plugin.core - INFO - Loading plugins from /home/felix/OctoPrint/venv/lib/python2.7/site-packages/OctoPrint-1.3.4-py2.7.egg/octoprint/plugins, /home/felix/.octoprint/plugins and installed plugin packages...
2017-06-02 07:49:58,930
server {
listen 80;
listen [::]:80;
server_name opalblau.ddd.kunbox.net;
return 301 https://$server_name$request_uri;
}
server {
listen 443;
$ yarn install
yarn install v0.24.6
[1/4] Resolving packages...
[2/4] Fetching packages...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "https://codeload.github.com/ytase/react-router-scroll/tar.gz/991ecddb08885e1fb80ec1e9dbf3a35844b7d4cd: getaddrinfo ENOTFOUND codeload.github.com codeload.github.com:443".
info If you think this is a bug, please open a bug report with the information provided in "/usr/local/www/mastodon/yarn-error.log".
@Kunsi
Kunsi / syslog
Last active September 2, 2017 16:28
Sep 2 16:25:31 ns3078509 pvedaemon[1561]: <root@pam> starting task UPID:ns3078509:0000194B:00033EA0:59AADB7B:vzstart:100:root@pam:
Sep 2 16:25:31 ns3078509 pvedaemon[6475]: starting CT 100: UPID:ns3078509:0000194B:00033EA0:59AADB7B:vzstart:100:root@pam:
Sep 2 16:25:31 ns3078509 systemd[1]: Starting LXC Container: 100...
Sep 2 16:25:31 ns3078509 systemd-udevd[6486]: Could not generate persistent MAC address for vethT2C4UF: No such file or directory
Sep 2 16:25:31 ns3078509 kernel: [ 2126.685455] IPv6: ADDRCONF(NETDEV_UP): veth100i0: link is not ready
Sep 2 16:25:32 ns3078509 pvedaemon[1559]: unable to get PID for CT 100 (not running?)
Sep 2 16:25:37 ns3078509 lxc-start[6477]: lxc-start: tools/lxc_start.c: main: 366 The container failed to start.
Sep 2 16:25:37 ns3078509 lxc-start[6477]: lxc-start: tools/lxc_start.c: main: 368 To get more details, run the container in foreground mode.
Sep 2 16:25:37 ns3078509 lxc-start[6477]: lxc-start: tools/lxc_start.c: main: 370 Additional information can be obtaine