Skip to content

Instantly share code, notes, and snippets.

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

Lukas Himsel lukas-h

🎯
Focusing
  • Nuremberg, Germany
  • 22:47 (UTC +02:00)
View GitHub Profile
@CliffordAnderson
CliffordAnderson / stolpersteine.geojson
Last active May 1, 2017 16:35
Stolpersteine in Berlin
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@harmoniemand
harmoniemand / PowerShell-Snippet.ps1
Last active March 12, 2018 14:33
Powershell count lines of code
# Count Lines
(dir -include *.cs -recurse | select-string "^(\s*)//" -notMatch | select-string "^(\s*)$" -notMatch).Count
# Search String
$search = "focusSearchInputfield";
Get-ChildItem -Recurse | Where { ! $_.PSIsContainer } | Select-String $search | select LineNumber, Path, Filename |Format-List
(dir -include * -recurse | select-string "_recurse")
# Count all Files
@kirel
kirel / Einwohner Wikipedia.csv
Last active February 13, 2018 13:24
Zugezogene
Rang Name 1970 1980 1990 2000 2010 2014 Bundesland
1. Berlin 3.208.719 3.048.759 3.433.695 3.382.169 3.460.725 3.469.849 Berlin
2. Hamburg 1.793.640 1.645.095 1.652.363 1.715.392 1.786.448 1.762.791 Hamburg
3. München 1.311.978 1.298.941 1.229.026 1.210.223 1.353.186 1.429.584 Bayern
4. Köln 849.451 976.694 953.551 962.884 1.007.119 1.046.680 Nordrhein-Westfalen
5. Frankfurt am Main 666.179 629.375 644.865 646.550 679.664 717.624 Hessen
6. Stuttgart 634.202 580.648 579.988 583.874 606.588 612.441 Baden-Württemberg
7. Düsseldorf 660.963 590.479 575.794 569.364 588.735 604.527 Nordrhein-Westfalen
8. Dortmund 640.642 608.297 599.055 588.994 580.444 580.511 Nordrhein-Westfalen
9. Essen 696.419 647.643 626.973 595.243 574.635 573.784 Nordrhein-Westfalen
@gokulkrishh
gokulkrishh / media-query.css
Last active April 22, 2025 04:29
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
/* CSS */
@kasperpeulen
kasperpeulen / README.md
Last active March 14, 2025 13:39
How to pretty-print JSON using Dart.
@StrykerKKD
StrykerKKD / main.dart
Created April 15, 2015 21:48
Web scraping with Dart
import 'package:http/http.dart' as http;
import 'package:html/parser.dart' as parser;
import 'package:html/dom.dart';
main() async {
http.Response response = await http.get('https://news.ycombinator.com/');
Document document = parser.parse(response.body);
document.getElementsByTagName('a').forEach((Element element){
@JeffPaine
JeffPaine / i3-cheat-sheet.md
Last active April 14, 2025 15:08
i3 Window Manager Cheat Sheet

i3 Window Manager Cheat Sheet

$mod refers to the modifier key (alt by default)

General

  • startx i3 start i3 from command line
  • $mod+<Enter> open a terminal
  • $mod+d open dmenu (text based program launcher)
  • $mod+r resize mode ( or to leave resize mode)
  • $mod+shift+e exit i3
@nukos
nukos / index.html
Created January 31, 2015 15:59
Jekyll for archive list
{% for post in site.posts %}
{% capture month %}{{ post.date | date: '%m%Y' }}{% endcapture %}
{% capture nmonth %}{{ post.next.date | date: '%m%Y' }}{% endcapture %}
{% if month != nmonth %}
<li class="list-item">
<a href="/{{ post.date | date: '%Y/%m/' }}">
<span class="item-year" title="{{ post.date | date: '%Y年' }}">{{ post.date | date: '%Y' }}</span>
<span class="item-month" title="{{ post.date | date: '%m月' }}">{{ post.date | date: '%m' }}</span>
</a>
</li>
@jonpecson
jonpecson / firebase-leaderboard.html
Last active December 16, 2022 12:21
Leaderboard Example (Firebase)
<html>
<head>
<script src="https://cdn.firebase.com/js/client/2.0.4/firebase.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="/resources/tutorial/css/example.css">
</head>
<body>
<div class="example-base example-leaderboard l-demo-container">
<table id="leaderboardTable">
@nukos
nukos / _config.yml
Last active February 12, 2017 15:01
Jekyll Plugin: Liquid tag FontAwesome icon.
fa_prefix: #default: fa
fa_exclude: