This file contains hidden or 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
@echo off | |
echo ドラッグ&ドロップされたファイルの絶対パスは、 | |
echo %~xn1 | |
echo です。 | |
"C:\Program Files (x86)\GPSBabel\gpsbabel.exe" -t -i gpx -f %~xn1 -x nuketypes,waypoints,routes -o nmea -F %~xn1.nmea | |
nmeasonyconv.exe %~xn1.nmea |
This file contains hidden or 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
from github import Github | |
import pandas as pd | |
# or using an access token | |
g = Github("") | |
for _repo in g.get_organization('your-org').get_repos(type='private'): | |
if _repo.name == 'your-repo': | |
repo = _repo | |
break |
This file contains hidden or 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
from bs4 import BeautifulSoup | |
import urllib.request as req | |
import pandas as pd | |
import time | |
import re | |
shoplist = [] | |
url = 'http://jdebit.jp/pc/shoplist/search?name=&address=&area_id[]&page=' | |
maxpage = 1114 |
This file contains hidden or 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
function insertLastUpdated() { | |
var sheet = SpreadsheetApp.getActiveSheet(); | |
var currentCol = sheet.getActiveCell().getColumn(); | |
if(currentCol > 2 && currentCol < 7){ | |
sheet.getRange(19, currentCol).setValue(Utilities.formatDate(new Date(), 'JST', 'MM/dd HH:mm')); | |
} | |
} |
This file contains hidden or 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 ( | |
"bufio" | |
"fmt" | |
"os" | |
) | |
func main() { | |
SONYHEAD := "@Sonygps/ver1.0/wgs-84" |
This file contains hidden or 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 | |
# set AccessPoint uniqe name for switch profile. | |
apname=SWing | |
if [ "`networksetup -getairportnetwork en0 | awk '{print $4}'`" = "$apname" ]; then | |
scselect Intra | |
osascript -e 'display notification "Intra" with title "NetProf"' | |
else | |
scselect Automatic |