Skip to content

Instantly share code, notes, and snippets.

View Huluvu424242's full-sized avatar
🏠
Working from home

Huluvu424242

🏠
Working from home
View GitHub Profile
@Huluvu424242
Huluvu424242 / sonarqube.yaml
Created December 23, 2023 16:14
Aktion Sonarqube
name: Sonar Cloud Analysis
on:
push:
workflow_dispatch: {}
jobs:
build:
runs-on: ubuntu-latest
@Huluvu424242
Huluvu424242 / Git CheatSheet
Last active December 23, 2023 16:15
Git CheatSheet
#
# good cheat sheet: https://github.com/MrKrishnaAgarwal/Git-CheatSheet
#
# make foo.sh executable
git update-index --chmod=+x foo.sh
@Huluvu424242
Huluvu424242 / example.ts
Created April 19, 2022 18:12
rxjs marble test problem of pipe integration
// Ein Beispiel für ein Filter der von Date.now abhängt
// Der Filter lässt sich als Unittest separat prüfen
//
// Problem: Wie kann ich ein die komplette pipe als
// Integrationtest mit mable time test utils prüfen?
//
// Der Kode ist als unit test formuliert, damit er in idea
// direkt ausführbar ist. Es ist aber natürlich kein Test
// sondern die Problemstellung.
//

Keybase proof

I hereby claim:

  • I am huluvu424242 on github.
  • I am huluvu424242 (https://keybase.io/huluvu424242) on keybase.
  • I have a public key ASAOwWyn2SqDWgujsijccklNIIWZL3Z9d50xtYDddmSa-Qo

To claim this, I am signing this object:

<html>
<head>
<title>Farben</title>
<style>
body {
background-color: gray;
}
.hex {
color: #FAAC58;
}
@Huluvu424242
Huluvu424242 / NbgPlaces.kml
Last active August 29, 2015 14:24
kml Beispiel
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
<name>Placemarks</name>
<Folder>
<name>U-Bahn Notausgänge</name>
<visibility>1</visibility>
<description>Koordinaten der U-Bahn Notausgänge</description>
<Placemark>
@Huluvu424242
Huluvu424242 / gist:ebde1e4fdb7fe4a4056d
Created May 24, 2015 16:10
Ermittle Link Header aus aktueller Seite
<html>
<head>
<link id="link1" rel="search" href="http://www.google.de">
<script type='text/javascript'>
function showLinklist() {
alert('Gleich');
alert(document.getElementById("link1").href);
//alert(document.head.link['link1'].href);
@Huluvu424242
Huluvu424242 / weather.gadget
Created January 11, 2013 17:02
Beschreibung eines Wetter Gadgets welches das OpenSocial API nutzt.
<Module>
<ModulePrefs title="My Weather">
<Locale lang="en" country="us" />
<Require feature="opensocial-0.8" />
<Icon>http://remote/favicon.ico</Icon>
</ModulePrefs>
<Userprefs name="forecast_period"
display_name="Forecast period"
datatype="enum"
default_value="3">
@Huluvu424242
Huluvu424242 / style.css
Created January 9, 2013 19:54
Einbinden von WOFF Schriften in eine Webseite per CSS3 Wenn der Browser kein WOFF versteht wird sans-serif benutzt.
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
@font-face {
font-family: aftershok;
src: url(./AfterShok.woff);
}
p{
font-family: aftershok, sans-serif;
font-size:20px;
public class JavaLoader{
public static void main(String[] args){
String filename="Bonusvarianten/2009.bonus";
Model m=getModel(filename);
for(Variante v: m.getVarianten()){
for(Bezug b: v.getBezuege())
System.out.println(v.getName()+"=>"+b.getVariante().getName());
}
}