Skip to content

Instantly share code, notes, and snippets.

Avatar

Rich Manalang rmanalan

View GitHub Profile
@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>
@rmanalan
rmanalan / raspi-gmail.py
Created Oct 16, 2012 — forked from ladyada/raspi-gmail.py
Raspberry Pi LED E-mail Notifier
View raspi-gmail.py
cat <<! > raspi-gmail.py
#!/usr/bin/env python
import RPi.GPIO as GPIO, feedparser, time
DEBUG = 1
USERNAME = "username" # just the part before the @ sign, add yours here
PASSWORD = "password"
You can’t perform that action at this time.