Skip to content

Instantly share code, notes, and snippets.

powercfg /batteryreport
start battery-report.html
timeout /t 5
del /f /q battery-report.html
@MinkiDev
MinkiDev / gist:e13715ceca923053afc74612e5d0b4ed
Last active June 4, 2020 08:36
Make Linux 'ls' command stylish
ls -hal --group-directories-first --time-style=+'%Y/%m/%d %H:%M:%S'
@MinkiDev
MinkiDev / dotnet-build-linux-x64.cmd
Last active June 4, 2020 08:36
.NET Core application auto publishing batch (Linux/amd64)
rd /s /q linux-x64
for %%i in (1,1,3) do cd ..
dotnet publish -r linux-x64 --self-contained true
@MinkiDev
MinkiDev / user.js
Last active July 12, 2022 07:19
[Tampermonkey] 하이웍스 메일발송 UI/UX 개선
// ==UserScript==
// @name 하이웍스 메일발송 UI/UX 개선
// @version 1.4
// @author MinkiDev
// @match https://*.office.hiworks.com/*/mail*
// ==/UserScript==
(function() {
if(window.location.href.includes("m_write")) {
document.getElementsByClassName("main-btn")[0].style = "background-color: #cccccc; color: #808080; pointer-events: none;";
@MinkiDev
MinkiDev / disable-bash-history.sh
Last active August 23, 2020 04:57
Disable bash history
#!/bin/bash
echo 'unset HISTFILE' >> ~/.bash_profile
set +o history
rm -f .bash_history
echo 'done'
@MinkiDev
MinkiDev / disable_windows_touch_key.reg
Created June 24, 2019 04:50
Registry to disable windows(super) touch key
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,00,00,5b,e0,00,00,5c,e0,00,00,00,00
@MinkiDev
MinkiDev / clear_wallpaper_history.reg
Last active June 24, 2019 04:51
Registry to clear windows wallpaper history
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Wallpapers]
"BackgroundHistoryPath0"=""
"BackgroundHistoryPath1"=""
"BackgroundHistoryPath2"=""
"BackgroundHistoryPath3"=""
"BackgroundHistoryPath4"=""
@MinkiDev
MinkiDev / demo.html
Last active March 9, 2024 11:04
CSS border-radius implementation for YouTube iframe embed
<style>
.div-round {
overflow: hidden;
position: relative;
z-index: 10;
-webkit-border-radius: 20px;
border-radius: 20px;
}
.div-round::before {