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
//a tag 'title' with him body. Even with newlines | |
<title>[A-Z0-9\ \_\/\(\)\-\,\.\’\'\?\:\&\;\n\«\"\!\»\‘\%\“\”\[\]àèìòùéö#ä]*</title>\n |
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
//WICH VIDEO DRIVER I'M USING | |
> sudo lshw -c video | |
//WICH KERNEL I'M USING | |
> uname -r | |
> uname -a | |
//SED | |
> sed -i 's/8080/8181/g' /apache-tomcat-7.0.39/conf/server.xml |
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
//guava | |
import com.google.common.collect.ImmutableMap | |
return new ImmutableMap.Builder<String, Integer>() | |
.put("one", 1) | |
.put("two", 2) | |
.put("three", 3) | |
.build(); | |
import java.util.Collections; | |
Collections.<String,String>emptyMap(); |
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
//junit<->junit<->4.12 | |
//org.hamcrest<->hamcrest-all<->1.3 | |
import static org.junit.internal.matchers.StringContains.*; | |
import static org.junit.Assert.*; | |
assertThat("ABC", containsString("B")); | |
import static org.junit.internal.matchers.IsCollectionContaining.*; | |
import static org.hamcrest.core.IsEqual.*; | |
import static org.junit.Assert.*; |
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
//clean all | |
docker rm $(docker ps -a -q) | |
docker rmi $(docker images -q) | |
sudo service docker stop | |
sudo rm -rf /var/lib/docker/* | |
sudo service docker start | |
// | |
sudo docker exec -i -t [NAME/ID] /bin/bash |
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
<html> | |
<head> | |
<title>AAA</title> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ==" crossorigin="anonymous"> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-aUGj/X2zp5rLCbBxumKTCw2Z50WgIr1vs/PFN4praOTvYXWlVyh2UtNUU0KAUhAX" crossorigin="anonymous"> | |
<style> | |
.glyphicon-refresh-animate { | |
-animation: spin .7s infinite linear; | |
-ms-animation: spin .7s infinite linear; | |
-webkit-animation: spinw .7s infinite linear; |
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
<body></body> | |
<script src="http://gamingJS.com/Three.js"></script> | |
<script src="http://gamingJS.com/ChromeFixes.js"></script> | |
<script src="http://gamingJS.com/Tween.js"></script> | |
<script> | |
var scene = new THREE.Scene(); | |
var width = window.innerWidth - 20; | |
var height = window.innerHeight - 20; |
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
<body></body> | |
<script src="http://gamingJS.com/Three.js"></script> | |
<script src="http://gamingJS.com/ChromeFixes.js"></script> | |
<script src="http://gamingJS.com/Tween.js"></script> | |
<script> | |
var scene = new THREE.Scene(); | |
var width = window.innerWidth - 20; | |
var height = window.innerHeight - 20; |