Skip to content

Instantly share code, notes, and snippets.

View lukas-h's full-sized avatar
🎯
Focusing

Lukas Himsel lukas-h

🎯
Focusing
  • Nuremberg, Germany
  • 02:43 (UTC +02:00)
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lukas-h
lukas-h / categories.html
Created July 31, 2017 13:06
Merge site.categories with site.tags
{% assign all_categories = "" | split:"/" %}
{% assign categories = "" | split:"/" %}
{% for tag in site.categories %}
{% assign all_categories = all_categories | push: tag %}
{% endfor %}
{% for tag in site.tags %}
{% assign all_categories = all_categories | push: tag %}
{% endfor %}
@lukas-h
lukas-h / .travis.yml
Last active October 12, 2017 23:02 — forked from rmsubekti/.travis.yml
Automatic deploy Jekyll Site to firebase hosting
language: node_js
node_js: '8'
notifications:
email: false
before_install:
- rvm install 2.4
- rvm use 2.
- gem install bundler
- bundle install
@lukas-h
lukas-h / club-mate.json
Created October 13, 2017 23:11
club mate
{
"version": 0.6,
"generator": "Overpass API",
"osm3s": {
"timestamp_osm_base": "2017-10-12T12:41:02Z",
"copyright": "The data included in this document is from www.openstreetmap.org. The data is made available under ODbL."
},
"elements": [
{
@lukas-h
lukas-h / gulpfile.js
Created March 27, 2018 16:33
Speed up Jekyll generation
var gulp = require('gulp');
var sass = require('gulp-sass');
//style paths
var sassFiles = 'assets/css/*.scss',
cssDest = '_includes/css/';
gulp.task('default', function(){
gulp.src(sassFiles)
.pipe(sass({outputStyle: 'compressed'}).on('error', sass.logError))
@lukas-h
lukas-h / shitstr.md
Last active May 9, 2020 08:38
Shitstr

@DanielWierbicki 9. Dez.2016 Ich nehme halben Tag Urlaub, damit ich im Starbucks weiter arbeiten kann. Irgendwas mach ich falsch. Ich wechsle gerne die Arbeitsumgebung.

1 Antwort 0 Retweets 2 Gefällt mir Antworten 1 Retweeten Gefällt mir 2 Direktnachricht

Oskar Schmidt

targets:
$default:
sources:
- "node/**"
- "lib/**"
builders:
build_node_compilers|entrypoint:
generate_for:
- node/**
options:
@lukas-h
lukas-h / cascade.dart
Last active April 14, 2018 09:18
Cascade Notation in Dart
querySelector('#confirm')
..text = 'Confirm'
..classes.add('important')
..onClick.listen((e) => window.alert('Confirmed!'));
@lukas-h
lukas-h / parse.dart
Last active April 22, 2018 19:29
moment.js in Dart
new DateTime.now()
new DateTime(2018, 4, 22)
DateTime.parse("2018-04-22 21:13:15")
DateTime.parse("+20180422")
@lukas-h
lukas-h / mvc.dart
Last active July 16, 2018 18:24
Dart Model View Control Test
import 'dart:html';
import 'dart:math';
class View{
var button, text, listener;
View(Function f){
button = querySelector("#button");
text = querySelector("#text");
listener = button.onClick.listen(f);
}