Show App(s) from WindowsApps
Show App(s) from WindowsApps
Get-AppxPackage -allusers *Candy* | Select Name, PackageFullName
Important: -allusers – Show apps with “Candy” for all users
Remove App(s) from WindowsApps
Get-AppxPackage -allusers *Candy* | Remove-AppxPackage -allusers
13.05.2015
Inject PHP variables into Javascript
Wordpress offers a simple way to add javascript code to your site. Example: wp_deregister_script('scriptname'); // Optional wp_register_script('scriptnamey', ...
09.10.2015
Security issues in WordPress
1. Author pages Wordpress as a much used content management system always suffers from hacks. These hacks mostly try to login to the admin desktop and inject malware code into wordpress. To...
12.01.2016
WordPress Hints
Menu poisitions in wordpress admin menu 2 Dashboard 4 Separator 5 Posts 10 Media 15 Links 20 Pages 25 Comments 59 Separator 60 Appearance 65 Plugins 70...
27.01.2016
WordPress Settings: Dynamic Fields
When you have a lot of settings fields with the same type, it is often annoying to write a display function for every field. There is a simple and better way to do this. Example: You want to...
13.05.2015
Private and Public SSH Key
For communication with SSH you often need a private/public key pair. To create this you can user the tool puttygen which comes with the PuTTY installation (see:http://www.putty.org/). Open ...
11.01.2016
Mercurial and Git Commands and Issues
hg update -C . git reset --hardDiscard uncommitted changeshg clone git+ssh://user@server/directory Clone a git repository into a mercurial one, only working with hg-git extensiongit add -u .Add ...
13.05.2015
Mercurial and SSH
Sometime ago, we changed our repository to mercurial, for this was a good way to hold a history on all clients. If you want to connect to a remote repository, your should always consider using ...
14.07.2016
Some usefull linux commands
I always forget some usefull Linux command, because I'm more experienced with Windows. So I wrote them down for me. Let's start ...cat /etc/lsb-release cat /proc/issue uiname...
16.11.2017
Set Client Timeout
To set the timout for a SSH connection with a host, insert the following line into the file /etc/ssh/sshd_config: ClientAliveInterval 60 ClientAliveCountMax 10 This sets a timout of 10 minutes...
26.01.2016
Force right Scrollbar
Sometimes it is important to show a right scrollbar whether the page is full or not. e.g.: If you have a page which loads content per ajax after the html page is loaded, the whole page may move...