start new:
tmux
start new with session name:
tmux new -s myname
| @echo off | |
| mkdir __PACKAGE__ | |
| cd __PACKAGE__ | |
| set SVN_PACKAGE_PATH=%cd% | |
| mkdir bin | |
| mkdir doc | |
| mkdir modules | |
| mkdir tools | |
| cd .. | |
| xcopy /E tools %SVN_PACKAGE_PATH%\tools\ |
| #!/bin/bash | |
| while true; do | |
| rand=$(shuf -i 2600-2700 -n 1) | |
| echo -n -e ' \u'$rand | |
| sleep 1 | |
| done |
| root = true | |
| [*] | |
| charset = utf-8 | |
| end_of_line = lf | |
| indent_size = 4 | |
| indent_style = tab | |
| insert_final_newline = true | |
| trim_trailing_whitespace = true |
| $unerwuenschteApps = "xbox", "BingNews", "Dolby", "BingWeather", "Zune", "WindowsCamera", "WindowsMaps","Microsoft.People","PhotoShopExpress","Microsoft.OneConnect","Solitaire","Print3D","SoundRecorder","Duolingo","freshpaint" | |
| $remove = $true | |
| foreach($a in $unerwuenschteApps) | |
| { | |
| Write-Host "Installierte Apps mit $a im Titel:" -ForegroundColor Yellow | |
| $menge = Get-AppxPackage | where name -like "*$a*" # Get-AppxProvisionedPackage -Online / DisplayName | |
| $menge | ft | |
| if ($menge.length -eq 0) { Write-Host "Keine :-)" -ForegroundColor green } | |
| else { if ($remove) { |
| ' Apps: Vorgeschlagene, OEM und PreInstallierte Apps deaktivieren | |
| ' ==================================================================== | |
| registryDWORD "Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager", "ContentDeliveryAllowed", 0 | |
| registryDWORD "Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager", "OemPreInstalledAppsEnabled", 0 | |
| registryDWORD "Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager", "PreInstalledAppsEnabled", 0 | |
| registryDWORD "Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager", "PreInstalledAppsEverEnabled", 0 | |
| registryDWORD "Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager", "SilentInstalledAppsEnabled", 0 | |
| registryDWORD "Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager", "SoftLandingEnabled", 0 | |
| registryDWORD "Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager", "SubscribedContentEnabled", 0 | |
| registryDeleteValue "Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager\Subscriptions", "" |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!--suppress XmlUnboundNsPrefix, XmlUnboundNsPrefix --> | |
| <ruleset name="overview"> | |
| <description>overview</description> | |
| <rule ref="Generic.Classes.DuplicateClassName"/> | |
| <rule ref="Generic.CodeAnalysis.EmptyStatement"/> | |
| <rule ref="Generic.CodeAnalysis.ForLoopShouldBeWhileLoop"/> | |
| <rule ref="Generic.CodeAnalysis.ForLoopWithTestFunctionCall"/> | |
| <rule ref="Generic.CodeAnalysis.UnconditionalIfStatement"/> | |
| <rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/> |
| <If "%{HTTP_HOST} == 'dev.example.com'"> | |
| AuthType basic | |
| AuthName "private" | |
| AuthUserFile /home/example/.htpasswd | |
| Require valid-user | |
| </If> |
| sudo dpkg-reconfigure locales | |
| sudo apt install console-setup | |
| sudo dpkg-reconfigure console-setup | |
| export LANGUAGE=de_DE.utf8 | |
| export LANG=de_DE.utf8 | |
| export LC_ALL=de_DE.utf8 |
| :: Whereis program by Raymond Chen | |
| :: URL: http://blogs.msdn.com/oldnewthing/archive/2005/01/20/357225.aspx | |
| @for %%e in (%PATHEXT%) do @for %%i in (%1%%e) do @if NOT "%%~$PATH:i"=="" echo %%~$PATH:i |