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 * as React from 'react'; | |
import { View, Text, StyleSheet } from 'react-native'; | |
import { DragAndDropProvider, Draggable, DropView } from '@jgoday/react-native-dragndrop'; | |
const styles = StyleSheet.create({ | |
successMatch: { | |
color: 'blue', | |
fontWeight: 'bold', | |
fontSize: 30, | |
}, |
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
#![feature(poll_map)] | |
use futures::{stream, StreamExt}; | |
use futures::{FutureExt, TryStreamExt}; | |
use std::env; | |
use tokio::sync::mpsc; | |
use tokio_postgres::{connect, NoTls}; | |
#[tokio::main] | |
async fn main() { | |
let connection_parameters = env::var("DBURL").unwrap(); |
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 * as React from 'react'; | |
import './App.css'; | |
export interface IProps { | |
} | |
async function srcToDataUrl(url: string) { | |
return new Promise<string>(async (resolve, _) => { | |
const resp = await fetch(url); |
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
#include <functional> | |
#include <iostream> | |
template<typename T> | |
void log(T arg) | |
{ | |
std::cout << arg; | |
std::cout << std::endl; | |
} |
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 bootstrap.liftweb | |
import net.liftweb._ | |
import util._ | |
import Helpers._ | |
import common._ | |
import http._ | |
import sitemap._ | |
import Loc._ |