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
Running the Application in JBoss Developer Studio or Eclipse with JBoss Tools | |
============================================================================= | |
To run the project and try it out, you will need to perform a maven | |
compilation before the first time you deploy, as some resources and | |
classes can not be generated via the GWT/Eclipse compilers alone : | |
1. Right-click on the project the project node in the Package Explorer and select Run As > Maven Build... | |
2. Set goals = package and click Run. GWT compilation might take a few minutes. | |
3. Once the build is complete, Right-click on the on the project node in the Package Explorer and select Refresh. |
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
== Migration from SVN to Git == | |
This operation will require a fair amount of disk. Each copy of the overall jbosstools-svn-mirror git repo is about 2.6Gb. | |
After the migration, Freemarker was only 4.4Mb. | |
1. Check out entire git repo (using the readonly url so you cannot push back to origin by accident): | |
git clone git://github.com/jbosstools/jbosstools-svn-mirror.git | |
2. Backup local repo for reuse later |
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
First, add this to your .gitconfig file: | |
[alias] | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %C(blue)%aE%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative | |
-------------------- | |
# applying a PR | |
PR_USER=dgolovin |
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 | |
# store the current dir | |
CUR_DIR=$(pwd) | |
# Let the person running the script know what's going on. | |
echo "\n\033[1mPulling in latest changes for all repositories...\033[0m\n" | |
# Find all git repositories and update it to the master latest revision | |
for i in $(find . -name ".git" | cut -c 3-); do |
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
--[[ | |
=== HammerText === | |
Based on: https://github.com/Hammerspoon/hammerspoon/issues/1042 | |
How to "install": | |
- Simply copy and paste this code in your "init.lua". | |
How to use: | |
- Add this init.lua to ~/.hammerspoon/Spoons/HammerText.spoon | |
- Add your hotstrings (abbreviations that get expanded) to the "keywords" list following the example format. |
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
//JAVAC_OPTIONS -source 15 | |
public class Jbang { | |
public static void main(String... args) { | |
String heyRick = """ | |
`````````.-::/+oooooo+ooo++/-.........```...--..-..--......................`...`````...-://++++++/////+++++++++//+++++++++++++++++++++++++++ | |
`````.```..----/+oooooooooooo+:-.................---------------::-...`........`........-://++/+++//++++++++++////+++++++++++++++++++///+++/ | |
`````````..--.--:/+oooooooooooo+/-....................---------://///:--.....```..`......-:////////////+++++////+++++++++o++++ooooo+++++++++ | |
````````........--:/ossoooooooooo+/:-.................--------:::///++++/:-...```.........-://///+++++++++++++++++++++++++++/+++++++++++++++ | |
``````````.`...``..-:/ooooooooooooo+/----.....----..------::::///::-://::::::-......`......-:///////++++++/++++++ooo+++//+++///++++++++++++/ | |
``````````.````````...:+ooooooooo+/:----.----:::///:::///////////:::://::/+++/:--..`........-://///+++++++///+++++++++++++++++++++++++///+// |
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
class file4 { | |
public static void main(String[] args) { | |
System.out.println("I'm file 4"); | |
} | |
} |
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
//usr/bin/env jbang "$0" "$@" ; exit $? | |
//JAVA 14+ | |
//JAVAC_OPTIONS --enable-preview -source 14 | |
//JAVA_OPTIONS --enable-preview | |
//DEPS com.github.tonivade:purefun-typeclasses:1.8 | |
//DEPS com.github.tonivade:purefun-instances:1.8 | |
//DEPS com.github.tonivade:purefun-transformer:1.8 | |
import static com.github.tonivade.purefun.Matcher1.is; |
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
class AlbumImages { | |
public String image_id; | |
public String user_id; | |
public String albumId; | |
} |
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
//DEPS org.openjfx:javafx-graphics:11.0.2:${os.detected.jfxname} | |
import javafx.animation.*; | |
import javafx.application.*; | |
import javafx.scene.*; | |
import javafx.scene.layout.*; | |
import javafx.scene.paint.*; | |
import javafx.scene.shape.*; | |
import javafx.stage.*; | |
import javafx.util.*; |
OlderNewer