Skip to content

Instantly share code, notes, and snippets.

React is the new Lego - how we deal with a lot of components

Lightning talk proposal for ReactiveConf 2016

BlueKit usage

At Blueberry, we've been frustrated with maintaining and getting oriented in our React components and their props. That's why we made a tool for automatically generating a component library from a project's components.

We named it BlueKit and released it as open-source.

@madan712
madan712 / test.php
Last active February 20, 2017 17:45
PHP example - Google Recaptcha validation using jquery (AJAX)
<?php
$remoteip = $_SERVER['REMOTE_ADDR'];
?>
<!doctype html>
<html>
<head>
<title> Recaptcha validation using jquery ajax </title>
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script type="text/javascript" src="recaptcha_ajax.js"></script>
<script type="text/javascript">
@joshhartman
joshhartman / gist:2271523
Created April 1, 2012 04:54
Yahoo! Weather API Example Using SimpleXML in PHP
<?php
if(isset($_POST['zipcode']) && is_numeric($_POST['zipcode'])){
$zipcode = $_POST['zipcode'];
}else{
$zipcode = '50644';
}
$result = file_get_contents('http://weather.yahooapis.com/forecastrss?p=' . $zipcode . '&u=f');
$xml = simplexml_load_string($result);
//echo htmlspecialchars($result, ENT_QUOTES, 'UTF-8');
@chrisyour
chrisyour / Folder Preferences
Created December 4, 2010 20:05
Show hidden files and hidden folders (except .git) in your TextMate project drawer
# Want to show hidden files and folders in your TextMate project drawer? Simple, just modify the file and folder patterns in TextMate's preferences.
# Instructions:
# Go to TextMate > Preferences...
# Click Advanced
# Select Folder References
# Replace the following:
# File Pattern
@randyjhunt
randyjhunt / gist:43184
Created January 4, 2009 21:49
Remove and ignore .DS_Store files in git repository
# Ignore .DS_Store files from a git repository
# Find and remove existing files from the repository:
find . -name .DS_Store -print0 | xargs -0 git-rm
# Add the line ".DS_Store" to the file .gitignore, which can be found at the top level of your repository (or created if it isn't there already)
git add .gitignore
git commit -m ".DS_Store banished!"
# http://stackoverflow.com/questions/107701/how-can-i-remove-dsstore-files-from-a-git-repository