Skip to content

Instantly share code, notes, and snippets.

Greg Raiz graiz

Block or report user

Report or block graiz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View SVG Animation
import React from 'react'
import Svg, { G, Path } from 'react-native-svg'
const eyes_open = 'M319.575 303.043v9.805M378.915 303.043v9.805'
const eyes_closed = 'M313.375 308.808h11.366M374.75 308.808h11.366'
const blink_rate = 2; // blink every 2 seconds
const blink_duration = .5; // eyes stay closed for 1/2 second
class MonaLisaEyesSvg extends React.Component {
constructor(props){
@graiz
graiz / .vimrc
Created Oct 24, 2011
vim configuration
View .vimrc
" An example for a vimrc file based on original by
" Bram Moolenaar <Bram@vim.org>
" When started as "evim", evim.vim will already have done these settings.
if v:progname =~? "evim"
finish
endif
" Use Vim settings, rather than Vi settings (much better!).
" This must be first, because it changes other options as a side effect.
You can’t perform that action at this time.