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 | |
CRONTAB='/etc/crontab' | |
CRONDIR='/etc/cron.d' | |
tab=$(echo -en "\t") | |
function clean_cron_lines() { | |
while read line ; do | |
echo "${line}" | |
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
// サンタクロース問題 | |
// http://karetta.jp/article/blog/oneline/030756 | |
package main | |
import ( | |
"fmt" | |
"math/rand" | |
"reflect" | |
"time" | |
) |
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
package main | |
import ( | |
"flag" | |
"fmt" | |
"io/ioutil" | |
"net/smtp" | |
"os" | |
) |