This file contains 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
prog :=xnixperms | |
debug ?= | |
$(info debug is $(debug)) | |
ifdef debug | |
release := | |
target :=debug | |
extension :=debug |
This file contains 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
// Live Demo: https://codesandbox.io/s/strange-cohen-bxl0l?file=/src/App.tsx | |
import React, { | |
createContext, | |
Dispatch, | |
useCallback, | |
useEffect, | |
useReducer, | |
useRef | |
} from "react"; | |
import styled from "styled-components"; |
This file contains 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
#!/bin/bash | |
# # time-to-hello-world:dapp | |
# | |
# ## Information | |
# This script is designed to automate the process to "Hello World" for | |
# developing a Dapp with Metamask integration. | |
readonly __usage=" | |
Usage: $(basename $0) [OPTIONS] |
This file contains 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
var AWS = require("aws-sdk"); | |
var elasticbeanstalk = new AWS.ElasticBeanstalk({apiVersion: "2010-12-01"}); | |
var codepipeline = new AWS.CodePipeline(); | |
//You can configure these items in userdata as well | |
var appname = "YOUR APP NAME"; | |
var envname = "YOUR-ENV-NAME"; | |
var templatename = "YOUR-SAVED-CONFIG"; | |
var count = 0; | |
function intervalCheck(envId) { |
This file contains 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
packages: | |
yum: | |
newrelic-php5: [] | |
rpm: | |
newrelic: http://yum.newrelic.com/pub/newrelic/el5/x86_64/newrelic-repo-5-3.noarch.rpm | |
container_commands: | |
newrelic: | |
command: | | |
newrelic-install install; |