sudo dnf install libnsl
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
xdg-mime default sublime_text.desktop text/plain | |
sudo update-alternatives --set editor /usr/bin/code |
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
[Desktop Entry] | |
Version=1.0 | |
Type=Application | |
Name=Eclipse IDE | |
Icon=/opt/eclipses/eclipse/icon.xpm | |
Exec=env UBUNTU_MENUPROXY=0 SWT_GTK3=1 GTK_THEME=Adwaita:ligth "/opt/eclipses/eclipse/eclipse" %f | |
Comment=Capable and Ergonomic IDE for JVM | |
Categories=Development;IDE; | |
Terminal=false |
~/.gradle/init.gradle
apply plugin:ArchivaRepositoryPlugin
class ArchivaRepositoryPlugin implements Plugin<Gradle> {
/opt/sonar/sonarqube-7.1$ sudo chown bruno:bruno -R .
sudo chmod 777 -R /opt/sonar/sonarqube-7.1/temp/
cd /etc/systemd/system
nano sonar.service
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
import java.awt.Color; | |
import java.awt.Rectangle; | |
import java.awt.Robot; | |
import java.awt.image.BufferedImage; | |
public class Teste { | |
public static void main(String[] args) { | |
try { |
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
import java.awt.*; | |
import java.awt.event.InputEvent; | |
import java.io.BufferedReader; | |
import java.io.InputStreamReader; | |
import java.util.Random; | |
public class Main { | |
public static void main(String... args) throws Exception { |
package com.brunorozendo;
import javax.swing.JFrame;
import javax.swing.JButton;
import java.awt.Container;
class Janela extends JFrame{
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
buildscript { | |
repositories { | |
maven { | |
url "https://plugins.gradle.org/m2/" | |
} | |
} | |
dependencies { | |
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.6.1" | |
} |