Skip to content

Instantly share code, notes, and snippets.

View lenards's full-sized avatar

Andrew Lenards lenards

  • Tucson, AZ
View GitHub Profile
#!/bin/bash
echo "Here we are, ${ATMO_USER}"
diff --git a/troposphere/static/js/components/login/LoginScreen.jsx b/troposphere/static/js/components/login/LoginScreen.jsx
index a2eac7d..9e74f11 100644
--- a/troposphere/static/js/components/login/LoginScreen.jsx
+++ b/troposphere/static/js/components/login/LoginScreen.jsx
@@ -124,7 +124,8 @@ export default React.createClass({
},
// Rendering
renderLoginMethod: function() {
- let method = this.state.loginProvider.get('method');
+ let method = this.state.loginProvider.get('method'),
#!/bin/bash
echo -ne "hello testing"

TOPIC: Local Development Environments

date: 2017-01-10 where: Python Meetup

Who Am I?

  • Andrew Lenards
  • (GitHub: @lenards)
@lenards
lenards / remove-add-module-exports.diff
Created October 5, 2016 20:19
Used `.default` does resolve the issue
diff --git a/.babelrc b/.babelrc
index 534ec3a..91921c3 100644
--- a/.babelrc
+++ b/.babelrc
@@ -1,6 +1,3 @@
{
- "presets" : ["es2015", "react", "stage-2"],
- "plugins": [
- "add-module-exports"
- ]
@lenards
lenards / ResourceRequest.react.js
Created August 23, 2016 22:54
This appears in the `travis-lint` branch, it's not clear how it should be resolved... `troposphere/static/js/components/admin/ResourceRequest.react.js`
<<<<<<< HEAD
import React from "react";
import Backbone from "backbone";
import Router, { RouteHandler } from "react-router";
import stores from "stores";
import actions from "actions";
import Tooltip from "react-tooltip";
import _ from "underscore";
import RouterInstance from "../../Router";
@lenards
lenards / playbook.out
Last active August 14, 2016 22:36
Output observer while testing Clank Pull Request 104:
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
@lenards
lenards / README
Last active November 17, 2020 10:40
See README for context
# A silly attempt as testing ...
## Verification Environment
```
git clone https://gist.github.com/501e788da736ed42d10cdc42c8f4353e.git clank-pr-test
vagrant up
```
```
TASK [setup-ssl : stat] ********************************************************
fatal: [localhost]: FAILED! => {"failed": true, "msg": "{{ BUNDLE_CERT | default(empty_bundle.crt) }}: {{ BUNDLE_CERT | default(empty_bundle.crt) }}: {{ BUNDLE_CERT | default(empty_bundle.crt) }}: {{ BUNDLE_CERT | default(empty_bundle.crt) }}: {{ BUNDLE_CERT | default(empty_bundle.crt) }}: {{ BUNDLE_CERT | default(empty_bundle.crt) }}: {{ BUNDLE_CERT | default(empty_bundle.crt) }}: {{ BUNDLE_CERT | default(empty_bundle.crt) }}: {{ BUNDLE_CERT | default(empty_bundle.crt) }}: {{ BUNDLE_CERT | default(empty_bundle.crt) }}: {{ BUNDLE_CERT | default(empty_bundle.crt) }}: {{ BUNDLE_CERT | default(empty_bundle.crt) }}: {{ BUNDLE_CERT | default(empty_bundle.crt) }}: {{ BUNDLE_CERT | default(empty_bundle.crt) }}: {{ BUNDLE_CERT | default(empty_bundle.crt) }}: {{ BUNDLE_CERT | default(empty_bundle.crt) }}: {{ BUNDLE_CERT | default(empty_bundle.crt) }}: {{ BUNDLE_CERT | default(empty_bundle.crt) }}: {{ BUNDLE_CERT | default(empty_bundle.crt