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
const functions = require('firebase-functions'); | |
const admin = require('firebase-admin'); | |
const request = require('request'); | |
admin.initializeApp(functions.config().firebase); | |
exports.saleAlert = functions.https.onRequest((req, res) => { | |
const product = req.body.event.data.checkout.id; | |
const id = req.body.event.data.code; |
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 icon from './assets/icon.svg'; | |
class myComponent extends React.Component { | |
render() { | |
return ( | |
<UnrelatedWrapper> | |
<SVGWrapper dangerouslySetInnerHTML={{__html: icon}} /> | |
</UnrelatedWrapper> | |
); | |
} |
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
{ | |
"serviceAvailableAddress":false, | |
"rolloutPlans":[ | |
], | |
"servingArea":{ | |
"id":"fibre:3MTE-02", | |
"isDisconnectionDatePassed":false, | |
"serviceStatus":"available", | |
"disconnectionDate":"10/11/2017", |
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(){ | |
var externalStylesheets = []; | |
var fonts = {}; | |
function findExternalStylesheets(obj, callback) { | |
sheet = document.styleSheets, | |
i = sheet.length, | |
rule = null; | |
while( 0 <= --i ) { | |
if (sheet[i].cssRules === null) { |
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
'use strict'; | |
var React = require('react-native'); | |
var { | |
AppRegistry, | |
StyleSheet, | |
Text, | |
Image, | |
TouchableHighlight, | |
View, |
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
/** | |
* Sample React Native App | |
* https://github.com/facebook/react-native | |
*/ | |
'use strict'; | |
var React = require('react-native'); | |
var { | |
AppRegistry, | |
StyleSheet, |
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
// u need react 4 react apps m8 | |
var React = require('react'); | |
// md5 is for verifying the e-mail address input? Seems to be required for gravatar. | |
var md5 = require('MD5'); | |
// this just validates whether the input itself is actually an e-mail (regex magic) | |
var validateEmail = require('./validateEmail'); | |
// I think this is just to write informative error msgs in console | |
var warning = require('react/lib/warning'); | |
// saves you having to write the url every time (if this was used in more than 1 place) |
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
var React = require('react'); | |
var md5 = require('MD5'); | |
var validateEmail = require('./validateEmail'); | |
var warning = require('react/lib/warning'); | |
var GRAVATAR_URL = "http://gravatar.com/avatar"; | |
var USERS = [ | |
{ id: 1, name: 'Ryan Florence', email: '[email protected]' }, | |
{ id: 2, name: 'Michael Jackson', email: '[email protected]' } |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>author</key> | |
<string>Gadzhi Kharkharov</string> | |
<key>comment</key> | |
<string>Spacegray</string> | |
<key>name</key> | |
<string>Spacegray</string> |
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
Show hidden characters
[ | |
// | |
// TABS (REGULAR) | |
// | |
// Tab set | |
{ | |
"class": "tabset_control", | |
"layer0.texture": "", |
NewerOlder