This example demonstrates using a web ui view in a very basic react native app to embed the lithic embed iframe. Note that tapping the PAN to copy works. Very basic styling provided as an example.
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
.env | |
node_modules | |
.DS_Store |
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
#! /usr/bin/env ts-node --transpile-only | |
import { createWriteStream, readFileSync, writeFileSync } from "fs"; | |
import { basename, extname } from "path"; | |
import { createHash } from "crypto"; | |
const s3Url = | |
"https://example-video-player-debugging-temporary.s3.amazonaws.com"; | |
const fetch = require("node-fetch"); | |
async function getPlaylist() { |
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
{ | |
"name": "ldif-parse", | |
"version": "1.0.0", | |
"main": "index.js", | |
"license": "MIT", | |
"dependencies": { | |
"ldif": "^0.5.1" | |
} | |
} |
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
FROM node:alpine | |
WORKDIR /app | |
COPY server.js . | |
CMD node /app/server.js |
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
'use strict'; | |
const should = require('should'); | |
const DiC = require('../../lib/DependencyInjectionContainer'); | |
/** | |
* @class Service class test fixture. | |
*/ | |
class Foo { | |
constructor() { |
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
const net = require('net'); | |
const https = require('https'); | |
const filePath = '/tmp/kanye'; | |
const server = net.createServer(async (stream) => { | |
stream.end(await getKanyeQuote() + '\n'); | |
}); | |
server.listen(filePath, () => { |
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
'use strict' | |
const fs = require('fs'); | |
const os = require('os'); | |
const file = fs.readFileSync('./dump.txt', 'utf8').split(os.EOL); | |
const people = []; | |
const groups = new Set(); | |
var current_person = false; |
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
const fs = require('fs'); | |
var request = require('request'); | |
request = request.defaults({jar: true}); | |
// The appid from the hosted app. | |
const appid = 'XXX'; | |
const body = { | |
email: 'someone@somewhere.com', | |
password: 'XXX', | |
} | |
const headers = { |
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
#! /usr/bin/env bash | |
echo 'Installing dependencies php and git...' | |
echo '' | |
echo '' | |
echo '' | |
pkg install -y php70 git php70-json php70-ctype php70-phar php70-iconv php70-openssl | |
echo '' | |
echo '' |
NewerOlder