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
Form hi = new Form("Test SpanMultiButton", BoxLayout.y()); | |
Image icon = FontImage.createMaterial(FontImage.MATERIAL_WARNING, "Button", 3.0f); | |
Image emblem = FontImage.createMaterial(FontImage.MATERIAL_ARROW_FORWARD, "Button", 3.0f); | |
SpanMultiButton twoLinesNoIcon = new SpanMultiButton("SpanMultiButton"); | |
twoLinesNoIcon.setTextLine2("Line 2 long - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."); | |
SpanMultiButton oneLineIconEmblem = new SpanMultiButton("Icon + Emblem"); | |
oneLineIconEmblem.setIcon(icon); | |
oneLineIconEmblem.setEmblem(emblem); |
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 | |
################################################################################# | |
################### MyBACKUP SCRIPT #################### | |
################################################################################# | |
# License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | |
# This is free software: you are free to change and redistribute it. | |
# There is NO WARRANTY, to the extent permitted by law. | |
# Autori: Francesco Galgani |
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
package yourpackage.app; | |
import com.cloudinary.Cloudinary; | |
import com.cloudinary.SingletonManager; | |
import com.cloudinary.utils.ObjectUtils; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import org.springframework.boot.SpringApplication; | |
import org.springframework.boot.autoconfigure.SpringBootApplication; | |
import org.springframework.scheduling.annotation.EnableScheduling; |
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
public interface RunnableWithArg<T> { | |
/** | |
* Similar to the runnable interface but it accepts an argument | |
* | |
* @param arg any type of argument | |
*/ | |
public void run(T arg); | |
} |
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
package net.informaticalibera.cn1.simpleapi; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.net.Uri; | |
import android.provider.Settings; | |
public class AppSettingsUtilitiesImpl { | |
private static Context context() { |
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
Android and iOS videos |
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.datasource.url=jdbc:mysql://localhost/nomeDB | |
spring.datasource.username=root | |
spring.datasource.password=miaPassword | |
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver | |
spring.jpa.hibernate.ddl-auto=update | |
spring.jpa.generate-ddl=true | |
spring.datasource.tomcat.connection-properties=useUnicode=true | |
server.port=8080 |
NewerOlder