AutoHotkey v2 script for navigating Windows 11 virtual desktops in a 2×2 matrix and moving active windows between them.
- AutoHotkey v2
VirtualDesktopAccessor.dll
Place VirtualDesktopAccessor.dll in the same directory as the .ahk script.
AutoHotkey v2 script for navigating Windows 11 virtual desktops in a 2×2 matrix and moving active windows between them.
VirtualDesktopAccessor.dllPlace VirtualDesktopAccessor.dll in the same directory as the .ahk script.
Spring Boot DevTools works from the Maven CLI, but saving a .java file is not enough. DevTools monitors compiled classpath entries such as target/classes, so Maven must recompile the changed source before DevTools can restart the application. ([Home][1])
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>Laravel 8+, Horizon 5.x, Redis 6+
Prepare application
http://yourapp.com/horizoninactive on horizon dashboardInstall redis-server
| #!/usr/bin/env groovy | |
| node('php') { | |
| stage('Get code from SCM') { | |
| checkout( | |
| [$class: 'GitSCM', branches: [[name: '*/#your-dev-branch#']], | |
| doGenerateSubmoduleConfigurations: false, | |
| extensions: [], | |
| submoduleCfg: [], |
| #!/bin/bash | |
| retval=0 | |
| while read -r filepath; do | |
| vendor/bin/phplint "$filepath" | |
| retval=$(( $retval + $? )) | |
| done < <(git diff --cached --name-status | awk '$1 != "D" { print $2 }' | grep ".php") | |
| if [[ $retval -gt 0 ]]; then | |
| echo "PHP Syntax error found" |
If cat /var/log/Xorg.0.log | grep -P "Mode is rejected: (Vert|Horiz)", then you probably need to update the monitor section in your xorg.conf.
Example:
Section "Monitor"
Identifier "Dell-P2414Hb"
VendorName "DELL"
ModelName "P2414Hb"
| --- | |
| # http://clang.llvm.org/docs/ClangFormatStyleOptions.html | |
| Language: Cpp | |
| AccessModifierOffset: -2 | |
| AlignAfterOpenBracket: Align | |
| AlignConsecutiveAssignments: false | |
| AlignConsecutiveDeclarations: false | |
| AlignEscapedNewlines: Right | |
| AlignOperands: true | |
| AlignTrailingComments: true |
| let response = [ | |
| { | |
| title: "Map marker 1", | |
| lat: 10.0, | |
| lng: 10.0 | |
| }, | |
| { | |
| title: "Map marker 2", | |
| lat: 11.0, | |
| lng: 11.0 |
| # https://stackoverflow.com/questions/43275238/how-to-set-system-images-path-when-creating-an-android-avd/43522262 | |
| # download img | |
| sdkmanager 'system-images;android-23;google_apis;x86_64' | |
| # accept the sdk license | |
| sdkmanager --licenses | |
| # create AVD | |
| avdmanager create avd -n {avd_name} -k "system-images;android-23;google_apis;x86_64" -b x86_64 -c 100M -d 7 -f |
| { | |
| "libs": [ "browser", "ecma6", "ecma5" ], | |
| "loadEagerly": [], | |
| "dontLoad": ["node_modules"], | |
| "plugins": { | |
| "angular": {}, | |
| "complete_strings": true, | |
| "doc_comment": true, | |
| "modules": true, | |
| "node": true, |