- Find your
UID
for your username in your Linux distro typing in the commandid -u <yourUserName>
. Remember this value. - Open registry edit and navigate to
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lxss\{MY-UUID}
. - Replace the
DefaultUid
value with the UID value of the user in your distro.
This file contains hidden or 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
@echo off | |
title Microsoft Office 2019 versions are supported!&cls&echo | |
============================================================================&echo | |
#Project: Activating Microsoft software products for FREE without software&echo | |
============================================================================&echo.&echo | |
#Supported products:&echo - Microsoft Office Standard 2019&echo - Microsoft Office Professional Plus 2019&echo.&echo.&(if exist | |
"%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")&(if exist | |
"%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")&(for /f %%x in ('dir /b | |
..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b | |
..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&echo.&echo |
This file contains hidden or 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
set -g mode-keys vi | |
set -g mouse on | |
# styles | |
set -g status-left-length 900 | |
set -g status-style "bg=colour235, fg=#ffffd7" | |
set -g default-terminal xterm-256color | |
# ไฟๆๅฝๅ่ทฏๅพ | |
bind c new-window -c "#{pane_current_path}" |
This file contains hidden or 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
export const isSameDay = (dateA, dateB) => | |
['getFullYear', 'getMonth', 'getDate'] | |
.map(fun => dayA[fun]() === dayB[fun]()) | |
.reduce((a, b) => a && b) |
This file contains hidden or 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
this is my first gist |