This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Sample of optimized Dockerfile for Java | |
# command to run: time docker build -t your-app-dockerized -f sampleDockerfile ../your-app/target | |
FROM openjdk:8-jre-alpine | |
COPY lib/* /deployment/lib/ | |
COPY your-app-1.0.0-SNAPSHOT.jar /deployment/app.jar | |
CMD ["java", "-jar", "/deployment/app.jar"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rem -------------------------------------------------------------------------------- | |
rem Delete the updates and launch the original version installed | |
rem | |
rem Steps: | |
rem 1. Install the version you want. | |
rem 2. Go to the directory where the application was installed. | |
rem 3. Right-click on the Spotify.exe application, choose properties. | |
rem 4. Mark the attribute as "Read only", click on Apply and OK. | |
rem 5. In the command line "start" replace with the directory where the app was installed. | |
rem 6. Save this file as spotify.cmd and create a shortcut (you can personalize the icon). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
rem This script remove the local group policies | |
rem Tested on Windows 10 | |
RD /S /Q "%WinDir%\System32\GroupPolicy" | |
RD /S /Q "%WinDir%\System32\GroupPolicyUsers" | |
reg delete "HKCU\Software\Policies\Microsoft" /f | |
reg delete "HKLM\Software\Policies\Microsoft" /f | |
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects" /f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-------------------------------------------------------------------------------------------- | |
# The following commands were tested on Ubuntu 18.04 | |
#-------------------------------------------------------------------------------------------- | |
#-------------------------------------------------------------------------------------------- | |
# Reset default fonts | |
#-------------------------------------------------------------------------------------------- | |
gsettings reset org.gnome.desktop.interface font-name | |
gsettings reset org.gnome.desktop.interface document-font-name |