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
set myfrom to "****@example.com" -- 自分のメールアドレス | |
set hatenato to "****@d.hatena.ne.jp" -- 送信先メールアドレス | |
tell application "MarsEdit" | |
tell document 1 | |
set tit to get title | |
set cont to get body | |
set cont to cont & (get extended entry) | |
end tell | |
end tell |
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
#include <Ethernet.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
byte mac[] = { 0x00, 0x50, 0xC2, 0x97, 0x21, 0xBD }; | |
byte ip[] = { 192, 168, 0, 112 }; | |
byte gateway[] = { 192, 168, 0, 1 }; | |
byte subnet[] = { 255, 255, 255, 0 }; | |
byte server[] = { 192, 168, 0, 111 }; |
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
{ | |
"name": "Chrome Keyconfig", | |
"version": "1.11.0", | |
"normal_actions": { | |
"j": { | |
"name": "scroll down", | |
"args": [] | |
}, | |
"k": { | |
"name": "scroll up", |
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 ReplaceGraphFormula() | |
' | |
' グラフ参照先一括変換 | |
' | |
Dim hoge As String | |
Dim gnum, str1, str2 As String | |
str1 = "L10" 'ターゲットの文字列 | |
str2 = "L5" '置換後の文字列 |
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
Dim b_bool | |
Dim oMsg | |
Dim filename | |
Dim strNum | |
Dim message | |
strComputer = "." | |
filename = "status.txt" | |
Set objFSO = CreateObject("Scripting.FileSystemObject") |
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
net time \\***.***.***.*** /set /yes |
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
.autopagerize_page_separator_blocks .autopagerize_link:before{ | |
content:"page: " attr(number); | |
} | |
.autopagerize_page_separator_blocks .autopagerize_link:hover:before{ | |
content:""; | |
} | |
.autopagerize_page_separator_blocks .autopagerize_link:hover:after{ | |
content:attr(href); | |
} | |
.autopagerize_page_separator{ |
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
#! ruby -Ks | |
require 'win32ole' | |
xl = WIN32OLE.new('Excel.Application') | |
xl.DisplayAlerts = false | |
xl.Visible = true | |
# フォルダ名を指定 | |
foldername = "buf" |
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
#! ruby -Ks | |
require "exlap" | |
filename2 = "template.xls" | |
path = "./hoge" | |
a_path = Dir.entries(path) | |
xl = Exlap.new |
NewerOlder