Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:

Rich Manalang rmanalan

:octocat:
View GitHub Profile
View feature-flag-example.html
<!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 Feb 27, 2020
Basic usage of gatsby-plugin-launchdarkly
View index.jsx
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 = () => {
View keybase.md

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:

View test.md

Test

this is a test

View c720.sh
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
View remoticon-example.js
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()));
}
});
View crappie.md

Crappie Goals

  1. Optimize for maintainability
  2. Build for reusability
  3. Make the web client awesome again
View atlassian-plugin.xml
<atlassian-plugin key="{{key}}" name="{{name}}" plugins-version="2"
xmlns="https://ecosystem.atlassian.net/rest/atlassian-connect/1/installer/schema/atlassian-plugin">
<plugin-info>
<description>{{description}}</description>
<version>{{version}}</version>
<vendor name="{{vendorName}}" url="{{vendorUrl}}"/>
<permissions>
<permission>create_oauth_link</permission>
</permissions>