View index.html
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
</head> | |
<body> | |
<script> |
View index.html
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Form Redirect</title> | |
</head> | |
<body> | |
<h1>Luiz Cloud</h1> |
View PostList.js
This file contains 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, Fragment } from 'react' | |
import { connect } from 'react-redux' | |
import { handleGetAllPosts } from '../actions/posts' | |
class PostList extends Component { | |
componentDidMount () { | |
this.props.getAllPosts() | |
} | |
render() { | |
const { posts } = this.props |
View ebitsuccess.phtml
This file contains 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 | |
$order = Mage::getModel('sales/order'); | |
$order->loadByIncrementId($this->getOrderId()); | |
$amount = number_format($order->getGrandTotal(),2); | |
$email = $order->getCustomerEmail(); | |
$dob = $order->getCustomerDob(); | |
$dob = explode(' ', $dob); | |
$dob2 = explode('-', $dob[0]); | |
$dobYear = $dob2[0]; | |
$dobMonth = $dob2[1]; |
View searchByTaxvat.sql
This file contains 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
SELECT * FROM customer_entity_varchar WHERE value = "12312312312"; |
View server.conf
This file contains 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
server { | |
listen *:80; | |
server_name awesome.dev; | |
client_max_body_size 30m; | |
set $basepath "/var/www"; | |
set $domain $host; | |
if ($domain ~ "^(.*)\.awesome\.dev$") { | |
set $project $1; |
View compose.js
This file contains 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
(function(){ | |
// Adding compose to Function prototype | |
Function.prototype.compose = function(argFn) { | |
var fnToCall = this; | |
return function() { | |
// This line is really complex and i don't know exactly what this line do | |
return fnToCall.call(this, argFn.apply(this,arguments)); | |
} | |
} |