Skip to content

Instantly share code, notes, and snippets.

Lukas Himsel lukas-h

Block or report user

Report or block lukas-h

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@lukas-h
lukas-h / getip.c
Created May 1, 2019
Get IP with hostname (unix console tool)
View getip.c
/*
* `getip.c'
*
* Copyright (C) 2015, 2016 Lukas Himsel <lukas.himsel@web.de>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
@lukas-h
lukas-h / snippet.c
Created May 1, 2019
Snippet for allegro 4 game engine to create a basic 2d game
View snippet.c
/*
* snippet.c
*
* Copyright (C) 2015, 2016 Lukas Himsel <lukas.himsel@web.de>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
@lukas-h
lukas-h / backup.sh
Created May 1, 2019
Backup your linux system harddrive
View backup.sh
#!/bin/sh
# Written by Lukas Himsel <lukas.himsel@web.de>
#
# -> backup your complete linux system <-
#
# Variables:
# BACKUP_DEVICE is the *mounted* harddrive for the backup
# BACKUP_DATE is the actual date and it's used to create a folder
# with the actual date
#
View ascii.c
/* ~ write all ascii characters into a file~
Is this program useful? NO!!! It's an obfuscated program that does nothing!!!*/
#include <stdio.h>
main(){FILE*f=fopen("ASCIITABLE.txt","w");char i=0x0;while
(f!=NULL){putc(i,f);if(i==0x7E){break;}else{i++;}}fclose(f);}
View keybase.md

Keybase proof

I hereby claim:

  • I am lukas-h on github.
  • I am lukashimsel (https://keybase.io/lukashimsel) on keybase.
  • I have a public key ASA7-j-YbmvdT-oDmPrm8rYO5bnouJTZP8OcKroiFjFrhgo

To claim this, I am signing this object:

@lukas-h
lukas-h / license-badges.md
Last active Mar 31, 2019
Lizenz-Buttons für dein Projekt
View license-badges.md

Markdown Lizenz-Buttons

Sammlung von Lizenz-Schildern (Badges) für die README-Datei deines Projekts. Diese Liste enthält die meist verbreiteten Open Source und Open Data Lizenzen. Kopieren und fügen Sie den Code unter den Badges einfach in Ihre Markdown-Dateien ein.

Notes

View gist:991507be2ac49a28a5d99e7f9fdeb3fe
"I understand just train":"station ",sorry, my englisch is under all pig ":" Entschuldige, mein Englisch ist unter aller Sau",I think I spider ":" Ich glaub ich spinne",the devil will i do ":" Den Teufel werd ich tun",my lovely mister singing club ":" Mein lieber Herr Gesangsverein",come on...jump over your shadow ":" Komm schon...spring über Deinen Schatten",you walk me animally on the cookie ":" Du gehst mir tierisch auf den Keks",there my hairs stand up to the mountain ":" Da stehen mir die Haare zu Berge",tell me nothing from the horse ":" Erzähl mir keinen vom Pferd",don´t ask after sunshine ":" Frag nicht nach Sonnenschein",it´s not good cherry":"eating with you ",now it goes around the sausage ":" Jetzt geht´s um die Wurst",there are you on the woodway ":" Da bist Du auf dem Holzweg",holla the woodfairy ":" Holla die Waldfee",I hold it in head not out ":" Ich halt´s im Kopf nicht aus",now butter by the fishes ":" Jetzt mal Butter bei die Fische",I see black for you ":" Ich seh Schwarz für Dich",your ar
View test.css
.chatlist{
position: fixed;
top: 0;
left: 0;
right: 0;
bottom:38px;
background-color: black;
border: 1px solid blue;
overflow-x: hidden;
overflow-y: visible;
@lukas-h
lukas-h / mvc.dart
Last active Jul 16, 2018
Dart Model View Control Test
View mvc.dart
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);
}
@lukas-h
lukas-h / parse.dart
Last active Apr 22, 2018
moment.js in Dart
View parse.dart
new DateTime.now()
new DateTime(2018, 4, 22)
DateTime.parse("2018-04-22 21:13:15")
DateTime.parse("+20180422")
You can’t perform that action at this time.