Skip to content

Instantly share code, notes, and snippets.

View rmanalan's full-sized avatar
:octocat:

Rich Manalang rmanalan

:octocat:
View GitHub Profile
# Logfile created on Tue Mar 31 15:54:58 -0700 2009 by /
=========================
RSS import started at Tue Mar 31 15:54:58 -0700 2009 376
>>>>>>>>>>>>>>>>>>>>>>>>>>
An exception has occurred for 2:http://whybother.posterous.com/rss.xml: unknown attribute: body_excerpt
Exception stack trace as follows: ["/Users/richmanalang/dev/connect.git/vendor/rails/activerecord/lib/active_record/base.rb:2587:in `attributes='", "/Users/richmanalang/dev/connect.git/vendor/rails/activerecord/lib/active_record/base.rb:2583:in `each'", "/Users/richmanalang/dev/connect.git/vendor/rails/activerecord/lib/active_record/base.rb:2583:in `attributes='", "/Users/richmanalang/dev/connect.git/vendor/rails/activerecord/lib/active_record/base.rb:2283:in `initialize'", "/Users/richmanalang/dev/connect.git/lib/group_activity_feeder.rb:123:in `new'", "/Users/richmanalang/dev/connect.git/lib/group_activity_feeder.rb:123:in `import_rss_source'", "/Users/richmanalang/dev/connect.git/lib/group_activity_feeder.rb:110:in `each'", "/Users/richmana
<!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

@rmanalan
rmanalan / gitdeploy.md
Created December 9, 2010 20:13
My Git Deploy Workflow

My Git Deploy Workflow

I use this for static and simple [Sinatra][1] based sites -- great for prototyping simple apps. Credit goes to http://toroid.org/ams/git-website-howto for the original idea.

If you don't know what this is, here's an example of how I deploy my website/app to a server:

# create/update/delete files in my site
git add .
git commit -m "description of the changes I made"

git push

# NAME: authinabox
# VERSION: 1.01 (Dec 27, 2008)
# AUTHOR: Peter Cooper [ http://www.rubyinside.com/ github:peterc twitter:peterc ]
# DESCRIPTION: An "all in one" Sinatra library containing a User model and authentication
# system for both session-based logins OR HTTP Basic auth (for APIs, etc).
# This is an "all in one" system so you will probably need to heavily tailor
# it to your own ideas, but it will work "out of the box" as-is.
# COMPATIBILITY: - Tested on 0.3.2 AND the latest rtomayko Hoboken build! (recommended for the latter though)
# - NEEDS DataMapper!
# - Less work needed if you use initializer library -- http://gist.github.com/40238
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