$ 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
#!/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 |
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 | |
# 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
/* | |
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
[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
#!/bin/sh | |
# | |
# script for waking up on lan | |
# XXX - mac address to wake up | |
MAC_ADDR="01:23:45:67:AB:CD" | |
WOL="/usr/bin/wakeonlan" # apt-get install wakeonlan | |
$WOL "$MAC_ADDR" |
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 bash | |
# | |
# script for checking local mail | |
# | |
# | |
# * for running every one hour: | |
# | |
# $ crontab -e | |
# | |
# # m h dom mon dow command |
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 | |
# | |
# transmission-complete-broadcast.sh | |
# | |
# last update: 2019.08.29. | |
# | |
# for broadcasting transmission download complete message | |
# through telegram-bot-remotecontrol | |
# (github.com/meinside/telegram-bot-remotecontrol) | |
# |
간단한 사보타주 실전 매뉴얼
OlderNewer