Skip to content

Instantly share code, notes, and snippets.

import styles from './some.css';
import template from './some.html';
export default {
constructor() {
}
template,
styles
/* my component class code here */
@adampbragg
adampbragg / index.html
Last active June 7, 2019 20:20
index.html for jquery/parcel issue
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ng="http://angularjs.org">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>[[title]]</title>
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<link rel="stylesheet" href="index.css"></head>
<body ng-app="console" ng-controller="ConsoleController as cc" ng-cloak="">
<div ng-switch="cc.subject.inactive">
<div ng-switch-when="false">
@adampbragg
adampbragg / tagalongPackage
Created October 1, 2012 20:37
tagalong package
{
"name": "tagalong.io",
"subdomain": "tagalong",
"domains": [
"tagalong.io",
"www.tagalong.io"
],
"scripts": {
"start": "server.js"
},
@adampbragg
adampbragg / sockethangup
Created October 1, 2012 19:31
socket hangup error
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
warn: Error returned from Nodejitsu
error: Error: socket hang up
error: at createHangUpError (http.js:1263:15)
error: at Socket.socketOnEnd (http.js:1351:23)
error: at TCP.onread (net.js:418:26)
help: For help with this error contact Nodejitsu Support:
help: webchat: <http://webchat.nodejitsu.com/>
help: irc: <irc://chat.freenode.net/#nodejitsu>
@adampbragg
adampbragg / jitsuDeploySocketError
Created September 29, 2012 21:27
jitsu deploy error
info: Creating snapshot 0.4.0-22
info: Updating app tagalong.io
info: Activating snapshot 0.4.0-22 for tagalong.io
info: Starting app tagalong.io
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
warn: Error returned from Nodejitsu
error: Error: socket hang up
error: at createHangUpError (http.js:1263:15)
error: at Socket.socketOnEnd (http.js:1351:23)
@adampbragg
adampbragg / jitsuDeployError
Created September 29, 2012 21:05
nodejitsu deploy error
Creating snapshot 0.4.0-20
info: Updating app tagalong.io
info: Activating snapshot 0.4.0-20 for tagalong.io
info: Starting app tagalong.io
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error:
error: There was an error while attempting to start the app
error: Error spawning drone
error: Script prematurely exited