Skip to content

Instantly share code, notes, and snippets.

View larien's full-sized avatar
💙
Creating things I'm proud of

Lauren Ferreira larien

💙
Creating things I'm proud of
View GitHub Profile
@larien
larien / bjzxmx.markdown
Last active December 21, 2017 21:47
BJzxmX
@larien
larien / logo.svg
Created February 24, 2018 20:49
Logo from my personal site laurenmariaferreira.github.io
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@larien
larien / Review.js
Created November 27, 2018 17:25
caralho de bug chato da porra
import React, { Component } from 'react'
import { loadReviews } from '../../../redux/actions/actions'
import { connect } from 'react-redux'
const mapStateToProps = state => {
return {
reviews: state.reviews.reviews
}
}
@larien
larien / actions.js
Created November 27, 2018 17:50
actions
import axios from 'axios';
const url = process.env.NODE_ENV === 'production' ? "/api/v1/" : "http://localhost:8080/api/v1/"
export function loadReviews(){
return(dispatch) => {
axios.get(`${url}reviews`)
.then((res)=> {
let reviews = res.data
dispatch({type: 'LOAD_REVIEWS', reviews})
@larien
larien / reducer.js
Created November 27, 2018 17:51
reducer
import { combineReducers } from 'redux'
import reviews from './reducers/reviews'
import common from './reducers/common'
import { routerReducer } from 'react-router-redux'
export default combineReducers({
reviews,
common,
router: routerReducer
})
package mygame;
import com.jme3.app.SimpleApplication;
import com.jme3.light.DirectionalLight;
import com.jme3.material.Material;
import com.jme3.math.ColorRGBA;
import com.jme3.math.FastMath;
import com.jme3.math.Vector3f;
import com.jme3.renderer.RenderManager;
import com.jme3.scene.Spatial;
@larien
larien / aula03-01-show-image.py
Created March 7, 2019 23:35
Processamento de Imagens - 07-03 (aula 3)
import cv2
img = cv2.imread("data/lena.jpg")
cv2.imshow('Img',img)
print('Shape: ', img.shape)
print('Size: ' , img.size)
print('Type: ' , img.dtype)
@larien
larien / you.gif
Last active April 11, 2019 12:40
you
you.gif
@larien
larien / gotta.gif
Last active April 11, 2019 12:41
gotta
gotta.gif
@larien
larien / deal.gif
Last active April 11, 2019 12:42
deal
deal.gif