Skip to content

Instantly share code, notes, and snippets.

Veritaseum, Inc. is seeking a full stack JavaScript developer. We are flexible as to formalizing relationships, but contractors should be prepared for an open-ended engagement.

Interview Challenge

  1. If you’re not already familiar with our application, download it, start it up in Demo Mode, get your wallet address, grab some test coins (e.g., from here or here), and try a few trades.
  2. Take look at id.js (attached to this Gist), and figure out what's wrong with it.
  3. Send a link to your repository that has well-commented fix, along with your availability, time zone, compensation expectations, portfolio, references, and LinkedIn profile to jobs@veritaseum.com.

> > > SUBMISSIONS THAT DO NOT INCLUDE ALL OF THE ABOVE WILL BE IGNORED < < <

@gaupoit
gaupoit / nexus.sh
Created December 15, 2016 04:27
Setup nexmo in ubuntu
#!/bin/sh
#Download nexus oss https://www.sonatype.com/download-oss-sonatype
sudo cp nexus-3.1.0-04-unix.tar /usr/local
cd /usr/local
sudo tar -xvz nexus-3.1.0-04-unix.tar
sudo ln -s nexus-3.1.0-04 nexus
export $NEXUS_HOME=/usr/local/nexus-3.1.0-04
sudo apt-get update
sudo apt-get install nginx
sudo vi /etc/nginx/site-available/example
@gaupoit
gaupoit / aspnetcore_slave.sh
Last active February 22, 2017 10:00
Config jenkin slave on Ubuntu
#!/bin/sh
sudo apt-get -y update
sudo apt-get -y upgrade
sudo apt-get -y install default-jre
sudo apt-get install tar
#Install asp.net core
sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ xenial main" > /etc/apt/sources.list.d/dotnetdev.list'
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 417A0893
@gaupoit
gaupoit / build.sh
Created February 22, 2017 09:08
build_aspnetcore_on_ubuntu
dotnet restore -r ubuntu.16.04-x64
dotnet build -r ubuntu.16.04-x64
dotnet publish -r ubuntu.16.04-x64 -o "~/g_builds/build_${BUILD_NUMBER}_${GIT_COMMIT}"
@gaupoit
gaupoit / install_private_node.sh
Last active September 26, 2017 08:11
Install Ethereum Private Node on Ubuntu
sudo apt-get install -y software-properties-common
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo apt-get -y update
sudo apt-get install -y ethereum
cd ~
mkdir priv
cd priv
mkdir config
mkdir data
@gaupoit
gaupoit / macosx_remove_java9.sh
Created October 5, 2017 00:21 — forked from schnell18/macosx_remove_java9.sh
MacOS X remove Java 9
sudo rm -fr /Library/Java/JavaVirtualMachines/jdk-9.jdk/
sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane
@gaupoit
gaupoit / saveToCSV.js
Created October 30, 2017 14:58
Save json to csv download.
var blob = new Blob([csvString]);
if (window.navigator.msSaveOrOpenBlob) // IE hack; see http://msdn.microsoft.com/en-us/library/ie/hh779016.aspx
window.navigator.msSaveBlob(blob, "filename.csv");
else
{
var a = window.document.createElement("a");
a.href = window.URL.createObjectURL(blob, {type: "text/plain"});
a.download = "filename.csv";
document.body.appendChild(a);
a.click(); // IE: "Access is denied"; see: https://connect.microsoft.com/IE/feedback/details/797361/ie-10-treats-blob-url-as-cross-origin-and-denies-access
@gaupoit
gaupoit / dynamodb.json
Created March 1, 2018 02:47
DynamoDB access policy for Lambda function
{
"Sid": "TestDynamoDBReadWrite",
"Effect": "Allow",
"Action": [
"dynamodb:GetItem",
"dynamodb:BatchGetItem",
"dynamodb:Query",
"dynamodb:PutItem",
"dynamodb:UpdateItem",
"dynamodb:DeleteItem",