Skip to content

Instantly share code, notes, and snippets.

View popenkomaksim's full-sized avatar

Maksym Popenko popenkomaksim

  • DataArt
  • Kyiv, Ukraine
View GitHub Profile
@popenkomaksim
popenkomaksim / index.html
Created October 24, 2014 12:37
test d3 page
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
margin: 0;
}
path {
fill: none;
git clone REPO tmp && mv tmp/.git . && rm -rf tmp && git reset --hard
console.wish = function (wishes){
console.log("**** " + wishes + " ****");
};
function HappyBirthday() {
this.congratulate = function(name) {
console.wish("Happy Birthday " + name);
console.wish("Whish you no uncaught TypeErrors like: Cannot set property 'getMoney' of undefined");
console.wish("And no uncaught ReferenceError like: 'health' is not defined");
console.wish(":-)");
if (!lanch.isGovno()) {
order(lanch);
} else if (burito.isExists()) {
order(burito);
} else {
order(caesar);
}
@popenkomaksim
popenkomaksim / .gitignore
Created June 15, 2017 09:40 — forked from octocat/.gitignore
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
# All build snippets are based on Ubuntu trusty:
containers:
build:
setup:
- !Ubuntu trusty
- !UbuntuUniverse
# ------------------------------------------------------------------------
containers:
frontend:
setup:
- !Ubuntu trusty
- !UbuntuUniverse
- !BuildDeps [ca-certificates, wget, git, node, npm]
- !Sh "npm install -g n"
- !Sh "npm run set-project-node-version"
- !Sh "npm install -g node-gyp"
- !NpmInstall
@popenkomaksim
popenkomaksim / remove-merged-local-git-branches
Created August 18, 2017 12:09
Remove merged local branches
git branch --merged development | grep -v development | xargs -n 1 git branch -d
@popenkomaksim
popenkomaksim / .block
Created January 2, 2018 14:29 — forked from mbostock/.block
Poisson-Disc V
license: gpl-3.0
@popenkomaksim
popenkomaksim / .block
Created January 2, 2018 15:46 — forked from mbostock/.block
Isometric III
license: gpl-3.0