Skip to content

Instantly share code, notes, and snippets.

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

beeman beeman

🐝
Buzzin....
View GitHub Profile

fc-base-pen [ Angular - UI-Router - Bootstrap ]

This is a template with :

  • angular 1.5.3
  • ui-router 1.0.0-alpha.4
  • bootstrap-3.3.6
  • font-awesome-4.6.1

A couple of notes on this template:

@beeman
beeman / dploy-colmena.sh
Last active August 20, 2017 18:52
Install Colmena on dply.co https://dply.co/b/q6aJuU0e
#!/bin/sh
# Create and activate swap
dd if=/dev/zero of=/swapfile bs=256M count=4
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
# Activate swapfile on boot
echo "" >> /etc/fstab
echo "/swapfile none swap sw 0 0" >> /etc/fstab
@ducin
ducin / README.md
Last active April 15, 2018 15:33
JSON-Schema-faker console basic demo

JSON-Schema-faker demo

Run the following:

npm install
node run.js

to execute the demo.

@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

@detroitenglish
detroitenglish / zxcvbn-haveibeenpwned-pw-check.js
Last active January 10, 2020 00:04
Fastify Handler: Password Scoring with zxcvbn + haveibeenpwned Range Query API
import zxcvbn from 'zxcvbn'
import axios from 'axios'
import crypto from 'crypto'
// Input is first validated via native Fastify JSON-schema declaration
export async function passwordStrengthChecker(req, reply) {
const { password } = req.body
let message, pwned, ok
let { score } = zxcvbn(password)
try {
@gauntface
gauntface / sw-unit-tests.js
Created March 6, 2017 22:06
An example of Mocha running in a service worker / web worker.
importScripts('/node_modules/mocha/mocha.js');
mocha.setup({
ui: 'bdd',
reporter: null,
});
describe('First SW Test Suite', function() {
it('should test something', function() {
...
published series title
false
{"series"=>nil}
{"title"=>nil}

Introduction

In this post, we will look at...

### Phrase:
hi guys,
hey guys,
hello guys,
you guys,
guys
### Respose:
Did you mean team?
Did you mean all?
@StefanNieuwenhuis
StefanNieuwenhuis / reactiveconf-framework-independent-components-library-with-StencilJS.md
Last active September 23, 2020 12:55
How to build a framework independent component library with StencilJS

How to build a framework independent component library with StencilJS

This is a proposal for a lightning talk at Reactive Conf. Please 🌟 this gist to push the proposal! If you're on your phone, please request the 🖥 desktop site to star this gist 😇 #ReactiveConf

this is what i use so far, its obviously not a 100% replica of the typography plugin but looks good enough on my site

  /* replace typography plugin */
  .prose {
    @apply text-gray-700 dark:text-gray-300
  }
  .prose {
    & p {