$ sudo apt-get install smartmontools
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
[Unit] | |
Description=__Service_Description__ | |
After=syslog.target | |
After=network.target | |
[Service] | |
Type=simple | |
User=__Run_User__ | |
Group=__Run_Group__ | |
WorkingDirectory=__Directory_Path__ |
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
/* | |
Send a message on Transmission(torrent) completion: | |
https://trac.transmissionbt.com/wiki/Scripts | |
* Created on : 2015.07.07. | |
* Last update: 2015.07.16. | |
* by [email protected] |
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
#!/usr/bin/env ruby | |
# frozen_string_literal: true | |
# 2gif.rb | |
# | |
# https://gist.github.com/meinside/62c442900e6d73d5d3d9 | |
# | |
# Convert video to gif. | |
# * referenced: http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html | |
# |
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
#!/usr/bin/env ruby | |
# coding: UTF-8 | |
# 2webm.rb | |
# | |
# convert given video file to .webm format | |
# | |
# (ffmpeg should be installed with libvpx and libvorbis. | |
# | |
# ex: $ brew install ffmpeg --with-libvpx --with-libvorbis) |
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
#!/usr/bin/env ruby | |
# coding: UTF-8 | |
# inline_image.rb | |
# | |
# generates in-line image tag | |
# (referenced: http://en.wikipedia.org/wiki/Data_URI_scheme) | |
# | |
# created on : 2013.06.30 | |
# last update: 2013.06.30 |
NewerOlder