Skip to content

Instantly share code, notes, and snippets.

View adamdahan's full-sized avatar
🎯
Focusing

Adam Dahan adamdahan

🎯
Focusing
  • Toronto
View GitHub Profile
<!-- Setup the trigger -->
<button style="background: #59A7BE; color: white; border: white;" class="button modal-button" data-target="modal-id" @click="launchProfileModal()">View Profile</button>
<!-- Setup the modal -->
<div id="modal-id" class="modal modal-fx-fadeInScale" v-bind:class="{'is-active': paymentsModalIsActive }">
<div class="modal-background"> </div>
<div class="modal-content" style="width: 80%;">
<div class="box">
<div class="content has-text-centered">
@adamdahan
adamdahan / installNodeOnEC2.txt
Created December 3, 2018 21:37 — forked from mitchallen/installNodeOnEC2.txt
Install node.js and git on an Amazon EC2 instance
PREREQUISITES
This assumes that you have already experimented with creating instances under EC2 and know
how to use ssh keys to access an instance. If not, try experimenting with that first and
setup some keys.
This also assume that you have a Security Group with Port 80 available. If not, experiment
with creating one of those as well.
CREATE A NEW INSTANCE
@adamdahan
adamdahan / BouncyButton.swift
Created May 8, 2022 05:38 — forked from dfelber/BouncyButton.swift
Bouncy UIButton in swift. Becomes small when pressed and restores its size when released. Swift 3
//
// BouncyButton.swift
//
// Created by Domink Felber on 20.03.16.
// Copyright © 2016 Domink Felber. All rights reserved.
//
import Foundation
import UIKit