Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am micapam on github.
  • I am micapam (https://keybase.io/micapam) on keybase.
  • I have a public key ASARJcUvygSYtZ4jQZd9nldfR4l7B1UacKR58DX2llRTwQo

To claim this, I am signing this object:

@micapam
micapam / keybase.md
Created February 20, 2018 02:40
keybase.md

Keybase proof

I hereby claim:

  • I am micapam on github.
  • I am jmostafa (https://keybase.io/jmostafa) on keybase.
  • I have a public key ASCiBhoKCFBgljWRQ_ydFwfNA--1VjSwUGvLEHA7TBl49Ao

To claim this, I am signing this object:

@micapam
micapam / preprocess.md
Created January 7, 2018 03:03 — forked from denisdefreyne/preprocess.txt
Nanoc preprocessor use cases

Nanoc preprocessor analysis

Apparent uses

The following apparent uses of the preprocessor show up in sites’ sources (see below):

  • Read from external world into config
    • From environment (e.g. NANOC_ENV)
    • From side-effect-free command output (e.g. nanoc --version)
  • Set attributes based on other attributes, identifier, or raw content
@micapam
micapam / AllCitiesCategory.js
Last active October 8, 2017 22:58
Charts testing code - replace to see charts in app
import React from 'react';
import PropTypes from 'prop-types';
import PageWrapper from '../../PageWrapper/PageWrapper';
import CityColumnChart from '../../CityColumnChart/CityColumnChart';
import CategoryBanner from '../../CategoryBanner/CategoryBanner';
// import SubCategorySummary from '../../SubCategorySummary/SubCategorySummary';
// import getSubCategorySectionId from '../../../helpers/getSubCategorySectionId';
import { INDICATORS } from '../../../constants';
const AllCitiesCategory = (props) => {
@micapam
micapam / herodu.sh
Created March 19, 2013 04:29
Run a single command on Heroku console
#!/bin/sh
HEROKU=/usr/local/heroku/bin/heroku
echo "$1; exit" | $HEROKU run console
<b>The principal aspect of my personality:</b>
<b>The quality that I desire in a man:</b>
<b>The quality that I desire in a woman:</b>
<b>What I appreciate most about my friends:</b>
@micapam
micapam / short_story_awards.txt
Created November 27, 2011 04:45
Short story awards
http://www.commonwealthwriters.org/prizes/commonwealth-short-story-prize/2012-prize/
http://www.fishpublishing.com/short-story-competition-contest.php
http://www.untitledonline.com.au/competition.html
http://www.bridportprize.org.uk/
package com.greenchord.components
{
import flashx.textLayout.container.ContainerController;
import flashx.textLayout.events.CompositionCompleteEvent;
import flashx.textLayout.events.TextLayoutEvent;
import mx.controls.VScrollBar;
import mx.events.ScrollEvent;
public class TlfScrollBar extends VScrollBar