rm, like many other programs, takes its arguments from the command line but ignores standard input. You can pipe anything to it you like; it’ll just throw that data away.
xarg..this command clean Evolution data:
find ~/ -iname "*evolution*" | xargs rm -R
If filenames contain newlines or spaces:
find . -name ".txt" -print0 | xargs -0 rm
I tried to sign an old Powershell script with this command:
Set-AuthenticodeSignature 'C:\MyScript.ps1' -cert (get-childitem cert:\currentuser\my\ -codesigningcert)
..but the output was: Unknown Error
This was not the only one that I’ve signed but it’s the only one that I was not able to sign!
After some investigation I discover the problem: the script encoding was “Unicode big endian”. Changed it to UTF-8 I was able to sign it (you can use notepad to change encoding).
When trying to get the Task Scheduler to Run whether user is logged on or not, after entering the credentials the following error is logged 2147943712.
It was a local security policy issue. Disable “Security Settings/Local Policies/Network access: Do not allow storage of passwords and credentials for network authentication” in your group policies or local policy.
This table provides a quick reference guide to common userAccountControl values. This is not intended to be a complete reference.
||Enabled, Password Not Required
||Disabled, Password Not Required
||Enabled, Password Doesn’t Expire
||Disabled, Password Doesn’t Expire
||Enabled, Password Doesn’t Expire & Not Required
||Disabled, Password Doesn’t Expire & Not Required
||Enabled, Smartcard Required
||Disabled, Smartcard Required
||Enabled, Smartcard Required, Password Not Required
||Disabled, Smartcard Required, Password Not Required
||Enabled, Smartcard Required, Password Doesn’t Expire
||Disabled, Smartcard Required, Password Doesn’t Expire
||Enabled, Smartcard Required, Password Doesn’t Expire & Not Required
||Disabled, Smartcard Required, Password Doesn’t Expire & Not Required
I updated my Home Media Center from W8 to W8.1.
After installing the Windows 8.1 Update, I found that closing Modern Apps takes me to Desktop rather than taking me to Start Screen. This is not my preferred behavior on a Media Center.
If I disable the option “When I sign in or close all apps on a screen, go to the desktop instead of Start” (right click on the taskbar and then click Properties and switch to the Navigation tab), I only have Start Screen at logon, but the system still goes to Desktop on Modern Apps closing.
In order to make the above-mentioned option work as you expected from it, you need to configure an additional setting. Open the Taskbar and Navigation properties window, and uncheck the “Show Windows Store apps on the taskbar” option.
You can now close all the running Modern Apps and be able to return to Start Screen!
For creating a web page shortcut on Unity Luncher, first create a .desktop file (example gmail.desktop) on: .local/share/applications
Comment=Apre gMail in firefox
Configure the Icon as you prefer.
Drag the file on Luncher.
I had a strange problem with a Vodafone Internet Key (from Vodafone Station 2) and Ubuntu. Creating a WWAN connection (with APN web.omnitel.it) I can see the PPP tunnel connected but I can’t browse nothing. I discovered that no default gateway was set up by DHCP Client; if you run again “dhclient wwan0″ after the connection, all start working.
To work around the problem, create a file like this (the name is not important):/etc/network/if-up.d/wwan_prob
logger "running dhcp client on $IFACE to work around modem manager problem..."
if [ "$IFACE" = "wwan0" ]; then
NOTE: Check that the name of your network interface is wwan0.
Set this file executable and try to use again the K3806-Z.
sudo chmod 755 /etc/network/if-up.d/wwan_prob