Skip to content

Instantly share code, notes, and snippets.

View rdela's full-sized avatar
🐞
Various bug fixes and improvements

Ricky de Laveaga rdela

🐞
Various bug fixes and improvements
View GitHub Profile
@rdela
rdela / LICENSE.txt
Created July 2, 2012 18:36 — forked from jed/LICENSE.txt
convert HEX to RGB
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Jed Schmidt <http://jed.is>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@rdela
rdela / LICENSE.txt
Created July 2, 2012 18:40 — forked from larryfox/LICENSE.txt
Determine if an elements background color is light or dark!
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2012 Larry Fox <http://la.rryfox.us>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@rdela
rdela / LICENSE.txt
Created July 2, 2012 18:38 — forked from jed/LICENSE.txt
convert RGB to HEX
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Jed Schmidt <http://jed.is>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@rdela
rdela / LICENSE.txt
Created July 2, 2012 18:39 — forked from aemkei/LICENSE.txt
hsl2rgb - 140byt.es
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@rdela
rdela / example.css
Created July 2, 2012 18:40
Sybolset Examples
.cf{zoom:1;}.cf:before,.cf:after{content:"";display:table;}.cf:after{clear: both;}
[class^="ss-"]:before {
padding-right: 0.5em;
}
[id^="example-"]:not(.ss-icon), [id^="example-"] button {
font-family: Helvetica, sans-serif;
font-size: 16px;
line-height: 1.5;
@rdela
rdela / StripeTutorialPage.html
Created July 28, 2012 20:36 — forked from boucher/StripeTutorialPage.html
Stripe Tutorial Payment Form
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>Stripe Getting Started Form</title>
<script type="text/javascript" src="https://js.stripe.com/v1/"></script>
<!-- jQuery is used only for this example; it isn't required to use Stripe -->
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript">
// this identifies your website in the createToken call below
@rdela
rdela / gist:3776894
Created September 24, 2012 16:37 — forked from rmurphey/gist:3212725

Hey. So, we're writing because we're people who spend a lot of time in #jquery helping others -- people like you who are trying to get their bearings with jQuery or JavaScript or who are maybe struggling through some problem that's got them particularly stumped.

We've noticed that you've been kind of, well, dominating the channel a lot lately -- sort of like you're talking through every problem you're running into while you're working on your app, and sometimes repeating your inquiries when you don't get a response. We want to be helpful, we really do, but the constant stream of questions is ... well, it's led to a lot of us just tuning you out, and that's probably not what you want.

So: our biggest request is that you show a little more effort at working through your problems on your own, rather than announcing them in the channel shortly after you encounter them. Below are a few other suggestions; some are based on our experience, while others are from the excellent post about [help vampires](http://sla

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@rdela
rdela / Hoverable.js
Created March 5, 2018 20:38 — forked from necolas/Hoverable.js
Hover styles in React Native for Web
import createHoverMonitor from './createHoverMonitor';
import { element, func, oneOfType } from 'prop-types';
import React, { Component } from 'react';
const hover = createHoverMonitor();
/**
* Use:
* <Hoverable>
* {(hover) => <View style={hover && styles.hovered} />}
@rdela
rdela / npm-search-feat-nsp-20171204-144227.txt
Created December 4, 2017 22:48
npm-search-feat-nsp-20171204-144227.txt
Dec 4 14:42:27 npm-search[69283] INFO: 🗿 npm ↔️ Algolia replication starts ⛷ 🐌 🛰
Dec 4 14:42:29 npm-search[69283] INFO: ⛷ Bootstrap: starting from the first doc
Dec 4 14:42:54 npm-search[69283] INFO: 🔍 Found and saved 100 packages
Dec 4 14:42:54 npm-search[69283] INFO: ⛷ Synced 100/601392 docs (0%), current rate: 4 docs/s (2d remaining)
{ AlgoliaSearchError: Record at the position 73 objectID=101 is too big size=23909 bytes. Contact us if you need an extended quota
at success (/Users/r/Documents/code/gh/rdela/npm-search/node_modules/algoliasearch/src/AlgoliaSearchCore.js:351:32)
at <anonymous>
at process._tickDomainCallback (internal/process/next_tick.js:228:7)
name: 'AlgoliaSearchError',
message: 'Record at the position 73 objectID=101 is too big size=23909 bytes. Contact us if you need an extended quota',