This file contains 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
#!/usr/bin/awk -f | |
###################################################################### | |
# | |
# linelim.awk : Rate Limitter for Line Oriented Data | |
# | |
# If many lines come over the rate limit specified by this command's | |
# arguments, the latter lines will be disposed of, and the situation | |
# will continue until the current speed falls below the limit. | |
# |
This file contains 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
/*#################################################################### | |
# | |
# CESU8toUTF8.c - Simple Textdata Converter from CESU-8 to UTF-8 | |
# | |
# Usage : cat your_textfile.txt | ./CESU8toUTF8 > converted_text.txt | |
# | |
# How to compile me : cc -O3 -o CESU8toUTF8 CESU8toUTF8.c | |
# | |
# | |
# Written by Colonel Richie (@colrichie) on 2023-11-21 |
This file contains 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 | |
: > results.txt | |
seq -f '%.0f' 1 178956971 | awk 'BEGIN{n=0;a=0;}; /3/{a++;next;}; $1%3==0{a++;next;}; {n++;}; END{print "01",a,n;}' >> results.txt & | |
seq -f '%.0f' 178956972 357913943 | awk 'BEGIN{n=0;a=0;}; /3/{a++;next;}; $1%3==0{a++;next;}; {n++;}; END{print "02",a,n;}' >> results.txt & | |
seq -f '%.0f' 357913944 536870916 | awk 'BEGIN{n=0;a=0;}; /3/{a++;next;}; $1%3==0{a++;next;}; {n++;}; END{print "03",a,n;}' >> results.txt & | |
seq -f '%.0f' 536870917 715827890 | awk 'BEGIN{n=0;a=0;}; /3/{a++;next;}; $1%3==0{a++;next;}; {n++;}; END{print "04",a,n;}' >> results.txt & | |
seq -f '%.0f' 715827891 894784865 | awk 'BEGIN{n=0;a=0;}; /3/{a++;next;}; $1%3==0{a++;next;}; {n++;}; END{print "05",a,n;}' >> results.txt & | |
seq -f '%.0f' 894784866 1073741841 | awk 'BEGIN{n=0;a=0;}; /3/{a++;next;}; $1%3==0{a++;next;}; {n++;}; END{print "06",a,n;}' >> results.txt & | |
seq -f '%.0f' 1073741842 1252698818 | awk 'BEGIN{n=0;a=0;}; /3/{a++;next;}; $1%3==0{a++;next;}; {n++;}; END{print "07",a,n;}' >> res |
This file contains 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> | |
<head> | |
<!-- Written by colrichie (@col_richie) on 2023-03-03 | |
The original source code is on the following page. | |
https://hikoleaf.hatenablog.jp/entry/2019/05/18/165038 --> | |
<title>MQTT.js Test</title> | |
<script src="https://unpkg.com/mqtt/dist/mqtt.min.js"></script> | |
</head> | |
<body> |
This file contains 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 | |
###################################################################### | |
# | |
# DESKTOPLINKER.SH: Make a Symbolic Link to the Desktop for the WSL | |
# | |
# Written by [email protected] on 2022-08-08 | |
# | |
###################################################################### |
This file contains 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 | |
###################################################################### | |
# | |
# ADDPATH.SH: Indicator of How to Add New Paths Into the Proper Run-Script | |
# | |
# Written by [email protected] on 2022-08-09 | |
# | |
###################################################################### |
This file contains 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 | |
###################################################################### | |
# | |
# MKCGIPOST - HTTP POST String Generator | |
# | |
# USAGE: mkcgipost <file> | |
# | |
# * <file> format : | |
# <variable_name#1> <value#1> |
This file contains 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 | |
####################################################################### | |
# | |
# 日の出・日の入時刻検索コマンド GETSUNRISE.SH | |
# | |
# [概要] | |
# ・第1引数に郵便番号(必須,7桁)、第2引数に日付(任意,8桁)を与えると | |
# WebAPIを叩きに行って、その地域、その日の日の出&日の入り時刻を返すよ。 | |
# |
This file contains 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 | |
###################################################################### | |
# | |
# SESSIONF - Session File Manager (useful for CGI scripts) | |
# | |
# USAGE: sessionf <subcommand> [argument] ... | |
# | |
# * List of Subcommands: | |
# create ..... $0 create at=<template_path> |
NewerOlder