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/bin/python3 | |
""" | |
Sort Photos by Month. | |
install python3-pil | |
""" | |
import logging, datetime | |
import argparse, os, sys | |
import hashlib | |
from PIL import Image |
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
//Dummy data | |
const data = [ | |
{ title: "Title 1", description: "Title Content 1" }, | |
{ title: "Title 2", description: "Title Content 2" } | |
] | |
//Example Callback | |
function getData() { | |
setTimeout(() => { | |
data.map((item, index) => { | |
console.log('getData', item, index) |
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 { NetworkProvider } from './NetworkProvider'; | |
import { ExampleComponent } from './ExampleComponent'; | |
export default class App extends React.PureComponent { | |
render() { | |
return ( | |
<NetworkProvider> | |
<ExampleComponent /> |
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 | |
if ( ! function_exists( 'wpcfu_output_file_upload_form' ) ) { | |
/** | |
* Output the form. | |
* | |
* @param array $atts User defined attributes in shortcode tag | |
*/ | |
function wpcfu_output_file_upload_form( $atts ) { |
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 if ($this->helper('Magento\Checkout\Helper\Data')->isContextCheckout()): ?> | |
<input name="context" type="hidden" value="checkout" /> | |
<?php endif; ?> |
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
{"_id":{"$oid":"5935accb6df2b7ad2b8b4567"},"color":"camurca/branco","color_value":"1515"} | |
{"_id":{"$oid":"5935accb6df2b7ad2b8b4568"},"color":"branco/azul/rosa/lilas","color_value":"0549"} | |
{"_id":{"$oid":"5935accb6df2b7ad2b8b4569"},"color":"Evora/branco","color_value":"1077"} | |
{"_id":{"$oid":"5935accb6df2b7ad2b8b456a"},"color":"rosa/verde","color_value":"1926"} | |
{"_id":{"$oid":"5935accb6df2b7ad2b8b456b"},"color":"couro-branco","color_value":"1243"} | |
{"_id":{"$oid":"5935accb6df2b7ad2b8b456c"},"color":"pomodoro","color_value":"1739"} | |
{"_id":{"$oid":"5935accb6df2b7ad2b8b456d"},"color":"ype/ebano","color_value":"1060"} | |
{"_id":{"$oid":"5935accb6df2b7ad2b8b456e"},"color":"canela-rustico/amarelo","color_value":"2056"} | |
{"_id":{"$oid":"5935accb6df2b7ad2b8b456f"},"color":"rovere/arena","color_value":"2046"} | |
{"_id":{"$oid":"5935accb6df2b7ad2b8b4570"},"color":"branco/cinza/preto","color_value":"1216"} |
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
package main | |
import ( | |
"fmt" | |
) | |
type Item struct{ | |
Id int | |
Name string | |
Qty int |
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, { PropTypes, Component } from 'react' | |
import { | |
Animated, | |
ScrollView, | |
Text, | |
View, | |
} from 'react-native' | |
import EStyleSheet from 'react-native-extended-stylesheet' | |
const styles = EStyleSheet.create({ |
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
package a | |
import "fmt" | |
type Sayer interface { | |
Say() string | |
} | |
type Formal struct{} |
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
package main | |
import ( | |
"fmt" | |
"reflect" | |
) | |
// Name of the struct tag used in examples | |
const tagName = "validate" |
NewerOlder