Skip to content

Instantly share code, notes, and snippets.

View HarmlessEvil's full-sized avatar

Alexander HarmlessEvil

View GitHub Profile
@HarmlessEvil
HarmlessEvil / Dockerfile
Last active May 13, 2020 17:15
Refined build system for BigSister
# Build backend
FROM adoptopenjdk/openjdk11:alpine-slim AS build-backend
RUN mkdir build
WORKDIR build
COPY . .
RUN ./gradlew installDist
RUN mv build/install/bigsister /out
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
@HarmlessEvil
HarmlessEvil / index.html
Last active December 19, 2017 05:59
Шаблон веб-странички на HTML - то, что всегда должно на ней быть
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
</body>
</html>
@HarmlessEvil
HarmlessEvil / main.js
Created October 22, 2017 16:06
Animation on waypoint
function attach_animation(selector, animation) {
$(selector).waypoint(function() {
var element = $(this.element);
element.css('visibility', 'visible');
element.addClass(animation + ' animated');
}, {offset: "80%"});
}