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
my %table = ( | |
'1' =>'.@-_/:~1' | |
,'2' =>'abcABC2' | |
,'3' =>'defDEF3' | |
,'4' =>'ghiGHI4' | |
,'5' =>'jklJKL5' | |
,'6' =>'mnoMNO6' | |
,'7' =>'pqrsPQRS7' | |
,'8' =>'tuvTUV8' | |
,'9' =>'wxyzWXYZ9' |
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
/*.suo | |
/bin | |
/obj |
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
sub setDBConfigure(){ | |
$DBHost = "192.168.1.1"; | |
$DBName = "httpd"; | |
$DBEngine = "mysql"; | |
$DBUser = "httpdlog"; | |
$DBPass = "password"; | |
} | |
1; |
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
using System.IO; | |
using System.Text; | |
using System.Xml; | |
using System.Xml.Serialization; | |
namespace Siri | |
{ | |
static class Serializer | |
{ | |
static public Encoding DefaultEncoding |
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
| |
Microsoft Visual Studio Solution File, Format Version 11.00 | |
# Visual C# Express 2010 | |
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TabStopDemo", "TabStopDemo\TabStopDemo.csproj", "{0CE7108A-66A8-4806-892C-6F4F408AE12A}" | |
EndProject | |
Global | |
GlobalSection(SolutionConfigurationPlatforms) = preSolution | |
Debug|x86 = Debug|x86 | |
Release|x86 = Release|x86 | |
EndGlobalSection |
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 | |
# | |
# zfs snapshot auto-rotation | |
# | |
# usage: zfs_snapshot.sh <mountpoint> <snapshot name> <number of keeping snapshots> [recursive] | |
# | |
# recursive option: Recursively create snapshot (zfs snapshot -r) | |
# | |
# for crontab | |
# |
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
MOUNTPOINT=`sudo zfs get -o value mountpoint storage/share | tail -1` | |
SNAPPOINT=.zfs/snapshot/0weeks_later | |
SNAPDATE=`sudo zfs get -o value creation storage/share@0weeks_later | tail -1` | |
DEFAULT_TZ=`date +%Z` | |
CALCGMT=`date -d "$SNAPDATE $DEFAULT_TZ" -u "+%Y.%m.%d-%H.%M.%S"` | |
NAMEDATE=@GMT+$CALCGMT | |
echo $SNAPDATE | |
echo $NAMEDATE |
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
ja: | |
mail_reminder_all_day1: "日" | |
mail_reminder_all_day2: "日" | |
mail_reminder_all_day5: "日" | |
mail_subject_reminder_all1: "%{count} チケットは %{days} %{day}後が期日です" | |
mail_body_reminder_auth1: "あなたの作成した %{count} チケットは %{days} %{day}後が期日です:" | |
mail_body_reminder_assigned1: "あなたが担当している %{count} チケットは %{days} %{day}後が期日です:" | |
mail_body_reminder_watched1: "あなたがウォッチしている %{count} チケットは %{days} %{day}後が期日です:" | |
mail_body_reminder_custom_user1: "あなたが関係している%{count} チケットは %{days} %{day}後が期日です:" | |
mail_subject_reminder_all2: "%{count} チケットは %{days} %{day}後が期日です" |
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
typedef struct _SListBuffer { | |
struct _SRingBuffer * next; | |
void * pData; | |
size_t DataSize; | |
long int Status; | |
}SListBuffer; | |
typedef struct _SRingBuffer { | |
SListBuffer * ListHead; | |
SListBuffer * ListBottom; |
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
/obj | |
/bin | |
*.suo | |
*.user |
OlderNewer