Skip to content

Instantly share code, notes, and snippets.

View KMR-zoar's full-sized avatar

Zoar KMR-zoar

  • Kawagoe, Japan
View GitHub Profile
[out:xml][timeout:25];
(
way
["building"!~".*"]
["highway"!~".*"]
["parking"!~".*"]
["landuse"!~".*"]
["amenity"!~".*"]
["waterway"!~".*"]
["railway"!~".*"]
$filename = $ARGS[0]
$elements = @("id", "lat", "lon", "created_at", "closed_at")
if ((Test-Path $filename) -eq $false)
{
Write-Host "File is not exist or access denied."
exit
}
Write-Output ("{")
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
// Place your settings in this file to overwrite the default settings
{
"editor.fontFamily": "源ノ角ゴシック Code JP",
"editor.tabSize": 3,
"editor.insertSpaces": true ,
"markdown.styles": [
"file://C:/Users/kmr/Dropbox/misc/vscode/github.css"
],
"editor.wrappingColumn": 300
}
#!/usr/bin/env ruby
require 'yaml'
require 'twitter'
require 'tweetstream'
keys = YAML.load_file('../config.yml')
post = Twitter::REST::Client.new do |config|
config.consumer_key = keys["api_key"]
config.consumer_secret = keys["api_secret"]
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.2.2-gentoo Kernel Configuration
#
#
# Gentoo Linux
#
CONFIG_GENTOO_LINUX=y
CONFIG_GENTOO_LINUX_UDEV=y
$client = New-Object System.Net.WebClient
$url = "https://github.com/KMR-zoar/PowerShellPost/archive/master.zip"
Write-Host "Downloading PowerShellPost from Github."
$file = "$($env:TEMP)\PsPost.zip"
$client.DownloadFile($url,$file)
Write-Host "File saved to $file."
$ModulePath = "$($env:USERPROFILE)\Documents\WindowsPowerShell\Modules"
New-Item -Type Directory -Force -Path $ModulePath | Out-Null
$dllpath = "B:\tmp\itextsharp.dll"
$inpdf = "B:\tmp\input.pdf"
$outpdf = "B:\tmp\output.pdf"
[void][System.Reflection.Assembly]::LoadFrom($dllpath)
$iText="iTextSharp.text"
$reader = New-Object "$iText.pdf.PdfReader"($inpdf)
$B4 = New-Object iTextSharp.text.Rectangle(1031.91, 728.595)
Module Module1
Sub Main()
Console.Write(keys.ConKey + keys.ConSec + keys.AcToken + keys.AcSec)
End Sub
Private Function keys() As keyset
//main.js の最後に追記する
//中心十字線表示
var crossline = L.control({
position: 'bottomleft'
});
crossline.onAdd = function (map) {
var div = L.DomUtil.create('div', 'crossline');
div.innerHTML = '<div id="cross"><img src="./img/center.png" alt="中心線" /></div>';