Skip to content

Instantly share code, notes, and snippets.

View rodrigorm's full-sized avatar

Rodrigo Moyle rodrigorm

  • Santos/SP - Brazil
View GitHub Profile
@rodrigorm
rodrigorm / feed.xml
Created April 11, 2012 15:41
Hintee XML Feed for Stores
<?xml version="1.0" encoding="utf-8"?>
<products>
<!--
Product Definition:
* name: required, product name as show in the page
* url: required, url used to buy the product
-->
<product name="T-shirt Name" url="http://example.com/product?id=999">
<!--
Image Definition:

How to code drunk

Some people born with it, some people are self-taught on this, some people just discover how. How about a guide on how to code great software while still drunk as a cow?

Rules

  • You can add your patterns by forking this gist.
  • You must be drunk before sending a pattern.
@rodrigorm
rodrigorm / .Xmodmap
Last active December 15, 2015 13:18
My home configuration files
!! No Caps Lock
clear lock
!! Make Caps_lock an escape key.
keycode 0x42 = Escape

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@rodrigorm
rodrigorm / .gitignore
Last active July 14, 2017 19:29
neyjson
node_modules/
message = {
type: 'chat' | 'groupchat' | 'normal',
body: 'Olá'
};
messageForm = {
type: 'chat' | 'groupchat' | 'normal',
form: {
title: '',
instruction: '',
@rodrigorm
rodrigorm / rn-cli.config.js
Created May 8, 2020 02:07
React Native devServer proxy like webpack
const { createProxyMiddleware } = require('http-proxy-middleware');
module.exports = {
server: {
enhanceMiddleware: (metroMiddleware, server) => {
// console.log(middleware);
// console.log(server);
const proxyMiddleware = createProxyMiddleware('/api', { target: 'http://localhost:3000' });