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
[google] | |
username = **** | |
password = **** | |
spreadsheet_key = *****(スプレッドシートID) |
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 python | |
import nxt.locator | |
from nxt.motor import * | |
from nxt.sensor import * | |
import time | |
FORTH = 100 | |
BACK = -100 |
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
# .bash_profile | |
# Get the aliases and functions | |
if [ -f ~/.bashrc ]; then | |
. ~/.bashrc | |
fi | |
# User specific environment and startup programs | |
PATH=$PATH:$HOME/bin:/usr/lib/ruby/gems/1.8 |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\Directory\shell\powershell_here] | |
@="Open PowerShell Here" | |
[HKEY_CLASSES_ROOT\Directory\shell\powershell_here\command] | |
@="C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe -NoExit -Command Set-Location -LiteralPath '%L'" | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\powershell_here] | |
@="Open PowerShell Here" |
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 |
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
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
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
Sub ReplaceGraphFormula() | |
' | |
' グラフ参照先一括変換 | |
' | |
Dim hoge As String | |
Dim gnum, str1, str2 As String | |
str1 = "L10" 'ターゲットの文字列 | |
str2 = "L5" '置換後の文字列 |
OlderNewer