python freeze
for /F "delims==" %i in ('pip freeze') do pip uninstall -y %i
<label for="1">CLICK 1!</label> | |
<label for="2">CLICK 2!</label> | |
<label for="3">CLICK 3!</label> | |
<div class="popups"> | |
<input type="checkbox" id="1" /> | |
<div class="modal"> | |
<div class="modal__inner"> | |
<p>1</p> |
import subprocess | |
def compress_mov_to_mp4_ffmpeg(input_file, output_file, bitrate='1000k'): | |
command = ['ffmpeg', '-i', input_file, '-b:v', bitrate, output_file] | |
subprocess.call(command) | |
# Example usage | |
compress_mov_to_mp4_ffmpeg('input.mov', 'output.mp4') |
::-webkit-scrollbar { | |
width: 0.3em; | |
height: 0.3em; | |
overflow-x: none; | |
} | |
::-webkit-scrollbar-track { | |
background-color: #f1f1f1; | |
border-radius: 0.3em; | |
} | |
::-webkit-scrollbar-thumb { |
class Terminal: | |
def __init__(self): | |
self.root = { | |
"": { | |
"directories": ["Documents", "Downloads"], | |
"files": [] | |
}, | |
"Documents": { | |
"directories": [], | |
"files": { |
for (const passwordInput of document.querySelectorAll('input[type=password]')) { | |
passwordInput.addEventListener('keydown', function (event) { | |
if (this.getAttribute('type') !== 'password') return; | |
if (event.ctrlKey && event.key === 'x') this.value = ''; | |
}); | |
} |
*, ::after, ::before { | |
box-sizing: border-box; | |
border-width: 0; | |
border-style: solid; | |
border-color: #e5e7eb | |
} | |
::after, ::before { | |
--tw-content: '' | |
} | |
:host, html { |
const evalMath = (str) => { | |
const operatorToFunction = { | |
"+": (a, b) => a + b, | |
"-": (a, b) => a - b, | |
"*": (a, b) => a * b, | |
"/": (a, b) => a / b | |
}; | |
const operationStr = str.replace(/\s/g, ''); | |
const numbers = operationStr.split(/[-+*/]/).map(Number); | |
const operators = operationStr.split(/\d+/).filter(Boolean).filter(operator => operator !== '.'); |
.notification-container { | |
width: 100%; | |
max-width: fit-content; | |
position: fixed; | |
top: 10px; | |
right: 10px; | |
z-index: 9999; | |
display: flex; | |
flex-direction: column; | |
align-items: flex-end; |