Skip to content

Instantly share code, notes, and snippets.

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

Martin Eigenmann eigenmannmartin

🏠
Working from home
View GitHub Profile
{
{I have|I've} been {surfing|browsing} online more than {three|3|2|4} hours today, yet I never found any interesting article like yours. {It's|It
is} pretty worth enough for me. {In my opinion|Personally|In my view}, if all {webmasters|site owners|website owners|web owners} and bloggers made good content as
you did, the {internet|net|web} will be {much more|a lot more}
useful than ever before.|
I {couldn't|could not} {resist|refrain from} commenting. {Very well|Perfectly|Well|Exceptionally well} written!|
{I will|I'll} {right away|immediately} {take hold of|grab|clutch|grasp|seize|snatch}
your {rss|rss feed} as I {can not|can't} {in finding|find|to find} your {email|e-mail} subscription {link|hyperlink} or {newsletter|e-newsletter} service. Do {you have|you've} any?
{Please|Kindly} {allow|permit|let} me {realize|recognize|understand|recognise|know} {so that|in order that} I {may just|may|could} subscribe.
Thanks.|
// setup.js
import hook from 'css-modules-require-hook'
import sass from 'node-sass'
hook({
extensions: [ '.scss' ],
preprocessCss: data => sass.renderSync({ data }).css
})
@eigenmannmartin
eigenmannmartin / auto-deploy.md
Created August 31, 2016 06:31 — forked from domenic/0-github-actions.md
Auto-deploying built products to gh-pages with Travis

Auto-deploying built products to gh-pages with Travis

This is a set up for projects which want to check in only their source files, but have their gh-pages branch automatically updated with some compiled output every time they push.

Create a compile script

You want a script that does a local compile to e.g. an out/ directory. Let's call this compile.sh for our purposes, but for your project it might be npm build or gulp make-docs or anything similar.

The out/ directory should contain everything you want deployed to gh-pages. That almost always includes an index.html.

INCIDENT DATE - INCIDENT TYPE

Meeting

Waiving meetings

In some cases the IC might determine that a PM meeting for the incident isn't needed. If the IC decides to waive the meeting please replace the Meeting section with a note indicating the meeting has been waived (example: Meeting waived: Paul Mooring)


title: you might be better off without async/await publishedAt: 06.12.2017 16:10 ...

With es2017, async/await is the new hot sh**. And with Babel it is tempting to use it everywhere.

/*
* If you rewrite this express route in es2017...
import withApollo from 'next-with-apollo'
import { ApolloClient, InMemoryCache, HttpLink } from 'apollo-boost';
import { pathOr } from 'lodash/fp'
import fetch from 'isomorphic-unfetch'
export default withApollo(({ ctx, headers, initialState }) => {
const isBrowser = typeof window !== 'undefined'
const endpoint = '/graphql'
const proto = pathOr('https', 'x-forwarded-proto', headers);
using Graphics;
namespace Study {
public class Drawing {
public static void Main(string[] args) {
Rectangle t = new Rectangle();
t.leftBottom = new Point(2,2);
t.leftTop = new Point(2,6);

Keybase proof

I hereby claim:

  • I am eigenmannmartin on github.
  • I am eigenmannmartin (https://keybase.io/eigenmannmartin) on keybase.
  • I have a public key ASCGo95K148mhoIeb3qco8cM7GTiqf7KQWeptKO_Df4WOwo

To claim this, I am signing this object:

#!/bin/sh
sudo apt update -y
sudo DEBIAN_FRONTEND=noninteractive apt upgrade -y
sudo apt install curl vim zsh git pip bat python3.9 fonts-powerline -y
sudo apt install pcscd scdaemon -y
sudo chsh -s $(which zsh) $(whoami)
sudo pip3 install pipenv
sudo nvm install 14
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | zsh