This script is the sort wrapper for saving original order of lines which have the same key values.
sort.sh [OPTIONS ...] [FILES ...]
Options:
See help or manpage of sort commnand.
| .PHONY: all clean | |
| TARGETS=maginfo | |
| LIBS=`cygpath -S`/Magnification.dll | |
| all: $(TARGETS) | |
| maginfo: maginfo.cpp | |
| $(CXX) -o $@ $< $(LIBS) |
| /** | |
| * Get route of current page. | |
| * \return Hash object which has keys (module, controller and any optionals) and values. | |
| * module is like "course", "assign", "data", etc... | |
| * controller is like "view", "modedit", "edit", etc... | |
| * optionals are like "add", "course", "section", "mode", etc... | |
| */ | |
| function getroute() { | |
| let route = {}; | |
| if (location.href.match(/\/([^/]+)\/([^/]+)\.php(\?(.*))/)) { |
| /** | |
| * LookupAccountName | |
| * Copyright (c) 2018 Koichi OKADA. All rights reserved. | |
| * This source code is distributed under the MIT license. | |
| */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <windows.h> | |
| #include <winbase.h> | |
| #include <sddl.h> |
photoviewer.dll.VPCZ21AJ.reg is exported from Windows 10 Pro on SONY VAIO Z VPCZ21AJ that upgraded from Windows 7 Professional.
photoviewer.dll.win10pro.reg is exported from clean installed Windows 10 Pro.
Result of diff command is below:
$ diff -ca photoviewer.dll.win10pro.reg photoviewer.dll.VPCZ21AJ.reg
*** photoviewer.dll.win10pro.reg 2018-08-09 20:33:12.735871000 +0900
| #!/bin/sh | |
| exec ruby -x "$0" "$@" | |
| #!ruby | |
| # coding: utf-8 | |
| require "optparse" | |
| require "logger" | |
| require "hpricot" | |
| $conf = { |
| #!/usr/bin/env bash | |
| # | |
| # zs.sh - ZipS: Choose the best compression | |
| # Copyright (c) 2018 Koichi OKADA. All rights reserved. | |
| # This script is distributed under the MIT license. | |
| # | |
| (( 5 <= DEBUG )) && set -x | |
| function usage () |
| /** | |
| * Fireworks for Processing | |
| * Copyright (c) 2018 Koichi OKADA. All rights reserved; | |
| * This code is distributed under the MIT license. | |
| */ | |
| int MaxLife = 255; | |
| int N = 500; | |
| class Fire { |