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
void dioda(int a, int b) | |
{ | |
digitalWrite(a, LOW); | |
digitalWrite(b, HIGH); | |
delay(400); | |
digitalWrite(b, HIGH); | |
digitalWrite(a, LOW); | |
} |
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
<!-- usage --> | |
<div th:insert="template :: pagination(${logsList}, ${'/admin/log/list'}, ${100})"></div> | |
<!-- pagger --> | |
<div th:fragment="pagination(page, mapping, buttonPages)"> | |
<div class="dataTables_paginate paging_simple_numbers"> | |
<ul class="pagination"> | |
<li class="paginate_button previous" | |
th:classappend="${page.hasPrevious()} ? '' : 'disabled'"> | |
<a th:if="${page.hasPrevious()}" th:href="@{${mapping}(page=${page.getNumber()-1})}">Previous</a> |
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
openssl req -new -newkey rsa:2048 -nodes -keyout APPNAME.key -out APPNAME.csr |
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}/>; | |
})} |
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
{ | |
"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
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
// ==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
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 |
OlderNewer