- When a process is running, press
ctrl+z
to step out of the current process and show running processes. - To continue running a process in the background, use the following command:
bg %1
, where the%1
is the index of the process.
ps -ef | grep node
# ================ Windows ===================== | |
# Windows thumbnail cache files | |
Thumbs.db | |
ehthumbs.db | |
ehthumbs_vista.db | |
# Dump file | |
*.stackdump |
ctrl+z
to step out of the current process and show running processes.bg %1
, where the %1
is the index of the process.ps -ef | grep node
// example imgObj | |
const img = { | |
filename: 'example.jpg', | |
caption: 'example-caption' | |
} | |
function preloadImgs (imageLs) { | |
imageLs.forEach(imgObj => { | |
let img = new Image() | |
img.src = imgObj.filename |
<div class="Intrinsic-wrapper"> | |
<img class="Intrinsic-item Intrinsic-item--1x1" src=""> | |
</div> | |
<style> | |
.Intrinsic-wrapper { | |
display: block; | |
padding-top: 100%; | |
position: relative; | |
width: 100%; |
// HTML Collection | |
const articles = document.querySelectorAll('.article') | |
// Iterate using Array.prototype | |
Array.prototype.forEach.call(articles, el => { | |
// iterate over el | |
} |
sudo chgrp -R www-data storage | |
sudo chgrp -R www-data bootstrap/cache | |
sudo chmod -R ug+rwx storage | |
sudo chmod -R ug+rwx bootstrap/cache |
cd C:\Users\MT_User\scripts | |
IF NOT EXIST .\logs mkdir .\logs | |
robocopy C:\Users\MT_User\scripts\test C:\Users\MT_User\scripts\backup /s >> .\logs\%date%.log |
"C:\Program Files (x86)\BraveSoftware\Brave-Browser\Application\Brave.exe" --start-fullscreen http://localhost |
/* disable selection */ | |
:not(input):not(textarea), | |
:not(input):not(textarea)::after, | |
:not(input):not(textarea)::before { | |
-webkit-user-select: none; | |
user-select: none; | |
cursor: default; | |
} | |
input, button, textarea, :focus { | |
outline: none; |
The following are instructions for running scheduled tasks defined in a Laravel project on Windows. The Laravel documentation provides instructions for running scheduled tasks using cron jobs on Linux systems. However, cron jobs are not available on Windows. The built-in Windows Task Scheduler can be used to run scheduled tasks instead.