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
export HOME="~/" # or change on windows | |
export CODE="/c/code/" | |
export TOOLS="$CODE/tools/" | |
### Bash Aliases | |
alias grep='grep --color=auto' | |
alias ls='ls --color=auto' | |
alias ll='ls -alF' |
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
# Intall Git Bash | |
# Intall conEmu | |
# Intellij : Settings->Terminal | |
"C:\Program Files\Git\bin\sh.exe" -login -i | |
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 io.robusta.java.pecs; | |
import java.util.ArrayList; | |
import java.util.Collections; | |
import java.util.List; | |
/** | |
* Created by nicorama on 20/07/2017. | |
*/ | |
public class ContravariantHeritage { |
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 class ContravariantHeritage { | |
public static void main(String[] args) { | |
new ContravariantHeritage().launch(); | |
} | |
void launch() { | |
List<Bamboo> food = new OhPanda().getMeals(); | |
System.out.println(food); | |
} |
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
-XX:ReservedCodeCacheSize=1024m | |
-XX:SoftRefLRUPolicyMSPerMB=50 | |
-Djava.net.preferIPv4Stack=true | |
-XX:+HeapDumpOnOutOfMemoryError | |
-XX:-OmitStackTraceInFastThrow | |
-server | |
-Xms2048m | |
-Xmx2048m | |
-XX:NewSize=512m | |
-XX:MaxNewSize=512m |
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
youtube-dl https://www.youtube.com/watch?v=BLvFgrwghkQ |
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 io.pax.cryptos.ws; | |
import javax.servlet.*; | |
import javax.servlet.annotation.WebFilter; | |
import javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpServletResponse; | |
import java.io.IOException; | |
/** | |
* Created by nicorama and others on 09/02/2018. |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<persistence xmlns="http://java.sun.com/xml/ns/persistence" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd" | |
version="2.0"> | |
<persistence-unit name="funkopop" transaction-type="RESOURCE_LOCAL"> | |
<provider>org.hibernate.jpa.HibernatePersistenceProvider</provider> | |
<properties> | |
<property name="javax.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/funkopop" /> | |
<property name="javax.persistence.jdbc.user" value="admin" /> |
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
// Using media-query to generate some common hide/show css classes. | |
// Work in Progress, works with my projects. | |
// !important is sometimes needed with bootstrap, you should try to remove it first. | |
// Most of the time, I just pick one between laptop or desktop | |
// Extra small screen / phone ; | |
$mobileMax: 480px; | |
// Small screen / tablet | |
$tabletMax: 850px; | |
// laptops : |
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
"rules": { | |
"no-consecutive-blank-lines": true, | |
"interface-over-type-literal": false, | |
"trailing-comma":false, | |
"object-literal-sort-keys":false, | |
"member-access":false, | |
"interface-name":false, | |
"arrow-parens":false | |
}, |
OlderNewer