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, { useState } from 'react'; | |
import { StyleSheet, Text, TouchableOpacity, View } from 'react-native'; | |
const SlotSelector = () => { | |
const [selected, setSelected] = useState([0, 0]); | |
const slots = [1, 2, 3, 4, 5, 6, 7, 8]; | |
const onSelect = (index: number) => { | |
if (selected[0] === selected[1] && selected[1] === 0) { | |
setSelected([index, index]); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
package main | |
import ( | |
"encoding/json" | |
"io/ioutil" | |
"net/http" | |
"os" | |
"regexp" | |
"time" | |
) |
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
[{ | |
"id": 1, | |
"name": "Grape Soda Lupine" | |
}, { | |
"id": 2, | |
"name": "Pseudoleskeella Moss" | |
}, { | |
"id": 3, | |
"name": "Rosette Lichen" | |
}, { |
This file has been truncated, but you can view the full file.
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
[ | |
{ | |
"created_at": "Thu Nov 15 10:31:45 +0000 2018", | |
"id": 1063016696879824897, | |
"id_str": "1063016696879824897", | |
"text": "SLPP Muslims? Is that like Gestapo Jews?", | |
"truncated": false, | |
"entities": { | |
"hashtags": [], | |
"symbols": [], |
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; | |
index index.php index.html; | |
server_name localhost; | |
error_log /var/log/nginx/error.log; | |
access_log /var/log/nginx/access.log; | |
root /var/www; | |
location / { | |
try_files $uri $uri/ /index.php; |
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
version: "2" | |
services: | |
webserver: | |
image: nginx:alpine | |
ports: | |
- "8000:80" | |
volumes: | |
- .:/var/www | |
- ./docker/nginx/site.conf:/etc/nginx/conf.d/default.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
package main | |
import ( | |
"bufio" | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
"os" | |
"regexp" | |
"strconv" |
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
package main | |
import "fmt" | |
import "time" | |
func main() { | |
fmt.Println("ආයුබෝවේවා, මහරජානනි.") | |
var t = time.Now() | |
fmt.Printf("දැන් වේලාව %02d:%02d\n", t.Hour(), t.Minute()) |
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
package main | |
import ( | |
"bufio" | |
"fmt" | |
"os" | |
"time" | |
) | |
type message struct { |
NewerOlder