Skip to content

Instantly share code, notes, and snippets.

@apzentral
apzentral / build.xml
Last active April 19, 2023 19:18
ANT: scp template
<!-- Build Script for ANT -->
<project basedir="." default="" name="Build Script">
<property name="username" value="username"/>
<property name="passwd" value="passwd"/>
<property name="keyfile-path" value="/path-to-private-key"/>
<property name="applicationFolder" value="/var/www/html/"/>
<property name="sandboxRoot" value="${basedir}"/>
@apzentral
apzentral / component-es6.js
Last active January 16, 2018 23:46
ReactJS: Skeleton for React component in ES6
import React, { Component } from "react";
// Component
class ComponentClass extends Component {
constructor(props) {
super(props);
this.state = {};
}
@apzentral
apzentral / store.js
Last active August 29, 2015 14:15
ReactJS: Skeleton for Store
/**
* Your Store
*/
'use strict';
/**
* Libraries
*/
var AppDispatcher = require('../dispatcher/AppDispatcher');
var EventEmitter = require('events').EventEmitter;
@apzentral
apzentral / component.js
Last active January 1, 2018 14:55
ReactJS: Skeleton for React component
/**
* @jsx React.DOM
*/
'use strict';
/**
* Libraries
*/
var React = require('react');
@apzentral
apzentral / utilities.css
Last active June 9, 2023 16:11
CSS: Utility Styles
/**
* Width
*/
.width-100-percent {
width: 100%;
}
/**
* divider