Skip to content

Instantly share code, notes, and snippets.

View coderbyheart's full-sized avatar
🌩️
building serverless IoT solutions

Markus Tacker coderbyheart

🌩️
building serverless IoT solutions
View GitHub Profile
@coderbyheart
coderbyheart / guzzle-json-example.php
Last active November 20, 2019 08:13
Guzzle JSON example
<?php
// GET
$request = $client->get($url, array('Accept' => 'application/json'));
$response = $request->send();
if ($response->getStatusCode() < 200 || $response->getStatusCode() >= 300) {
// Error
}
@coderbyheart
coderbyheart / console.log
Last active August 29, 2015 14:18
Session transfer JSON format
-------- Overflow #1 [Seats(-100)]--------
9 Uhr:Comics enterprise -- [Verena, Herbert] NEED:Beamer Seats(10) -- COST: 1320
10 Uhr:Startups for startups -- [Walter, Yves] NEED:Seats(20) -- COST: 1220
11 Uhr:UX basics -- [Quentin] NEED:Beamer Seats(10) -- COST: 1320
12 Uhr:Java for nerds -- [Olga] NEED:Beamer Seats(10) FD: 12WD: (50) - 10 11 13 -- COST: 1320
13 Uhr:RM rocks for nerds -- [Rainer, Hannah] NEED:Beamer Seats(10) -- COST: 1320
14 Uhr:------- FREI -------
-------- Mnchen [Beamer Seats(40)]--------
9 Uhr:UX hardcore -- [Sandra] NEED:Beamer Seats(20) -- COST: -20
@coderbyheart
coderbyheart / Default-Startup-Weekend-Schedule.md
Last active February 8, 2018 15:31
Default Startup Weekend shedule
Time Activity Description
Friday
1830 Registration Arrive at the venue and get checked in
1900 Dinner & Networking Eat food, share ideas, practice pitches, get to know fellow participants
1920 Welcome & Speakers Review agenda for the weekend and introduce speakers, coaches, and community leaders
1930 Pitches Start Optionally line up to give your pitch
2100 Voting Attendees vote for the top pitches
2115 Form Teams Teams start forming and discussing ideas
2200 Begin Work Start to formalize teams and take an inventory of skills. Be honest, and direct about what resources and skills are needed for the weekend. You may stay and work as late as the venue will allow
@coderbyheart
coderbyheart / 150615_CLARK_ Deutschlands_Online-Versicherungsmakler_für_Digital_Native....md
Created June 15, 2015 08:53
CLARK.DE: Deutschlands Online-Versicherungsmakler für Digital Natives geht an den Start

CLARK.DE: Deutschlands Online-Versicherungsmakler für Digital Natives geht an den Start

  • Produkt- und Provisionstransparenz auf www.clark.de
  • Berater empfehlen ohne Provisionsanreiz
  • Niedrige Kosten sollen an Kunden weitergegeben werden
  • Erfahrenes Gründerteam um Wimdu-Mitgründer Christopher Oster

Berlin, 15. Juni 2015 - Mit Clark startet in Deutschland der erste Online- Versicherungsmakler, der modernste Internet-Technologie mit Produkt- und Kostentransparenz sowie einer bedarfsorientierten Beratung vereint. „Clark ist

// services/calculator.js
// contains a plain javascript object, which can be tested directly with mocha
var calculateResult = function (interest, duration, amount) {
return …
};
module.exports = {
calculateResult: calculateResult
};
@coderbyheart
coderbyheart / swwtfc-sunday-evening-shedule.md
Last active September 27, 2015 18:17
#swwtfc sunday evening shedule
Time Agenda
18:00 Presentations Intro
18:20 Announcement of Jurors
18:30 Pitches start
EDUVEST
FOUNDERS
Fastinline
EMOTION CUBE
ZEPHYRION WIND ENERGY
@coderbyheart
coderbyheart / fintechs-uk-de.md
Last active November 6, 2015 13:21
Fintech in UK and Germany according to a student of Entrepreneurship at the Julius Maximilian University of Würzburg
@coderbyheart
coderbyheart / arch-linux-intel-compute-stick.md
Created January 8, 2016 16:03
Arch Linux on Intel Compute Stick
@coderbyheart
coderbyheart / pin.sh
Last active March 4, 2016 13:19
pin.sh
#!/bin/bash
# Use pin.sh to prevent accidently repeating of dangerous commands
# Usage:
# $ pin.sh rm -rf /
# $ Please type the PIN 7945 to continue: 1234
# $ Sorry :-(
PIN="$(((RANDOM % 9)+1))$(((RANDOM % 9)+1))$(((RANDOM % 9)+1))$(((RANDOM % 9)+1))"
echo -n "Please type the PIN $PIN to continue: "
@coderbyheart
coderbyheart / web-video-conversion.sh
Last active October 18, 2016 11:49
web-video-conversion.sh
#!/bin/bash
IN=$1
OUT="`echo "$IN" | cut -d'.' -f1`-web"
rm -f ffmpeg2pass*
# 1/3 of 1920x1090
WIDTH=1280
HEIGHT=720