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
###################### | |
# IDE editor files # | |
###################### | |
.project | |
.settings | |
.classpath | |
.idea | |
###################### |
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
1. ssh root@<ip> | |
2. First Install CURL by typing sudo apt-get install curl | |
3. Then Restart Apache by typing sudo service apache2 restart | |
4. Then Install PHP5 CURL by typing sudo apt-get install php5-curl | |
will prompt to install... type y or yes! | |
5. Then Restart Apache by typing sudo service apache2 restart Done! |
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
<target name="-compile-js" depends="-detect-app-build-properties"> | |
<if> | |
<x-is-true value="${enable.split.mode}"/> | |
<then> | |
<property name="app.output.framework.include" | |
value="package-sencha-core,framework,toolkit,package-core"/> | |
<x-compile refid="${compiler.ref.id}"> | |
<![CDATA[ | |
... |
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
<![CDATA[ | |
# Build a set containing everything, the entire application and the used framework. | |
restore | |
page | |
and | |
save | |
entireApp | |
and | |
# Build a set containing the entire framework. | |
union |
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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.ladysign.MavenApp</groupId> | |
<artifactId>MavenApp</artifactId> | |
<packaging>war</packaging> | |
<version>1.0-SNAPSHOT</version> | |
<name>MavenApp Maven Webapp</name> | |
<url>http://maven.apache.org</url> | |
<dependencies> |
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
describe("Email.js", function() { | |
describe('Compose', function () { | |
var compose; | |
// We need to create the email Compose view in a window like the app normally | |
// does as a Fixture for our tests. | |
// | |
beforeEach(function (done) { | |
compose = Ext.create({ | |
xtype: 'window', |
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
###################### | |
# Python # | |
###################### | |
# Byte-compiled / optimized / DLL files | |
__pycache__/ | |
*.py[cod] | |
*$py.class | |
# C extensions |
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
1. First stop your droplet, and make a snapshot. | |
2. Login to you droplet | |
ssh root@<ip> | |
3. Go to https://certbot.eff.org/, select the setup for example Apache on Ubuntu 14 | |
This will give you the instructions | |
These are the instructions for Ubuntu 14, with Apache. | |
We will install Certbot: |
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
//sudo nano /etc/hosts | |
# Host Database | |
# | |
# localhost is used to configure the loopback interface | |
# when the system is booting. Do not change this entry. | |
## | |
127.0.0.1 localhost | |
255.255.255.255 broadcasthost | |
::1 localhost |
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
How to enable server caching | |
Install the following 2 mods: | |
$ sudo a2enmod expires | |
$ sudo a2enmod headers | |
Add this to the .htaccess | |
<IfModule mod_expires.c> | |
ExpiresActive On |