Skip to content

Instantly share code, notes, and snippets.

View mariodev12's full-sized avatar

Mario mariodev12

View GitHub Profile
@mariodev12
mariodev12 / SassMeister-input-HTML.html
Created November 9, 2014 19:50
Generated by SassMeister.com.
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<ul>
<li>
<a class="btn-anm nav-btn nav-btn-dark-blue" href="">
<i class="fa fa-send">
</i>
Get In Touch
</a>
</li>
@mariodev12
mariodev12 / SassMeister-input-HTML.html
Last active August 29, 2015 14:09
Generated by SassMeister.com.
<link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>
<link href='https://raw.githubusercontent.com/daneden/animate.css/master/animate.css' rel='stylesheet' type='text/css'>
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<div class="nav-header content slide">
<span class="logo">
<a class="animated bounceIn" href="http://ash.guru">Menu</a>
</span>
<ul class="nav-social">
<li>
<a href="www.facebook.com">
@mariodev12
mariodev12 / SassMeister-input-HTML.html
Created November 11, 2014 21:04
Generated by SassMeister.com.
<nav id="side" class="collapse">
<header>
<img id="sideNavTogle" src="http://www.airpair.com/v1/img/css/sidenav/toggle.png">
</header>
<section class="wellcome">
<figure>
<a id="navWellcomeAvatar">
<img class="avatar" src="http://www.airpair.com/v1/img/css/sidenav/default-mario.png"/>
</a>
</figure>
@mariodev12
mariodev12 / SassMeister-input-HTML.html
Created November 12, 2014 10:42
Generated by SassMeister.com.
<link href="http://necolas.github.io/normalize.css/3.0.2/normalize.css">
<div id="maggie">
<div class="head">
<div class="no-border body head-main"></div>
<div class="body hair hair2"></div>
<div class="body hair hair1"></div>
<div class="body hair hair3"></div>
@mariodev12
mariodev12 / SassMeister-input-HTML.html
Created November 18, 2014 08:25
Generated by SassMeister.com.
<div>
<div class="blur">
<img src="https://serienfurecidos.files.wordpress.com/2014/10/arrow-season-3-poster-2.jpg"/>
<div class="title">
<span>Arrow: The Flash and Oliver Queen.</span>
</div>
</div>
</div>
import React, {Component} from 'react'
class Star extends Component {
render(){
var s = 'fa fa-star';
if(!this.props.selected){
s+='-o'
}
return (
<i {...this.props} className={s}></i>
import React, {Component} from 'react';
class HeartButton extends Component {
constructor(props) {
super(props);
this.state = {active: false};
}
handleClick(){
this.setState({
active: !this.state.active
// Required to register for notifications
- (void)application:(UIApplication *)application didRegisterUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings
{
[RCTPushNotificationManager didRegisterUserNotificationSettings:notificationSettings];
}
// Required for the register event.
- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken
{
[RCTPushNotificationManager didRegisterForRemoteNotificationsWithDeviceToken:deviceToken];
}
@mariodev12
mariodev12 / index.ios.js
Created February 4, 2017 00:08
React Native - Parte 3 - Props y State
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View,
Button
} from 'react-native';
export class ChildComponent extends Component {