Skip to content

Instantly share code, notes, and snippets.

View beeman's full-sized avatar
🐝
Buzzin....

beeman

🐝
Buzzin....
View GitHub Profile
FROM node:12-alpine
# FROM node:12 use the Ubuntu-based versions if you have issues building deps on Alpine
# Set some Yarn settings
RUN yarn config set cache-folder ~/.yarn \
&& yarn config set network-timeout 300000 -g \
&& yarn config set prefer-offline true
# Create app directory
WORKDIR /workspace
@beeman
beeman / README.md
Created April 26, 2020 19:43
GraphQL Crud Decorators

For my NestJS API I want to be able to automatically generate my GraphQL CRUD code that I keep on repeating, based on the model that I want to work on.

This is very similar to what for instance nestjsx/crud does for Rest API's.

Another similar project is doug-martin/nestjs-query

The API I'd like to use is the following:

Installation:

  • download generate-app.sh
  • Give permissions: chmod +x generate-app.sh

Usage:

  • cd /tmp
  • generate-app.sh

CSS Grid Admin Dashboard

A dashboard-style admin interface built using CSS Grid, with a Flexbox fallback for older browsers.

A Pen by Max Böck on CodePen.

License.

@beeman
beeman / graphql.module.ts
Last active January 20, 2020 21:52
Installing Apollo Client in Angular
import { NgModule } from '@angular/core';
import { ApolloModule, APOLLO_OPTIONS } from 'apollo-angular';
import { HttpLinkModule, HttpLink } from 'apollo-angular-link-http';
import { InMemoryCache } from 'apollo-cache-inmemory';
import { WebSocketLink } from 'apollo-link-ws';
import { ApolloLink, split } from 'apollo-link';
import { getMainDefinition } from 'apollo-utilities';
import { environment } from '../environments/environment';
export function createApollo(httpLink: HttpLink) {
@beeman
beeman / keybase.md
Created September 10, 2019 15:57
keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@beeman
beeman / ubuntu.ks
Created July 22, 2019 04:43 — forked from funzoneq/ubuntu.ks
Ubuntu kickstart file
#Generated by Kickstart Configurator
#platform=x86
# Fetch content from here
url –url http://nl.archive.ubuntu.com/ubuntu/
#System language
lang en_US.UTF-8
#Language modules to install
{
"basics": {
"name": "Bram Borggreve",
"label": "Senior Software Engineer - Founder at Code Your Future Colombia - Co-Founder at Trilon - StackBlitz Team",
"picture": "",
"email": "beeman@beeman.nl",
"phone": "+15409233626",
"website": "https://colmena.io",
"summary": "I am Bram Borggreve, a Dutch software engineer. At the age of 35 I sold my house, gave away my stuff and started living abroad. I have since spent time in more than 15 countries!",
"location": {
@beeman
beeman / selective-bootstrap.scss
Created January 10, 2019 03:36
This is a way to selectively use features from bootstrap, for instance to add some more classes to an app that uses Angular Material
// ******************************************************************* //
// *** Make sure you install the package 'bootstrap-scss' from npm *** //
// ******************************************************************* //
// ******************************************************* //
// *** Functions and variables need to be loaded first *** //
// ******************************************************* //
@import "~bootstrap-scss/functions";
@import "~bootstrap-scss/variables";
@beeman
beeman / README.md
Last active December 15, 2018 23:46
Getting into mentoring

1. Find a person you can mentor

Shout out on Twitter that you want to mentor and ask for retweets. Alternatively, get in touch with a person that is already mentoring students as they generally know more people that are interested.

2. Schedule an introduction call

Get to know each other during introduction call. You can talk about what the student knows, and what goals they have that you can help them with.

3. Determine what the mentoring could look like