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
FROM openjdk | |
MAINTAINER Jakub Pomykała <jakub.pomykala@gmail.com> | |
ENV PATH $PATH:$JAVA_HOME/bin | |
ENV JAVA_OPTS "-server -XX:+UseG1GC -XX:+UseStringDeduplication -XX:+OptimizeStringConcat -XX:+UseStringCache -Dsun.net.inetaddr.ttl=60" | |
ENV HEAP_SPACE "-Xms768m -Xmx1g" | |
ENV REMOTE_DEBUG "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=1044" | |
ENV TIME_ZONE Europe/Warsaw | |
ENV SPRING_PROFILES_ACTIVE live |
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
FROM openjdk | |
MAINTAINER Jakub Pomykała <jakub.pomykala@gmail.com> | |
ENV PATH $PATH:$JAVA_HOME/bin | |
ENV JAVA_OPTS "-server -XX:+UseG1GC -XX:+UseStringDeduplication -XX:+OptimizeStringConcat -XX:+UseStringCache -Dsun.net.inetaddr.ttl=60" | |
ENV HEAP_SPACE "-Xms768m -Xmx1g" | |
ENV REMOTE_DEBUG "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=1044" | |
ENV TIME_ZONE Europe/Warsaw | |
ENV SPRING_PROFILES_ACTIVE live |
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 node1=172.17.0.2 | |
export node2=172.17.0.3 | |
export node3=172.17.0.4 | |
docker run \ | |
--name mongo_1 \ | |
--hostname="node1.example.com" \ | |
--add-host node1.example.com:${node1} \ | |
--add-host node2.example.com:${node2} \ |
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
var list= document.getElementsByClassName("gradeX"); | |
for (var i = 0; i < list.length; i++) { | |
var innerList = list[i].getElementsByClassName("center") | |
for (var j = 0; j < innerList.length; j++){ | |
var avaiableSeats = innerList[0].innerText | |
var rowElements = list[i].getElementsByTagName("td") | |
var course = rowElements[0].innerText | |
if(avaiableSeats > 0 && course === "JZL100473C"){ | |
var code = rowElements[1].innerText | |
var time = rowElements[3].innerText |
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
// ==UserScript== | |
// @name wykop voice commander/inteligentny wypok xD ALPHA/DEMO | |
// @namespace pomidor.com | |
// @version 0.1 | |
// @description sterowanie wykopem glosem | |
// @author KwadratowyPomidor2 | |
// @require https://code.jquery.com/jquery-1.12.4.min.js | |
// @match https://www.wykop.pl/* | |
// @grant GM_setValue | |
// @grant GM_getValue |
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
class GoldenHour { | |
var locationName: String? | |
var start: Date? | |
var end: Date? | |
var latitude: CLLocationDegrees? | |
var longitude: CLLocationDegrees? | |
} |
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
{ | |
"env": { | |
"browser": true, | |
"es6": true | |
}, | |
"parser": "babel-eslint", | |
"extends": "eslint-config-airbnb", | |
"parserOptions": { | |
"ecmaVersion": 8, | |
"ecmaFeatures": { |
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
{ | |
"env": { | |
"browser": 1 | |
}, | |
"globals": { | |
"exampleGlobalVariable": true | |
}, | |
"parserOptions": { | |
"ecmaFeatures": { | |
"jsx": true |
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
{this.state.places.map(function(place) { | |
return <PlacesListComponent key={place.id} place={place}/>; | |
})} |