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, { PropTypes } from 'react'; | |
import { View, Image, ScrollView, TouchableHighlight, Text, Animated } from 'react-native'; | |
import images from '../../config/images'; | |
import Icon from 'react-native-vector-icons/FontAwesome'; | |
import styles from './styles'; | |
import Loading from '../../components/Loading'; | |
import settings from '../../config/settings'; | |
export const HEADER_MAX_HEIGHT = 200; | |
const HEADER_MIN_HEIGHT = 0; |
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 SignIn from './SignIn'; |
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
<IfModule mod_rewrite.c> | |
Options -MultiViews | |
RewriteEngine On | |
RewriteCond %{HTTPS} off | |
RewriteCond %{HTTP_HOST} !^www\. [NC] | |
RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L,NE] | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_FILENAME} !-f |
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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>Basith from Bluroe</title> | |
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> | |
<style type="text/css"> | |
body { | |
-webkit-font-smoothing: antialiased; |
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
<html> | |
<head> | |
<title>D3 Test</title> | |
<style> | |
body { | |
font-family: Rubik, sans-serif; | |
padding: 30px; | |
} | |
.row { | |
display: flex; |
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 getcpid() { | |
cpids=`pgrep -P $1|xargs` | |
for cpid in $cpids; | |
do | |
echo "$cpid" | |
getcpid $cpid | |
done | |
} |
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
pragma solidity ^0.4.0; | |
contract Ballot { | |
struct Voter { | |
uint weight; | |
bool voted; | |
uint8 vote; | |
address delegate; | |
} | |
struct Proposal { |
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 socket | |
import sys | |
if len(sys.argv) < 2: | |
print('usage: %s <deviceid> <cmd> [<params>]' % (sys.argv[0])) | |
exit() | |
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
s.connect(('13.250.41.251', 8008)) |
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
def error_msg(msg): | |
styles = { | |
'background': '#f4f4f4', | |
'border': '1px solid #ddd', | |
'border-left': '3px solid #f36d33', | |
'color': '#666', | |
'page-break-inside': 'avoid', | |
'font-family': 'monospace', | |
'font-size': '13px', | |
'line-height': '1.6', |
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
.ld-ring div { | |
width: 20px; | |
height: 20px; | |
border-radius: 50%; | |
border-width: 1px; | |
border-style: solid; | |
border-color: #555 transparent #555 transparent; | |
animation: ld-ring 0.7s linear infinite; | |
margin: 0 auto; | |
} |
OlderNewer