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
<?php | |
/* | |
Plugin Name: youtube-shorts | |
Plugin URI: | |
Description: youtube-shorts | |
Version: 1.0 | |
Author: taoka-toshiaki | |
Author URI: youtube-shortsを貼り付け出来るように | |
*/ | |
add_filter( |
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
"use strict"; | |
document.querySelector("button").addEventListener("click",jsandcssreload); | |
function jsandcssreload(){ | |
let d = (new Date()).getTime(); | |
[...document.querySelectorAll("link")].forEach((elm)=>{ | |
elm.href = elm.href.replace(/(\.css)\??[0-9]{0,}$/,".css?" + d); | |
}); | |
[...document.querySelectorAll("script")].forEach((elm)=>{ | |
elm.src = elm.src.replace(/(\.js)\??[0-9]{0,}$/,".js?" + d); | |
}); |
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
nohup 任意のコマンド > /dev/null & |
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
from functools import cache | |
import time | |
import requests | |
import os | |
from selenium import webdriver | |
from selenium.webdriver.support import expected_conditions as EC | |
from selenium.webdriver.support.wait import WebDriverWait | |
from selenium.webdriver.common.by import By | |
from webdriver_manager.chrome import ChromeDriverManager | |
from selenium.webdriver.chrome.options import Options |
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
let htmlcode = ["#181B39","#262a2e","#192734","#1c483b","#bf7800","#83094f"].map(elm =>`<span class='color_code' style='color:${elm}' data-color-code='${elm}'>■</span>`).join("\n"); | |
const basecolor = "#262a2e"; | |
let cookiefn = function (val) { | |
let CodeColor = val; | |
let r = document.cookie.split(';'); | |
return r?((r)=>{ | |
for(let ii = 0 ;ii<r.length;ii++){ | |
let content = r[ii].split('='); | |
for(let i = 0 ;i<content.length;i++){ | |
if(content[i].replaceAll(" ","")==="bgcolor_code"){ |
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
let htmlcode = ` | |
<span class='color_code' style='color:#262a2e' data-color-code='#262a2e'>■</span> | |
<span class='color_code' style='color:#192734' data-color-code='#192734'>■</span> | |
<span class='color_code' style='color:#1c483b' data-color-code='#1c483b'>■</span> | |
<span class='color_code' style='color:#bf7800' data-color-code='#bf7800'>■</span> | |
<span class='color_code' style='color:#83094f' data-color-code='#83094f'>■</span> | |
`; | |
let old_color = "#262a2e"; | |
document.getElementById("site_description").insertAdjacentHTML("afterend", htmlcode); | |
let ColorCodeObject = document.querySelectorAll(".color_code"); |
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
<div class="h-screen w-screen flex justify-center items-center"> | |
<p>center</p> | |
</div> |
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
Option Compare Database | |
Private Sub csvconvert_Click() | |
Dim Path As String | |
Path = "C:\Users\zip\Desktop\test.csv" 'ファイルが存在すること。 | |
DoCmd.TransferText acExportDelim, , "任意のテーブル名", Path, True | |
End Sub |
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
document.getElementById("test-code").insertAdjacentHTML("afterbegin",function(a){ | |
return "<h1>" + a + "</h1>"; | |
}("test-code")); |