- Boostnote install - https://github.com/BoostIO/boost-releases/releases/tag/v0.15.3
- Clean up old depenencies
- sudo vim
/var/lib/dpkg/status
- Remove
- boostnote : Depends: gconf-service Depends: gconf2 Depends: gvfs-bin but it is not installable
- sudo vim
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 kotlin | |
@file:Repository("https://repo.maven.apache.org/maven2/") | |
@file:DependsOn("com.squareup.okhttp3:okhttp:4.12.0") | |
import okhttp3.OkHttpClient | |
import okhttp3.Request | |
import org.w3c.dom.Document | |
import org.xml.sax.InputSource | |
import java.io.StringReader |
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 kotlin | |
@file:Repository("https://repo.maven.apache.org/maven2/") | |
@file:DependsOn("com.squareup.okhttp3:okhttp:4.12.0") | |
import okhttp3.OkHttpClient | |
import okhttp3.Request | |
val client = OkHttpClient() | |
val request = Request.Builder().url("https://example.com").build(); |
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
#Init spring webapp | |
spring init -d=lombok,web -type=gradle-project-kotlin -n=spring-boot-hello-world spring-boot-hello-world | |
#Shows available dependencies | |
spring init --list | |
#Init Spring Cloud Function | |
spring init -d=lombok,cloud-function -type=gradle-project-kotlin -n=spring-cloud-function-hello-world spring-cloud-function-hello-world |
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
rm -rf ~/.config/autostart/jetbrains-toolbox.desktop \ | |
rm -rf ~/.local/share/JetBrains/Toolbox \ | |
rm -rf ~/.local/share/applications/jetbrains-toolbox.desktop |
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
#Create a file | |
sudo touch /usr/local/bin/idea | |
#bash script: | |
#!/usr/bin/env bash | |
snap run intellij-idea-ultimate $1 /dev/null 2&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
#!/usr/bin/env bash | |
. ~/.nvm/nvm.sh | |
cr=`echo $'\n.'` | |
cr=${cr%.} | |
currentNodeVersion=$(node -v) | |
echo Your NodeJS version is $currentNodeVersion |
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
/* | |
In this scenario we create twenty random cars (random model and year). | |
An expected result is to only get Toyota and sort by year, newest first. | |
*/ | |
class Scratch { | |
public static void main(String[] args) { | |
List<Car> cars = CarFactory.createTwentyRandomCars(); | |
System.out.println("Initial Cars list: " + cars.toString()); |
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
spring.jpa.show-sql=true | |
spring.jpa.properties.hibernate.format_sql=true | |
spring.jpa.properties.hibernate.generate_statistics=true |
NewerOlder