Skip to content

Instantly share code, notes, and snippets.

View mikeumus's full-sized avatar
🪐
ARTEMIS

Michael Duane Mooring mikeumus

🪐
ARTEMIS
View GitHub Profile
@mikeumus
mikeumus / .bashrc
Last active December 20, 2017 17:37
Mikeumus' .bashrc scripts
function gitRe() {
git st
git co develop
git pl origin develop
}
# Assumes Jest
# https://facebook.github.io/jest
function deJ() {
node --debug-brk ./node_modules/bin/jest.js -i --watch
Uncaught RangeError: Maximum call stack size exceeded
at http://localhost:9000/portal/assets/dist/vendor.bundle.js:124400:56
at Array.forEach (native)
at DirectiveResolver._mergeWithPropertyMetadata (http://localhost:9000/portal/assets/dist/vendor.bundle.js:124400:39)
at DirectiveResolver.resolve (http://localhost:9000/portal/assets/dist/vendor.bundle.js:124381:29)
at CompileMetadataResolver.getNonNormalizedDirectiveMetadata (http://localhost:9000/portal/assets/dist/vendor.bundle.js:125095:64)
at CompileMetadataResolver._getEntryComponentMetadata (http://localhost:9000/portal/assets/dist/vendor.bundle.js:125804:45)
at http://localhost:9000/portal/assets/dist/vendor.bundle.js:125131:59
at Array.map (native)
at CompileMetadataResolver.getNonNormalizedDirectiveMetadata (http://localhost:9000/portal/assets/dist/vendor.bundle.js:125131:22)
@mikeumus
mikeumus / install-tmate-ubuntu
Created August 13, 2014 02:05
install tmate.io
sudo apt-get install python-software-properties && \
sudo add-apt-repository ppa:nviennot/tmate && \
sudo apt-get update && \
sudo apt-get install tmate
@mikeumus
mikeumus / vim-hyper-js_1-2-1.sh
Last active February 16, 2017 15:02
E349: No identifier under cursor
module.exports = {
config: {
hypernpm: {
1: "build",
2: "build:prod",
3: "test"
},
visor: {
@mikeumus
mikeumus / dark.css
Last active September 27, 2016 23:32
Style tweaks to C9 IDE's dark.css
.searchTxt.tb_console .sbtb_middle{
background-color: #444444;
}
.searchbox .sbtb_middle .input{
color: #fff;
}
/*.searchbox .sbtb_middle .input textarea{*/
/* font-size: 24px;*/
/* padding: 10px;*/
/* color: #fff;*/
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>GistRun</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>Hello world!</h1>
<script src="script.js"></script>
@mikeumus
mikeumus / http-error-spring.sh
Created July 20, 2016 05:54
http error from ssl setting for Spring `application-dev.yml`
2016-07-20 01:35:22.498 ERROR 25972 --- [ restartedMain] o.a.coyote.http11.Http11NioProtocol : Failed to start end point associated with ProtocolHandler ["http-nio-8090"]
java.io.IOException: DerInputStream.getLength(): lengthTag=109, too big.
at sun.security.util.DerInputStream.getLength(DerInputStream.java:561) ~[na:1.8.0_60]
at sun.security.util.DerValue.init(DerValue.java:365) ~[na:1.8.0_60]
at sun.security.util.DerValue.<init>(DerValue.java:320) ~[na:1.8.0_60]
at sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:1914) ~[na:1.8.0_60]
at java.security.KeyStore.load(KeyStore.java:1445) ~[na:1.8.0_60]
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(JSSESocketFactory.java:451) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeystore(JSSESocketFactory.java:355) ~[tomcat-embed-core-8.0.30.jar:8.0.30]
mikeumus:~/workspace $ curl -X 'GET'er.api.autodesk.com/modelderivative/v2/designdata/dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bXl0ZXN0YnVja2V0dGVzdDIvZ2lyaS1zaXItY29weTIucnZ0/manifest'* Hostname was NOT found in DNS cache
* Trying 107.23.72.59...
* Connected to developer.api.autodesk.com (107.23.72.59) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server key exchange (12):

Keybase proof

I hereby claim:

  • I am mikeumus on github.
  • I am mikeumus (https://keybase.io/mikeumus) on keybase.
  • I have a public key whose fingerprint is 6B84 D32A 5F53 3D90 2015 6A93 7627 89B9 80C8 20A0

To claim this, I am signing this object:

@mikeumus
mikeumus / app.ts
Last active May 13, 2016 05:13
Angular2 TypeScript Modal files
import {Input, Component, View, CORE_DIRECTIVES} from 'angular2/angular2'
interface Model {
name: string
}
@Component({
selector: 'modal'
})