This file contains hidden or 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 | |
#speedtest-cli --json | jq '"speed download=" + (.download|tostring)' | |
#echo 'speed,name=Windsor,country=Australia download=89331796.8956253,upload=28083439.407922104,ping=17.93' | |
speedtest-cli --json | jq -r '"speed,name=" + .server.name + ",country=" + .server.country + " download=" + (.download|tostring) + ",upload=" + (.upload|tostring) + ",ping=" + (.ping|tostring)' |
This file contains hidden or 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
proxy_connect_timeout 59s; | |
proxy_send_timeout 600; | |
proxy_read_timeout 36000s; ## Timeout after 10 hours | |
proxy_buffer_size 64k; | |
proxy_buffers 16 32k; | |
proxy_pass_header Set-Cookie; | |
proxy_hide_header Vary; | |
proxy_busy_buffers_size 64k; | |
proxy_temp_file_write_size 64k; |
This file contains hidden or 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
package Vyatta::DhcpPd; | |
use strict; | |
use warnings; | |
use lib "/opt/vyatta/share/perl5"; | |
use Sys::Syslog qw(:standard :macros); | |
use File::Compare; | |
our @EXPORT = qw(get_base_dir get_radvd_conffile get_radvd_gen |
This file contains hidden or 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
02:23:24| --- Image downloaded: /home/shoko/.shoko/Shoko.CLI/images/AniDB_Char/98/225762.jpg from http://img7.anidb.net/pics/anime/225762.jpg | |
02:23:24| --- Time since last request is 0 ms, throttling for 150. | |
02:23:24| --- Sending AniDB command. | |
02:23:25| --- Image downloaded: /home/shoko/.shoko/Shoko.CLI/images/AniDB_Char/98/225763.jpg from http://img7.anidb.net/pics/anime/225763.jpg | |
02:23:25| --- Time since last request is 0 ms, throttling for 150. | |
02:23:25| --- Sending AniDB command. | |
02:23:26| --- Image downloaded: /home/shoko/.shoko/Shoko.CLI/images/AniDB_Char/98/225764.jpg from http://img7.anidb.net/pics/anime/225764.jpg | |
02:23:26| --- Time since last request is 0 ms, throttling for 150. | |
02:23:26| --- Sending AniDB command. | |
02:23:27| --- Image downloaded: /home/shoko/.shoko/Shoko.CLI/images/AniDB_Char/98/225765.jpg from http://img7.anidb.net/pics/anime/225765.jpg |
This file contains hidden or 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
03:17:39| --- AniDB HTTP - Got anime XML Data From AniDB: 506 - 3227.91 - <?xml version="1.0" encoding="UTF-8"?><anime id="506" restricted="false"> | |
03:17:47| --- AniDB HTTP - Got anime XML Data From AniDB: 13742 - 3580.091 - <?xml version="1.0" encoding="UTF-8"?><anime id="13742" restricted="false"> | |
03:17:55| --- AniDB HTTP - Got anime XML Data From AniDB: 69 - 6414.34 - <?xml version="1.0" encoding="UTF-8"?><anime id="69" restricted="false"> | |
03:18:22| --- AniDB HTTP - Got anime XML Data From AniDB: 14054 - 3581.909 - <?xml version="1.0" encoding="UTF-8"?><anime id="14054" restricted="false"> | |
03:18:28| --- AniDB HTTP - Got anime XML Data From AniDB: 13533 - 3698.552 - <?xml version="1.0" encoding="UTF-8"?><anime id="13533" restricted="false"> | |
03:18:36| --- AniDB HTTP - Got anime XML Data From AniDB: 13911 - 3570.294 - <?xml version="1.0" encoding="UTF-8"?><anime id="13911" restricted="false"> | |
03:18:43| --- AniDB HTTP - Got anime XML Data From AniDB: 13626 - 3577.487 - <?xml version="1.0" encoding="UTF-8"?><an |
This file contains hidden or 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
12:30:53| --- AniDB HTTP - Got anime XML Data From AniDB: 13981 - 3573.444 - <?xml version="1.0" encoding="UTF-8"?><anime id="13981" restricted="false"> | |
<type>Movie</type> | |
<epis | |
12:30:53| --- cmdResult.Anime: AnimeID: 13981 | Main Title: Gekijouban Frame Arms Girl | EpisodeCount: 1 | AirDate: | Picname: 220952.jpg | Type: Movie | relatedAnimeIDs: 12563 | relatedAnimeTypes: 2 | |
12:30:53| --- ------------------------------------------------ | |
12:30:53| --- PopulateAndSaveFromHTTP: for 13981 - Gekijouban Frame Arms Girl @ Depth: 2/3 | |
12:30:53| --- ------------------------------------------------ | |
12:30:53| --- CreateEpisodes in : 0 | |
12:30:53| --- CreateTitles in : 7 | |
12:30:53| --- CreateTags in : 0 |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
Attaching to shokoserver | |
[36mshokoserver |[0m 12:30:53| --- AniDB HTTP - Got anime XML Data From AniDB: 13981 - 3573.444 - <?xml version="1.0" encoding="UTF-8"?><anime id="13981" restricted="false"> | |
[36mshokoserver |[0m <type>Movie</type> | |
[36mshokoserver |[0m <epis | |
[36mshokoserver |[0m 12:30:53| --- cmdResult.Anime: AnimeID: 13981 | Main Title: Gekijouban Frame Arms Girl | EpisodeCount: 1 | AirDate: | Picname: 220952.jpg | Type: Movie | relatedAnimeIDs: 12563 | relatedAnimeTypes: 2 | |
[36mshokoserver |[0m 12:30:53| --- ------------------------------------------------ | |
[36mshokoserver |[0m 12:30:53| --- PopulateAndSaveFromHTTP: for 13981 - Gekijouban Frame Arms Girl @ Depth: 2/3 | |
[36mshokoserver |[0m 12:30:53| --- ------------------------------------------------ | |
[36mshokoserver |[0m 12:30:53| --- CreateEpisodes in : 0 | |
[36mshokoserver |[0m 12:30:53| --- CreateTitles in : 7 |
This file contains hidden or 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
00000 EBML (40 bytes) | |
00000 Header (5 bytes) | |
00000 Name: 172351395 (0xA45DFA3) | |
00004 Size: 35 (0x23) | |
00005 EBMLVersion - 1 (0x1) (4 bytes) | |
00005 Header (3 bytes) | |
00005 Name: 646 (0x0286) | |
00007 Size: 1 (0x01) | |
00008 Data: 1 (0x01) | |
00009 EBMLReadVersion - 1 (0x1) (4 bytes) |
This file contains hidden or 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
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) | |
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) | |
dev on /dev type devtmpfs (rw,nosuid,relatime,size=8190796k,nr_inodes=2047699,mode=755) | |
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755) | |
/dev/sda2 on / type ext4 (rw,relatime,data=ordered) | |
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) | |
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) | |
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) | |
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755) | |
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime) |
This file contains hidden or 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
ffmpeg -i $1 -vn -acodec libvorbis -ab 128k -dash 1 $2/audio.webm | |
ffmpeg -i $1 -c:v libvpx-vp9 -keyint_min 150 \ | |
-g 150 -tile-columns 4 -frame-parallel 1 -f webm -dash 1 \ | |
-an -vf scale=160:190 -b:v 250k -dash 1 $2/video_160x90_250k.webm \ | |
-an -vf scale=320:180 -b:v 500k -dash 1 $2/video_320x180_500k.webm \ | |
-an -vf scale=640:360 -b:v 750k -dash 1 $2/video_640x360_750k.webm \ | |
-an -vf scale=640:360 -b:v 1000k -dash 1 $2/video_640x360_1000k.webm \ | |
-an -vf scale=1280:720 -b:v 1500k -dash 1 $2/video_1280x720_1500k.webm \ | |
-an -vf scale=1920:1080 -b:v 5300k -dash 1 $2/video_1920x1080_5300k.webm |