最新版は GitHub に移動しました。
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
# Get-Checksum.ps1: File Checksum Integrity Verifier | |
Param( | |
[string] $filename, | |
[string] $algorithm = ( 'sha1' ), | |
[switch] $help | |
) | |
Function Calc-Hash | |
{ |
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
description "set terminal noblank" | |
author "Mitsuki Shirase" | |
start on stopped rc RUNLEVEL=[2345] | |
script | |
for TERMINAL in /dev/tty[1-6] ; do | |
/usr/bin/setterm -blank 0 -powersave off > ${TERMINAL} < ${TERMINAL} | |
done |
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
# control-alt-delete.override | |
start on control-alt-delete | |
exec /usr/bin/logger -t init "Control-Alt-Delete pressed." |
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 | |
#----------------------------------------------------------------------------# | |
# setup-el6minimal.sh | |
#----------------------------------------------------------------------------# | |
# Defined Install Packages | |
VMWARE_BUILD="gcc kernel-headers kernel-devel perl-core " | |
NETWORK="bind-utils telnet openssh-clients ntp traceroute lsof wget curl " | |
OTHERS="man man-pages-ja parted tmpwatch screen sysstat " |
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
#----------------------------------------------------------------------------# | |
# Usage: source clear-history | |
#----------------------------------------------------------------------------# | |
export HISTSIZE=0 | |
export HISTFILESIZE=0 | |
rm -f ./clear-history |
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 | |
#-----------------------------------------------------------------------------# | |
# raspi-minimalizer.sh (2015-05-28) | for Raspbian 2015-05-05 | |
#-----------------------------------------------------------------------------# | |
# Basescript: Akkiesoft / minimal-raspbian2.sh | |
# https://gist.github.com/Akkiesoft/9873563 | |
# | |
# Modified by Mitsuki Shirase@Lunatilia | |
# | |
# Usage: |
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 | |
#-----------------------------------------------------------------------------# | |
# raspi-initializer.sh (2015-05-28) | for Raspbian 2015-05-05 | |
#-----------------------------------------------------------------------------# | |
# Basescript: Akkiesoft / minimal-raspbian2.sh | |
# https://gist.github.com/Akkiesoft/9873563 | |
# lunatilia / raspi-minimalizer.sh | |
# https://gist.github.com/lunatilia/9252ef73c5dd43c9f837 | |
# | |
# Modified by Mitsuki Shirase@Lunatilia |
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 | |
USSID="<自環境のSSIDを入力>" | |
IF_FILE="/etc/network/interfaces" | |
PARAM_GATEWAY=`grep -i gateway ${IF_FILE} | cut -f2 -d' '` | |
PARAM_ADDR=`grep -i address ${IF_FILE} | cut -f2 -d' '` | |
ping -c 4 ${PARAM_GATEWAY} > /dev/null 2>&1 | |
flag=$? |
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 | |
#----- chenge parameters your environment -----# | |
# examples: | |
# Your PC's IP address: 192.168.0.100 | |
# Search scope: 192.168.0.1 - 192.168.0.254 | |
# | |
# OWN_NETWORK="192.168.0" | |
# SRCH_START=1 | |
# SRCH_END=254 |
OlderNewer