start new:
tmux
start new with session name:
tmux new -s myname
#!/bin/bash | |
# Check if GRAILS_PREFIX is set | |
if [ -z $GRAILS_PREFIX ]; then | |
echo "You must define environment variable GRAILS_PREFIX before running Automatic Grails Version Selector" | |
exit 1 | |
fi | |
# Define script params array | |
declare -a PARAMS |
#!/bin/bash | |
# SPDX-License-Identifier: MIT | |
## Copyright (C) 2009 Przemyslaw Pawelczyk <[email protected]> | |
## | |
## This script is licensed under the terms of the MIT license. | |
## https://opensource.org/licenses/MIT | |
# | |
# Lockable script boilerplate | |
/** | |
* Add a rule that supports executing tests based on a series of comma delimited patterns(ant glob patterns). | |
*/ | |
tasks.addRule("Pattern: testMulti<Name>,<Name2> will test **/<Name>.class,**/<Name2>.class") {String taskName -> | |
if (taskName.startsWith("testMulti")) | |
{ | |
tasks.add(taskName).dependsOn(test) | |
test.includes = taskName.substring(9).split(',').collect {"**/${it}.class"} | |
} | |
} |
""" | |
The MIT License (MIT) | |
Copyright (c) 2011 Numan Sachwani | |
Permission is hereby granted, free of charge, to any person obtaining a copy of | |
this software and associated documentation files (the "Software"), to deal in | |
the Software without restriction, including without limitation the rights to | |
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | |
of the Software, and to permit persons to whom the Software is furnished to do | |
so, subject to the following conditions: |
[url "git://github.com/"] | |
insteadOf = "ghg://" | |
pushInsteadOf = "ghg://" | |
# Example: git clone ghg://ntschutta/emacs | |
[url "git://github.com/matthewmccullough/"] | |
insteadOf = "ghgm://" | |
pushInsteadOf = "ghgm://" | |
# Example: git clone ghgm://hellogitworld | |
[url "[email protected]:"] | |
insteadOf = "ghs://" |
class TaskTimerListener implements TaskExecutionListener { | |
private Clock clock | |
@Override | |
void beforeExecute(Task task) { | |
clock = new org.gradle.util.Clock() | |
} | |
@Override |
# 1. First of all of course get Manjaro: | |
https://manjaro.org/get-manjaro/ | |
# I recommend using Etcher to copy the image to your USB: | |
https://etcher.io/ | |
# 2. Before installing make sure: | |
# - Secure boot is disabled in BIOS | |
# - Your SSD, HDD or NVME drive is set to AHCI instead of RAID | |
# - Fastboot should be on Auto or minimal, but this shouldn't matter to much |