I hereby claim:
- I am aiwas on github.
- I am aiwas (https://keybase.io/aiwas) on keybase.
- I have a public key ASDodDuthaHUcK_01MO0Kvf8nYQpWgnPCIpwYZOhSkPLWwo
To claim this, I am signing this object:
| # 参考: https://news.mynavi.jp/article/win10tips-171/ | |
| $appList = @( | |
| "Microsoft.BingNews", # ニュース | |
| "Microsoft.BingFinance", # マネー | |
| "Microsoft.BingSports", # スポーツ | |
| #"Microsoft.BingWeather", # 天気 | |
| "Microsoft.ConnectivityStore", # Wi-Fi | |
| "Microsoft.Getstarted", # Get Started | |
| "Microsoft.GetHelp", # 問い合わせ |
I hereby claim:
To claim this, I am signing this object:
| (define (script-fu-CardCut img layer) | |
| (gimp-image-rotate img 2) | |
| (gimp-image-resize img 1080 1520 0 -201) | |
| (gimp-layer-resize-to-image-size layer) | |
| (gimp-displays-flush) | |
| ) ;end of define | |
| (script-fu-register |
| <?php | |
| $user = $_GET['user']; | |
| $url = "http://s3.amazonaws.com/MinecraftSkins/{$user}.png"; | |
| $skin = imagecreatefrompng($url); | |
| $face = imagecreatetruecolor(8, 8); | |
| imagecopy($face, $skin, 0, 0, 8, 8, 8, 8); | |
| header('Content-Type: image/png'); |
| <?php | |
| $user = "$_GET['user']"; | |
| $url = "http://s3.amazonaws.com/MinecraftSkins/{$user}.png"; | |
| $src = imagecreatefrompng(file_get_contents($url)); | |
| $face = imagecrop($src, ['x' => 8, 'y' => 8, 'width' => 8, 'height' => 8]); | |
| header('Content-Type: image/png'); | |
| imagepng($face); |
| #!/bin/bash | |
| #Sync hardware clock to NTP | |
| apt-get install -y ntpdate | |
| ntpdate ntp.nict.jp | |
| hwclock --systohc | |
| d=$(date +"%Y/%m/%d (%a) %H:%M") ; echo -e "\e[1;36m\e[40m Date : ${d} \e[0m" | |
| c=$(hwclock) ; echo -e "\e[1;32m\e[40m Clock : ${c} \e[0m" | |
| <?php | |
| #xxxx-yy-zz形式の文字列から残り日数を求める | |
| function getrest_prs($str) { | |
| date_default_timezone_set('Asia/Tokyo'); | |
| $a = date_parse($str); | |
| $year = $a['year']; $month = $a['month']; $day = $a['day']; | |
| $t1 = mktime(0,0,0,$month,$day,$year); |