Ansible Windows client + chocolatey

@powershell -NoProfile -ExecutionPolicy Bypass -Command “iex ((new-object net.webclient).DownloadString(‘https://github.com/ansible/ansible/raw/devel/examples/scripts/ConfigureRemotingForAnsible.ps1’))” @”%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe” -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command “iex ((New-Object System.Net.WebClient).DownloadString(‘https://chocolatey.org/install.ps1’))” && SET “PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin”

Ati Eyefinity

Denne guide er afprøvet i Windows 10 Pro med et Radeon HD 6970 og AMD Catalyst Control Center (version 2015.0715.2138.37093). Grafikkortet er udstyret med 2x DVI, 1x HDMI og 2x mDP. Ved op til 2 monitor kan alle kombinationer bruges Ved 3 monitor kan følgende kombinationer bruges: 2x mDP + 1x DVI 1x mDP + …

Continue reading ‘Ati Eyefinity’ »

Screen recorder with ffmpeg

Ubuntu 14.04 ffmpeg -y -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 1920×1080 -i :0.0 -vcodec libx264 -pix_fmt yuv420p -crf 22 -acodec libmp3lame -ar 44100 -ab 126k -threads 3 ~/Skrivebord/screencast.mp4   Fedora 23, screengrab 720p no audio. bitrate 1200k ffmpeg -video_size 1280×720 -framerate 30 -f x11grab -i :1+3840,200 -vcodec libx264 -b:v 1200k …

Continue reading ‘Screen recorder with ffmpeg’ »

Windows 7 All In One image – and Danish Language Pack 32bit

Download one of the official iso from here Microsoft: http://www.microsoft.com/en-us/software-recovery Download the Config removal tool from here: http://www.itso.dk/files/winapps/eicfg_removal_utility.zip Run the eicfg_removal_utility and point to your iso file. Download the Windows USB/DVD Download tool from Microsoft: http://wudt.codeplex.com/ or http://www.itso.dk/files/winapps/Windows7-USB-DVD-tool.exe Run Windows7-USB-DVD-tool.exe and point to Windows 7 iso and either a DVD or USB key for destination. Boot and install wanted windows 7 …

Continue reading ‘Windows 7 All In One image – and Danish Language Pack 32bit’ »

Download videos from almost all videosites

Disclaimer: This might not be legal in all countries. Check you local copyright laws. Downloading videos and soundtracks from videosite can be accomplished with the program youtube-dl. For highest video resolution, type this command from terminal or windows command prompt: youtube-dl -f bestvideo+bestaudio [videolink]   Linux install: debian based distro: sudo apt-get install Arch based …

Continue reading ‘Download videos from almost all videosites’ »

Digital signatur

This is guide to setup digitally signed email with the danish NemID. Download and install the NemID platform from: here Installation in thunderbird Go to account settings, select the security tab, select Security Devices. Add NemID by selecting Load, and browse to the NemID PKCS#11, pointing at the file: C:\Program Files (x86)\Nets DanID\NemID Udvidelsesprogram\NemID_PKCS11.dll

Windows Dynamic Disk and Systemd

If you are running Windows formatted dynamic disk, you will need to setup a tool to make that available in Linux: ldmtool For Arch users use this guide: ldmtool is in the AUR repo: ldmtool You need to install gtk-doc and json-glib via pacman sudo pacman -S gtk-doc json-glib now you can download, extract and …

Continue reading ‘Windows Dynamic Disk and Systemd’ »

Quickly set or change DNS via a bat-script

When running Windows and you want a quick way to change DNS server, you can use a simple script in a *.bat file. I have several DNS settings that I might want to use, depending if I the situation. Where the “Ethernet” is the name of my network card name, change this if necessary. When you want …

Continue reading ‘Quickly set or change DNS via a bat-script’ »

Teamspeak and Logitech G-keys

Links: Teamspeak3 Teamspeak G-key addon Logitech Gaming Software Install teamspeak3 Install Logitech Gaming Software. Intstall G-key plugin til teamspeak Add this script to general profile function OnEvent(event, arg) –OutputLogMessage(“event = %s, arg = %s\n”, event, arg); end function OnEvent(event, gkey, family) if gkey == 6 then if event == “MOUSE_BUTTON_PRESSED” then OutputDebugMessage(“TS3_PTT_ACTIVATE”) end if event …

Continue reading ‘Teamspeak and Logitech G-keys’ »