Skip to content

Instantly share code, notes, and snippets.

Avatar

Scott Weinert scottweinert

View GitHub Profile
View atomic-embed.js
<script src="https://cdn.atomicfi.com/transact.js"></script>
<script>
Atomic.transact({
publicToken: "your-token",
demoMode: "true",
product: "deposit",
color: "#4B39EF"
});
</script>
View example-webhook-payload.json
{
"eventType": "task-status-updated",
"eventTime": "2020-01-28T22:04:18.778Z",
"product": "verify",
"data": {
"previousStatus": "processing",
"status": "completed",
"salary": "94000",
"employment": "active",
"position": "Project Manager",
View MyVue.vue
<template>
<div>
<VueDropzone
id="dropzone"
v-on:vdropzone-sending="sendingEvent"
:awss3="awss3"
v-on:vdropzone-s3-upload-error="s3UploadError"
v-on:vdropzone-s3-upload-success="s3UploadSuccess"
:options="dropzoneOptions"
/>
View imageview
if let url = NSURL(string: "http://etc..."),
data = NSData(contentsOfURL: url)
{
imageURL.image = UIImage(data: data)
}
@scottweinert
scottweinert / gist:8d60c636dd045a8f02db
Created Mar 23, 2015
Branch metrics issue when running `ionic build ios`
View gist:8d60c636dd045a8f02db
CompileC build/Unbill.build/Debug-iphonesimulator/Unbill.build/Objects-normal/i386/CDVBranch.o Unbill/Plugins/io.branchmetrics.branchreferral/CDVBranch.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/scott/Sites/unbill/unbill-mobile/platforms/ios
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/scott/Library/Android/sdk/platform-tools:/Users/scott/Library/Android/sdk/tools"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c99 -fobjc-arc -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate
View dabblet.css
/* CSS Photo Album */
/* Rebound of this shot by @daryl: http://drbl.in/fwwM */
* {
margin: 0;
padding: 0;
position: relative;
box-sizing: border-box;
}
View dabblet.css
/* CSS Photo Album */
/* Rebound of this shot by @daryl: http://drbl.in/fwwM */
* {
margin: 0;
padding: 0;
position: relative;
box-sizing: border-box;
}
View dabblet.css
/* CSS Photo Album */
/* Rebound of this shot by @daryl: http://drbl.in/fwwM */
* {
margin: 0;
padding: 0;
position: relative;
box-sizing: border-box;
}
@scottweinert
scottweinert / dabblet.css
Created Jul 11, 2013 — forked from daneden/dabblet.css
CSS Photo Album
View dabblet.css
/* CSS Photo Album */
/* Rebound of this shot by @daryl: http://drbl.in/fwwM */
* {
margin: 0;
padding: 0;
position: relative;
box-sizing: border-box;
}
@scottweinert
scottweinert / gist:5810239
Created Jun 18, 2013
Nodejitsu with socket.io - not working
View gist:5810239
/**
* Start NodeJS Server
*/
var port = 80;
if (process.env.CRON) { port = 3000; }
var secureServer = require('https').createServer(options, app)
// Initialize Socket IO
Common.io = require('socket.io').listen(secureServer)
You can’t perform that action at this time.