Direkt zum Hauptbereich

Posts

Howto recover files / Howto remove duplicate files

 My first micro (16gb) sd card died after years of work in a spare phone. Windows couldnt read it anymore and I had no device with a *real* os near but, at https://www.cgsecurity.org/wiki/PhotoRec I found everthing I needed. Worked flawless.     You will not recover your direcotry hirachy and some files get duplicated. So next step is to get rid of tem: With the powershell one liner: ls *.txt -recurse | get-filehash | group -property hash | where { $_.count -gt 1 } | % { $_.group | select -skip 1 } | del you can drop every file got duplicated. https://www.cgsecurity.org/wiki/PhotoRec https://n3wjack.net/2015/04/06/find-and-delete-duplicate-files-with-just-powershell/ https://stackoverflow.com/questions/16845674/removing-duplicate-files-with-powershell

Cleanup your windows machine

still working: Use these lines to get your windows system cleaned up a bit and free your disk from old temporary and backup files: RD %temp%\ /S /Q rd /s /q C:\Windows\ServiceProfiles\NetworkService\AppData\Local\VSEQT\QTController rd %windir%\temp\ /s /q rd C:\TEMP\ /s /q rd C:\Quarantine /s /q rd "%userprofile%\AppData\Local\Temp\"  /s /q del C:\Windows\Installer\.tmp RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\" RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\" RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\" RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v3.0\Temporary ASP.NET Files\" RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v3.5\Temporary ASP.NET Files\" RD /S /Q "%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\" RD /S /Q "%userprofile%\AppData\Local\Microso...

Howto realy realy reset firefox without commandlin

A friend sent me, this: Firefox immediately fails on startup. I don't have any idea what was going on, but the solution was to delete ~/.mozilla . Of course i was not near to the machine, so I had to give instructions how to fix this over the remote. Next Problem: My friend got only basic skills. Solution: Made a screencast how to fix it and sent it over. If you also don't know what "delete ~/.mozilla" meens you can follow that instruction: Howto create screencast: https://wiki.ubuntu.com/ScreenCasts/ffmpeg

Visual Studio Code & Ubuntu 16.04

  curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list' sudo apt-get update sudo apt-get install code # or code-insiders Sources: https://code.visualstudio.com/docs/setup/linux

Ubuntu is still not able to do silent updates

Ubuntu does not remove old kernel/initrd versions from boot out of box. This configuration causes your /boot to grow till there is no space left. Of course you can fix this by dropping to terminal: #sudo apt autoremove To fix that silently on every run of apt upgrade i changed /etc/apt/apt.conf.d/50unattended-upgrades: // Do automatic removal of new unused dependencies after the upgrade // (equivalent to apt-get autoremove) Unattended-Upgrade::Remove-Unused-Dependencies "true";       Source: https://help.ubuntu.com/community/AutomaticSecurityUpdates  

Custom errorpage chip.de

Make FreeDownloadManager silent

While downloading files is getting more and more comfortable with common browsers i still stick with the free downloadmanager because browser still miss the feature of resuming on connection errors. To get freedownloadmanager realy silent you have to activate following option (which i always forget where it has to be activated):