Skip to content

Instantly share code, notes, and snippets.

View Wachiwi's full-sized avatar
🎧
Focusing on to much

David Wachiwi

🎧
Focusing on to much
View GitHub Profile
@Wachiwi
Wachiwi / bg.css
Created February 6, 2016 16:07
Semantic background
.red.background {
background-color: #B03060;
}
.blue.background {
background-color: #0E6EB8;
}
.orange.background {
background-color: #FE9A76;
}
.yellow.background {
<!DOCTYPE html>
<html>
<head>
<link href="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<link href="https://cdn.rawgit.com/mdehoog/Semantic-UI/6e6d051d47b598ebab05857545f242caf2b4b48c/dist/semantic.min.css" rel="stylesheet" type="text/css" />
<script src="https://code.jquery.com/jquery-2.1.4.js"></script>
<script src="https://cdn.rawgit.com/mdehoog/Semantic-UI/6e6d051d47b598ebab05857545f242caf2b4b48c/dist/semantic.min.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
</head>

Keybase proof

I hereby claim:

  • I am wachiwi on github.
  • I am wachiwi (https://keybase.io/wachiwi) on keybase.
  • I have a public key whose fingerprint is 4B2C C04C EDB0 21E2 31F4 BBEB 477D 0863 15A9 71D5

To claim this, I am signing this object:

@Wachiwi
Wachiwi / data.js
Last active April 16, 2017 13:05
Javascript event-driven data object
var data = {
_value: undefined,
_handlers: [],
set: function(val, cb){
this._value = val;
this.attach(cb);
this._handlers.forEach(function(cb){cb();});
},
get: function() {return this._value;},
attach: function(cb) {
@Wachiwi
Wachiwi / ReadMe.md
Last active May 11, 2017 08:46
Praktikum 4

Vorbereitung

Aufgabe 1-3 nach anleitung, kein großer Aufwand

Hinweis: malloc() legt daten auf dem heap ab, wir möchten sie allerdings auf dem stack, daher verwendung von []

4. Analyse und "Reverse"-Engineering

GDB internal commands:

@Wachiwi
Wachiwi / ReadMe.md
Last active May 11, 2017 09:57
Praktikum 5

Vorbereitung

Keine

Ausgangssituation

Ausgangssituation ist wie in P4 ein simples hackbares Programm via Buffer-Overflow:

#include <stdio.h>
@Wachiwi
Wachiwi / ReadMe.md
Last active May 21, 2017 09:54
Praktikum 6

Vorbereitung

Ausgangssituation

Die Ausgangssituation für das Praktikum ist ein rekursives Programm zur Berechnung der Fibonacci-Zahlen von 0 < n <= 5.

#include <stdio.h>
#include <stdlib.h>
As <STAKEHOLDER> I want to have the possibility ...
**Acceptance criterias**:
- [X] Criteria
- [ ] ...
# This is a template Makefile generated by rpcgen
# Parameters
CLIENT = vs_client
SERVER = vs_server
SOURCES_CLNT.c =
SOURCES_CLNT.h =
@Wachiwi
Wachiwi / fun.S
Last active June 8, 2017 12:03
MARE P7
.global _start
.data
c: .ascii "c"
.text
_start:
popq %rax // Beim Start steht die Anzahl der
// auf der Kommandozeile uebergebenen
// Parameter auf dem Stack; popq %rax