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 Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
select has.id HAS_ID, | |
htf.id HTF_ID, | |
htfbew.halmv_id HAS_MSN_ID, | |
case | |
when htfbew.bew = 1 and hv.bew_von is not null and hv.bew_bis is not null then | |
1 | |
else | |
0 | |
end HTF_BEW, |
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
"editor.cursorBlinking": "solid" |
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
shell: 'C:\\Program Files\\Git\\git-cmd.exe', | |
// for setting shell arguments (i.e. for using interactive shellArgs: ['-i']) | |
// by default ['--login'] will be used | |
shellArgs: ['--command=usr/bin/bash.exe', '-l', '-i'], |
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
Get-Content .\test.txt | Set-Content -Encoding utf8 test-utf8.txt |
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
apt install curl | |
curl https://getcaddy.com | bash -s cors,expires,filemanager,git,hugo,ipfilter,jsonp,jwt,locale,mailout,minify,multipass,prometheus,ratelimit,realip,search,upload | |
chown root:root /usr/local/bin/caddy | |
chmod 755 /usr/local/bin/caddy | |
setcap 'cap_net_bind_service=+ep' /usr/local/bin/caddy | |
mkdir /etc/caddy | |
chown -R root:www-data /etc/caddy | |
mkdir /etc/ssl/caddy | |
chown -R www-data:root /etc/ssl/caddy | |
chmod 0770 /etc/ssl/caddy |
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
ffmpeg -ss 00:10:56 -i in.mp4 -t 00:00:05 -vcodec copy -an -y out.mp4 |
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
git config --global diff.tool p4merge | |
git config --global difftool.p4merge.cmd 'p4merge.exe $LOCAL $REMOTE' | |
git config --global difftool.prompt false | |
git config --global merge.tool p4merge | |
git config --global mergetool.p4merge.cmd 'p4merge.exe $BASE $LOCAL $REMOTE $MERGED' | |
git config --global mergetool.prompt false | |
git config --global mergetool.trustExitCode false | |
git config --global mergetool.keepBackup false |
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
select count(segment_name),sum(bytes/1024/1024),status from dba_undo_extents group by status; |
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
gpedit.msc > Local Computer Policy > Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignments > Shutdown the system |
OlderNewer