end0tknr's kipple - web写経開発

太宰府天満宮の狛犬って、妙にカワイイ

2021-11-01から1ヶ月間の記事一覧

pythonのsubprocessで、リモートサーバにある同一dirとの差分比較(diff)

pythonで、urlの死活監視を行い、NGであれば、sendmail を外部コマンドで通知 - end0tknr's kipple - web写経開発 上記urlと同様かもしれませんが、 localとremoteにあるdirを比較し、ファイル有無やsize差異がある場合、 表示します。 #!/usr/bin/python2 #…

bash v.4では、連想配列(hashmap)を扱えるらしい。ただし、1次元のみ

シェルスクリプトに挑戦しよう(18)連想配列:“応用力”をつけるためのLinux再入門(38) - @IT 久しぶりに、bashを使用した際に、hashmapが利用できることに驚いた。 ただし 1次元のみ (hashmap内にlistやhashmapを格納できない) key sortできない 等、他…

html gridlayout の手習い from dotinstall

https://end0tknr.github.io/sandbox/gridlayout/grid_1.html https://end0tknr.github.io/sandbox/gridlayout/grid_2.html https://end0tknr.github.io/sandbox/gridlayout/grid_3.html https://end0tknr.github.io/sandbox/gridlayout/grid_4.html https:/…

svg の手習い from dotinstall

from dotinstall https://end0tknr.github.io/sandbox/svg/svg_1.html 手習い - line <svg xmlns="http://www.w3.org/2000/svg" width="128" height="16"> <line x1="2" y1="12" x2="126" y2="12" stroke="#20285A" stroke-width="4" stroke-linecap="round"/> </line></svg>

svg で、文字テキストをアニメーションしながら、表示

<svg width="60" height="60"> <defs> <style> @keyframes text-move { 0% { stroke-dashoffset: 300; /* SVG pathが始まる場所 */ stroke: #ff4500; fill: none; } 100% { stroke-dashoffset: 0; /* SVG pathが始まる場所 */ stroke: #FBBC05; fill: #FBBC05; } } .logo_text { font-size: 42px; font</defs></svg>…

jqueryやbootstrap非依存な responsive & tab menu & carousel html

responsive html の template - end0tknr's kipple - web写経開発 上記entryの改訂版で、githubにも commitしています。 https://end0tknr.github.io/sandbox/responsive/ 目次 html css javascript html <html lang="ja"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> </meta></meta></head></html>

パッチマネジメント サイクル

セキュリティ的には、とっても大事 www.intellilink.co.jp

WEBサーバやアプリケーションのセキュリティに有用なチェックリスト、ガイドライン、診断ツール

以下のような位置づけだと思います。 診断ツール チェックリスト、ガイドライン

postgres (psql)にて、タブ区切り出力 【--field-separator=$'\t'】

ポイントは、psqlへ与える以下の引数です。中でも【$'\t'】 引数 意味 --tuples-only ヘッダ非表示 --no-align 位置揃えなし --field-separator=$'\t' tab区切り出力 #!/bin/bash tbls=( "prj02_table0001" "prj02_table0002" "prj02_table0003" "prj02_tabl…

install OpenSCAP to centos 7 from source

概要 参考url install pre-requisites cmake 3系 rpm packages install OpenSCAP ver.1.3.5 download xccdf and oval scan by OpenSCAP xccdf - com.redhat.rhsa-all.xccdf.xml oval - com.redhat.rhsa-all.xml 結果 xccdf - com.redhat.rhsa-all.xccdf.xml …

Cache-Control: no-storeと autocomplete="off" で、ブラウザ キャッシュをoffる

当初、キャッシュされないようにするには? - とほほのWWW入門 を参考に print "Content-type:text/html\n"; print "Pragma: no-cache\n"; print "Cache-Control: no-cache\n"; print "\n"; のような httpd header出力としましたが、 上手く動作しない。 ど…

Material Icons Guide - Google Design

https://google.github.io/material-design-icons/ から <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> を取得し、 https://fonts.google.com/icons?selected=Material+Icons から <span class="material-icons">menu</span> を検索 & 取得</link>

数理最適化や、制約プログラミングの参考url

久保 幹雄さん Python言語による実務で使える100+の最適化問題 | opt100 アナリティクス(データサイエンス)練習問題集 | analytics 組合せ最適化とアルゴリズム(最大安定集合問題・オイラー閉路・最小木問題) - YouTube Python言語による実務で役に立つ1…

Wolfram Alpha - 数式計算ツール

www.wolframalpha.com

cisベンチマーク

サーバOSや、Apache、Tomcat 等のミドルウェアのみかと思っていたら、 zoomが増えてて、驚いた。 www.cisecurity.org

connect as400 via python

iSeries Access付属のodbcでexcel, accessdb2の連携 - end0tknr's kipple - web写経開発 System i Access for linux でas400のdbに連携 - end0tknr's kipple - web写経開発 ibmのas400のdbの実体は、db2ですので、 上記entryのようにodbcを使用し、linuxから…

2021年版 mod_perl2を使ってシングルサインオン認証を書いてみた

mod_perl2を使ってシングルサインオン認証を書いてみた - end0tknr's kipple - web写経開発 上記entryの 2021年版です。 前回は、ブラウザでのアクセスを想定し、ログイン画面を持っていましたが、 今回は、スマホアプリ等からのREST APIアクセスを想定し、…

java FasterXML jackson-databind における デシリアライゼーション 対応

java FasterXML jackson-databind においてデシリアライゼーションに伴う脆弱性が、 CVEで報告され、試しに関連資料を読んでみました。 1. java FasterXML jackson-databind とは 2. デシリアライゼーションに伴う脆弱性とは? 3. java FasterXML jackson-dat…

linux の find で、正規表現やら、and / or / not 検索やら

こう $ find ~/tmp -type f ! -regex '.*.\(log\|bak\|~\)$' -and ! -regex '.*\.bak/.*'