cd myTooBigFolderToBackup
find . -name 'node_modules' -type d -prune -print -exec rm -rf '{}' \;
If for some random reasons, after a JDK update from SDKman, all kotlin projects fail to compile/run in Intellij, double check that the JDK has the correct path in ~/.config/JetBrains/IntelliJIdeaXXXX.x/options/jdk.table
- shutdown intellij
- Edit this file with the correct path
- Enjoy
chrome://flags/#enable-webrtc-allow-input-volume-adjustment
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
package xx.xx.xxxxxxx.xxxxxxx.requestpostprocessor; | |
import jakarta.servlet.http.Cookie; | |
import jakarta.servlet.http.HttpServletResponse; | |
import org.springframework.mock.web.MockHttpServletRequest; | |
import org.springframework.mock.web.MockHttpServletResponse; | |
import org.springframework.security.test.web.support.WebTestUtils; | |
import org.springframework.test.web.servlet.request.RequestPostProcessor; | |
public final class XorCsrfRequestPostProcessor implements RequestPostProcessor { |
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
server { | |
listen 8080; | |
server_name localhost; | |
location ~ ^/repository/npm-group/-/npm/(.*)$ { | |
return 307 https://registry.npmjs.org/-/npm/$1; | |
} | |
} |
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
xrandr --output DP-1-1 --scale 0.9999x0.9999 |
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
# from : https://forum.libreelec.tv/thread/5074-wifi-issues-on-rpi-3-poor-speed-and-latency-solution/#codeLine_1_3e8919 | |
# first install the 'network tools' add-on from the kodi repository then create a /storage/.config/autostart.sh file with | |
# this as the contents. | |
# then reboot the pi. runnning 'iwconfig' should now show the power-management as being off. | |
# mpalourdio : in LE 9+, iw is already installed at /usr/sbin/iw | |
# just create an autostart.sh and add : | |
/usr/sbin/iw wlan0 set power_save off |
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
#!/bin/bash | |
set -x | |
service pihole-FTL stop | |
rm /etc/pihole/pihole-FTL.db | |
rm /var/log/pihole* | |
service pihole-FTL start |
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
<router-outlet></router-outlet> | |
<ng-http-loader [entryComponent]="matSpinner"></ng-http-loader> | |
NewerOlder