This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| user root; | |
| worker_processes 1; | |
| # daemon off; | |
| error_log /var/log/nginx/error.log warn; | |
| pid /var/run/nginx.pid; | |
| events { | |
| worker_connections 1024; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [user] | |
| name = Matheus Gomes | |
| email = [email protected] | |
| [alias] | |
| st = status | |
| com = commit -m | |
| br = branch | |
| rup = push origin | |
| rdown = pull origin | |
| logone = log --oneline |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from "react"; | |
| import "./template/dependencies"; | |
| class App extends Component { | |
| render() { | |
| return ( | |
| <body className="hold-transition login-page"> | |
| <div className="login-box"> | |
| <div className="login-logo"> | |
| <a href="../../index2.html"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /usr/share/code/resources/app/extensions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Reactotron from 'reactotron-react-js'; | |
| import { reactotronRedux } from 'reactotron-redux'; | |
| import sagaPlugin from 'reactotron-redux-saga'; | |
| if (process.env.NODE_ENV === 'development') { | |
| const tron = Reactotron.configure() | |
| .use(reactotronRedux()) | |
| .use(sagaPlugin()) | |
| .connect(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { injectGlobal } from 'styled-components'; | |
| injectGlobal` | |
| *{ | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| outline: 0; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| { | |
| "extends": "airbnb", | |
| "env": { | |
| "browser": true, | |
| "jest": true | |
| }, | |
| "plugins": ["react", "jsx-a11y", "import"], | |
| "rules": { | |
| "react/jsx-one-expression-per-line": "off", | |
| "react/jsx-filename-extension": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function base64_to_png ($img, $im_name) { | |
| if ( ($fp = fopen($im_name . '.png', 'wb')) === false ) { | |
| return false; | |
| } | |
| $img = str_replace('data:image/png;base64,', '', $img); | |
| $img = str_replace(' ', '+', $img); | |
| if ( fwrite($fp, base64_decode($img)) === false ) { | |
| return false; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react'; | |
| import { Grid, Row, Col } from 'react-bootstrap'; | |
| import axios from 'axios'; | |
| import Header from './Header'; | |
| import Content from './Content'; | |
| import LoadMore from './LoadMore'; | |
| import Footer from './Footer'; | |
| import './styles/app.css'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react'; | |
| import { Row, Col } from 'react-bootstrap'; | |
| import FontAwesome from 'react-fontawesome'; | |
| import CategoryTag from './helpers/CategoryTag'; | |
| import User from './res/user.jpg'; | |
| import './styles/content.css' | |
| export default props => { |
NewerOlder