Skip to content

Instantly share code, notes, and snippets.

View tobiasbu's full-sized avatar
🎯
Focusing

Tobias Ulrich tobiasbu

🎯
Focusing
View GitHub Profile
@tobiasbu
tobiasbu / nodejs_server.js
Last active March 17, 2021 14:00
Getting started in Nodejs - basic http server
const http = require("http");
const host = 'localhost';
const port = 3000;
/**
* @type {http.RequestListener}
*/
const requestListener = function (req, res) {
console.log(req.method, req.url);
@tobiasbu
tobiasbu / generate-drawables.sh
Last active September 20, 2020 02:31
Generate Android mipmap/drawables from SVG file to 6 DPI images
#!/bin/bash
# Example usage:
#
# ./generate-drawables.sh ic_logo.svg 80 /Users/tobiasbu/REPOS/mobile-app/android/app/src/main/res
#
# Arguments:
# #1 <REQUIRED> The SVG file to be converted
# #2 <REQUIRED> DP/DPI of the vector file
# #3 Output path. Default: out/<filename>/*
@tobiasbu
tobiasbu / gist:16360df04fad7904eaa63d90710853f0
Created October 23, 2017 17:01 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue: