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
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>地理院タイル目録タイル</title> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css"/> | |
<script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js"></script> | |
<link rel="stylesheet" href="style.css" /> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
require 'net/http' | |
require 'uri' | |
require 'json' | |
text = "Hello Slack!" | |
data = { "text" => text } | |
webhook_uri = "%Slack WebHooks URI%" | |
parsed_uri = URI.parse(webhook_uri) | |
res = Net::HTTP.post_form( |
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 Push-Notification () { | |
$webhookuri = "" | |
$username = "" | |
$datetime = Get-Date -Format "yyyy/MM/dd-HH:mm:ss" | |
$text = @{ text = "$username $env:USERDOMAIN has task completed. $datetime"; link_names= 1} | |
$payload = ConvertTo-Json -InputObject $text | |
Invoke-RestMethod -Uri $webhookuri -Method Post -Body $payload > $null | |
} |
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
$filename = $ARGS | |
$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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Add-Type -AssemblyName System.Windows.Forms | |
Start-Sleep -s 3 | |
#2バイト文字もOKっぽい | |
[System.Windows.Forms.SendKeys]::SendWait("あか") | |
$include=[System.Windows.Forms.SendKeys] | |
$include::SendWait("OK") |
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
--- bme280_sample.py 2016-07-12 13:28:25.468817326 +0900 | |
+++ bme280.py 2016-07-12 13:44:07.662705914 +0900 | |
@@ -1,3 +1,4 @@ | |
+#!/usr/bin/env python | |
#coding: utf-8 | |
import smbus | |
@@ -20,7 +21,7 @@ | |
def get_calib_param(): |
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/sh | |
### BEGIN INIT INFO | |
# Provides: vpnup | |
# Required-Start: $all | |
# Required-Stop: $network $local_fs $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: SoftEther VPN Client | |
# chkconfig: 2345 99 1 | |
# description: SoftEther VPN Client |