reg add "HKLM\Software\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d 0 /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v "DisableSettingSync" /t REG_DWORD /d 2 /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\SettingSync" /v "DisableSettingSyncUserOverride" /t REG_DWORD /d 1 /f psexec -S cmd schtasks /change /disable /tn "\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" schtasks /change /disable /tn "\Microsoft\Windows\Application Experience\PcaPatchDbTask" schtasks /change /disable /tn "\Microsoft\Windows\Application Experience\ProgramDataUpdater" schtasks /change /disable /tn "\Microsoft\Windows\Application Experience\StartupAppTask" schtasks /change /disable /tn "\Microsoft\Windows\SettingSync\BackgroundUploadTask" schtasks /change /disable /tn "\Microsoft\Windows\SettingSync\NetworkStateChangeTask"
Category Archives: General
changing git ssl to git https
git config –global –unset http.proxy
git config –global credential.helper “cache –timeout=36000”
git config –global credential.helper wincred
git remote -v
git remote set-url origin https://gitlab.server.com/prj/module.git
git pull
fatal: unable to access ‘https://gitlab.server.com/prj/module.git/’: SSL certificate problem: unable to get local issuer certificate
git config –global http.sslVerify false
Username for ‘https://gitlab.server.com’: username
Password for ‘https://username@gitlab.server.com’:
Already up-to-date.
Remove text part in script with regular expression in Notepad++
When dealing with Oracle create table scripts, sometimes it’s useful to remove the ‘tablespace USERS…’ part from the script. Using a regular expression (in Notepad++) it’s easy.
Find what: tablespace.*?;
Replace with: ;
Wrap around: checked
Regular expression: checked
. matchesnewline: checked
Works with tablespace clause on indices as well
Print stylesheet for zoom
While Opera, Firefox and Safari print html pages very nice and have shrink to fit features, IE often seems to corrupt the margins.
A reminder to myself, use in header part:
<style type="text/css" media="print"> body { zoom: .65; } </style>
The zoom property is only used by IE.
weblog launched
Today dotJava got it’s own weblog, just like many others on the web.
Main goal of this weblog is to collect scripts, notes and other interesting documents found around the net. At any time it’s possible for me to access the collection and in the meantime others can enjoy the collection as well.
So, enjoy!