Skip to content

Instantly share code, notes, and snippets.

View naturallucky's full-sized avatar

naturallucky naturallucky

View GitHub Profile
#http://edutainment-fun.com/hidemaru/microsoft/%E3%83%87%E3%82%A3%E3%83%AC%E3%82%AF%E3%83%88%E3%83%AA%E3%81%94%E3%81%A8%E3%81%AE%E8%A1%8C%E6%95%B0%E3%82%92%E3%82%AB%E3%82%A6%E3%83%B3%E3%83%88%E3%81%99%E3%82%8B%E3%80%90powershell%E3%80%91_3563.html
Function Get-TotalFileNumOfEachDir() {
if ($args.Length -ne 2) {
$Host.UI.WriteErrorLine("Usage: Get-TotalFileNumOfEachDir <path> <filter:*.cs>")
return
}
$pathto = $args[0]
$filters = $args[1].Split(",")
if (!(Test-Path -PathType Container $pathto)) {
@naturallucky
naturallucky / WordPress Popular Posts view customize
Last active April 8, 2019 07:03
WordPress Popular Posts all view custom
animation: 5s linear 2s infinite normal forward myanime-type;
animation: 9s ease-out 0s 1 normal forward myanime-type;
animation: 5s ease-in-out 2s infinite alternate both myanime-type;
/* aliternate: animation direction , both: animation fill type*/
@keyframes myanime-type { 0% { left: 20pt; } 100% { left: 100pt; } }
@keyframes myanime-type {
0% { left: 20pt; }
50% { left: 20pt; }
<style type="text/css"><!--
.lap{
visibility: collapse;
}
--></style>
CSSで木目調背景と畳調背景 - Qiita
https://qiita.com/nakyos/items/c71dbd723b1df3492b9a
.dark-wood {
background:
repeating-radial-gradient(
circle at -1000% 0%,
rgba(116, 77, 48, 0.7),
#573216 7.5%,
rgba(116, 77, 48, 0.9) 10%
<style>
.parts{
position: absolute;
}
.trapezoid{
transform: perspective(200px) rotateX(45deg);
}
.cylinder-v{
border-radius:50% / 10%;
<style>
.parts{
position:absolute;
width:200pt;height:100pt;
border:2pt solid gray;
}
.arrow-to-right{
transform: perspective(200px) rotateX(60deg);
border-left:0pt;border-top:0pt;
<style>
/* I set more wider area.
you can also change parameters like this.
-100% -> 0%;
200% -> 100%;
each parameter are distance from : top right bottom left.
*/
@keyframes transition-showup-from-right{
0% {clip-path: inset(-100% -100% -100% 200%); }
3/3 CSSで斜線を引く方法:表の空セルなど任意のHTML要素に [ホームページ作成] All About
https://allabout.co.jp/gm/gc/457196/3/
.diagnal-line {
background-image: linear-gradient
(to top right, transparent, transparent 48%, red 48%, red 52%, transparent 52%, transparent);
}
<style>
.arrow_mp_l{
border-bottom:2pt solid black;
width:60pt;height:0pt;
}
.arrow_mp_l::after{
content:"";
right: -1pt;
bottom: -1pt;
border-right:10pt solid transparent;