Skip to content

Instantly share code, notes, and snippets.

View rmanalan's full-sized avatar
:octocat:

Rich Manalang rmanalan

:octocat:
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<script src="https://unpkg.com/launchdarkly-js-client-sdk@2.18.1/dist/ldclient.min.js"></script>
</head>
<body>
<h1>Hello World!</h1>
<p>
My first feature flag is <b><span id="flag"></span></b>
</p>
@rmanalan
rmanalan / index.jsx
Created February 27, 2020 23:17
Basic usage of gatsby-plugin-launchdarkly
import React from "react"
import { Link } from "gatsby"
import Layout from "../components/layout"
import Image from "../components/image"
import SEO from "../components/seo"
import { useFlags } from 'gatsby-plugin-launchdarkly'
const IndexPage = () => {
An image store gist

Keybase proof

I hereby claim:

  • I am rmanalan on github.
  • I am rmanalan (https://keybase.io/rmanalan) on keybase.
  • I have a public key ASD6-oggjFOdkqlUpvlk9ZxtVHKuOBIciRcr7K4qJEBLKQo

To claim this, I am signing this object:

@rmanalan
rmanalan / test.md
Last active February 21, 2019 00:15

Test

this is a test

usage()
{
cat << EOF
usage: $0 options
ChrUbuntu installation script.
OPTIONS:
-h show help.
-m Ubuntu metapackage to install such as xubuntu-desktop, kubuntu-desktop or ubuntu-minimal. Default is ubuntu-desktop
@rmanalan
rmanalan / esnextbin.md
Created May 12, 2016 17:17
esnextbin sketch
var elems = $('#post p');
$.each(elems, function(i,elem){
var $elem = $(elem);
// bail if there's no match
if (remoticon.hasMatch($elem.text())) {
$elem.html(remoticon.render($elem.html()));
}
});

Crappie Goals

  1. Optimize for maintainability
  2. Build for reusability
  3. Make the web client awesome again