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
function ASSetCookie(a, b, c) { | |
var d = new Date; | |
d.setDate(d.getDate() + c); | |
var e = escape(b) + (0 == c ? ";path=/" : "; expires=" + d.toUTCString()) + ";path=/"; | |
document.cookie = a + "=" + e | |
} | |
function ASGetCookie(a) { | |
var b, c, d, e = document.cookie.split(";"); | |
for (b = 0; b < e.length; b++) |
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 { Alert, View, StyleSheet, TouchableOpacity, ActivityIndicator, FlatList } from 'react-native'; | |
import { Content, List, ListItem, Button, Icon, Body, Text } from 'native-base'; | |
import axios from 'axios'; | |
import { StackActions, NavigationActions } from 'react-navigation'; | |
export default class ContentSection extends Component { | |
constructor(props) { | |
super(props); | |
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 { StyleSheet, View } from 'react-native'; | |
import { StyleProvider, Container, Content, Text } from 'native-base'; | |
import { Grid, Col, Row } from 'react-native-easy-grid'; | |
// Theme | |
import getTheme from '../native-base-theme/components'; | |
import material from '../native-base-theme/variables/material'; | |
// Component |
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
//<![CDATA[ | |
// BloggerJS v0.3.1 | |
// Copyright (c) 2017-2018 Kenny Cruz | |
// Licensed under the MIT License | |
var urlTotal,nextPageToken,postsDatePrefix=!1,accessOnly=!1,useApiV3=!1,apiKey="",blogId="",postsOrPages=["pages","posts"],jsonIndex=1,secondRequest=!0,feedPriority=0,amp="&"[0];function urlVal(){var e=window.location.pathname,t=e.length;return".html"===e.substring(t-5)?0:t>1?1:2}function urlMod(){var e=window.location.pathname;"p"===e.substring(1,2)?(e=(e=e.substring(e.indexOf("/",1)+1)).substr(0,e.indexOf(".html")),history.replaceState(null,null,"../"+e)):(e=(e=postsDatePrefix?e.substring(1):e.substring(e.indexOf("/",7)+1)).substr(0,e.indexOf(".html")),history.replaceState(null,null,"../../"+e))}function urlSearch(e,t){var n=e+".html";t.forEach(function(e){-1!==e.search(n)&&(window.location=e)})}function urlManager(){var e=urlVal();0===e?accessOnly||urlMod():1===e?getJSON(postsOrPages[feedPriority],1):2===e&&(accessOnly||history.replaceState(null,null,"/"))}function getJSON(e,t){var n=document.createE |
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
<StyleProvider style={getTheme(material)}> | |
<Container> | |
<StatusBar translucent={false} backgroundColor={'#d3561a'} barStyle={'light-content'} /> | |
<HeaderSection navigation={this.props.navigation} /> | |
<Overview data={dataOverview} loading={isLoading} slider={uniPartners.about} /> | |
<TabView data={uniPartners} loading={isLoading} navigation={this.props.navigation} dataOverview={dataOverview} /> | |
</Container> |
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
componentWillMount() { | |
BackHandler.addEventListener('hardwareBackPress', this._handleBackButton); | |
} | |
componentWillUnmount() { | |
this._navListener.remove(); | |
BackHandler.removeEventListener('hardwareBackPress', this._handleBackButton); | |
} | |
_handleBackButton = () => { |
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
function safelink_converter( $content ) { | |
global $post; | |
if ( is_single() && isset( $post->post_author ) ) { | |
$display_name = get_the_author_meta( 'nickname', $post->post_author ); | |
} else { | |
$display_name = "admin"; | |
} | |
$content = $content . '<script type="text/javascript"> |
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
javascript:void(function(){eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return%20r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new%20RegExp('\\b'+e(c)+'\\b','g'),k[c]);return%20p}('N%202S=1a.6f("8t")[0].2p;N%201n=1a.ar.5n(/as=(\\d+)/)[1];N%202I="au-av";N%203F=8;N%202J="aw";N%203e="ax";ay.v={1n:1n,2t:[],2a:[],2E:[],1l:[],1X:[],8u:R(a){N%20b="",i,3G;2F(i=0;i<32;i++){3G=1w.3G()*16|0;C(i==8||i==12||i==16||i==20){b+="-"}b+=(i==12?4:(i==16?(3G&3|8):3G)).8v(16)}C(!a){b=b.1Q(/-/gi,"")}1u%20b},8w:R(d,e){N%20a=2z%202u(),b=[a.az(),a.6g(),a.6h(),a.6i(),a.6j(),a.6k(),a.aA()];C(e){b=v.4k(b)}N%20c=b.aB("");C(d){c=c+d}1u%20c},6l:R(a){1u%20a[1w.1P(1w.3G()*a.1r)]},4k:R(a){N%20b=a.1r,c,d;7f(0!==b){d=1w.1P(1w.3G()*b);b-=1;c=a[b];a[b]=a[d];a[d]=c}1u%20a},8x:R(h,n){N%20a=h.1r%n,b=a,c=1w.1P(h.1r/n),d=[];2F(N%20e=0;e<h.1r;e+=c){N%20f=c+e,g=2i;C(a!==0&&b){f++ |
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 { Image, Animated, View } from 'react-native' | |
export default class LazyImage extends Component { | |
constructor(props) { | |
super(props) | |
this.state = { | |
thumbnailOpacity: new Animated.Value(0), | |
key: this.genKey() |
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 { Dimensions } from 'react-native'; | |
const { width, height } = Dimensions.get('window'); | |
const ScaleWidth = (scaleWidth) => { | |
const DESIGN_WIDTH = 180; | |
return (scaleWidth * width) / DESIGN_WIDTH | |
} | |
const ScaleHeight = (scaleHeight) => { | |
const DESIGN_HEIGHT = 180; |