Skip to content

Instantly share code, notes, and snippets.

View apertureless's full-sized avatar
:shipit:
Finding ...<b>u</b>

Jakub apertureless

:shipit:
Finding ...<b>u</b>
View GitHub Profile
import {Line} from 'vue-chartjs'
export default {
extends: Line,
mounted () {
this.renderChart({
labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
datasets: [
{
label: 'Data One',
.Chart {
background: #212733;
border-radius: 15px;
box-shadow: 0px 2px 15px rgba(25, 25, 25, 0.27);
margin: 25px 0;
}
.Chart h2 {
margin-top: 0;
padding: 15px 0;
@apertureless
apertureless / App.vue
Last active September 6, 2018 14:41
Medium Vue.js & Chart.js
<template>
<div id="app">
<div class="container">
<div class="Chart__list">
<div class="Chart">
<h2>Linechart</h2>
<line-example></line-example>
</div>
</div>
</div>
@apertureless
apertureless / LineChart.js
Last active February 21, 2017 17:40
Vue-Chartjs
import {Line} from 'vue-chartjs'
import reactiveProp from './mixin.js'
export default Line.extend({
mixins: [reactiveProp],
props: ['chartData', 'options'],
mounted () {
this.renderChart(this.chartData, this.options)
}
})

Keybase proof

I hereby claim:

  • I am apertureless on github.
  • I am apertureless (https://keybase.io/apertureless) on keybase.
  • I have a public key ASCK-sG7mtSCFr9gmXBPmHTgzE9C0H42zODzX_AN-T_vTQo

To claim this, I am signing this object:

@apertureless
apertureless / bem.less
Created January 23, 2016 17:59 — forked from vivid-web/bem.less
BEM Helper (SCSS, SASS, LESS, Stylus)
// Mixins
.has(@element; @content) {
&__@{element} {
@content();
}
}
.variant(@modifier; @content) {
&--@{modifier} {
@content();
@apertureless
apertureless / Contract Killer 3.md
Created September 23, 2015 16:12 — forked from malarkey/Contract Killer 3.md
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post

import bpy
import math
# Variablen
durchmesser = 0.25 #object.dimensions[0]
höhe = 1.7
wurfgeschwindigkeit = 3
g = 9.81
@apertureless
apertureless / ANI-2015-Praktikum-2.py
Last active August 29, 2015 14:19
Basketball Bounce animation script
import bpy
import math
# Variablen
d = 0.25 # Durchmesser
h = 1.7 # Hoehe
v = 0.8 # Geschwindigkeit
g = 9.81 # Erdanziehung