Skip to content

Instantly share code, notes, and snippets.

View KMR-zoar's full-sized avatar

Zoar KMR-zoar

  • Kawagoe, Japan
View GitHub Profile
インストールの開始中...
ERROR 内部エラー: モニターに接続中にプロセスが終了しました: Could not access KVM kernel module: Permission denied
failed to initialize KVM: Permission denied
#!/usr/bin/env ruby
# encofing: utf-8
# This software is released under the MIT License
# see http://opensource.org/licenses/mit-license.php
# Copyright (c) 2015 Zoar
require 'json'
require 'kconv'
filename = ARGV[0]
//自己位置にマーカーを表示する
//マーカー用アイコンのセット
var myIcon = L.icon({
iconUrl: 'img/here.png',
iconSize: [32, 32],
});
//マーカーのセット
var myMarker;
//main.cssの最後に追記する
/* 中心の十字腺 */
#cross {
left: 50%;
top: 50%;
right: 50%;
bottom: 50%;
position: fixed;
}
//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>';
Module Module1
Sub Main()
Console.Write(keys.ConKey + keys.ConSec + keys.AcToken + keys.AcSec)
End Sub
Private Function keys() As keyset
$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)
$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
#
# 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
#!/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"]