Skip to content

Instantly share code, notes, and snippets.

@atonse
atonse / config.js
Created June 9, 2016 20:56
example config object for your js app that wastes your time cuz it didn't provide this for you
export default {
development: {
apiBaseURL: "https://localhost:8888/v1"
},
qa: {
apiBaseURL: "https://api.qa.something.com/v1"
},
@atonse
atonse / components.st-popover.js
Last active June 27, 2016 21:30
Liquid Tether
import Ember from 'ember';
export default Ember.Component.extend({
wrapperClassNames: ['col-lg-12', 'col-md-12', 'col-sm-11', 'col-xs-12'],
shouldDisplay: false,
actions: {
show() {
this.set('shouldDisplay', true);
},
➜ ~ curl https://webkit.org
curl: (60) SSL certificate problem: self signed certificate in certificate chain
More details here: https://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
@atonse
atonse / tldraw.html
Created November 17, 2023 03:10
Code generated by tldraw.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Draggable Links</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/@shopify/[email protected]"></script>
<style>
#link-categories {