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
txgh: | |
github: | |
repos: | |
matthewjackowski/txgh-test-resources: | |
api_username: <%= 'matthewjackowski' %> | |
api_token: <%= 'Some Token' %> | |
push_source_to: <%= 'txgh-test-1' %> | |
branch: <%= 'master' %> | |
transifex: | |
projects: |
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
# A heavily customized VCL to support WordPress | |
# Some items of note: | |
# Supports https | |
# Supports admin cookies for wp-admin | |
# Caches everything | |
# Support for custom error html page | |
vcl 4.0; | |
import directors; | |
import std; |
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
package com.brilliantcoding; | |
public class Message { | |
int type; | |
public Message(int type){ | |
this.type = type; | |
} | |
public String toString() { | |
switch (this.type) { | |
case 0: |
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
var message = require('./lib/zmessage'); | |
var Strategy = function(f) { | |
this.send = f; | |
}; | |
Strategy.prototype.execute = function(m) { | |
this.send(m); | |
}; |
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
def handleAuthError | |
puts 'Put error handling code here' | |
end | |
project_params = { | |
slug: "test-#{SecureRandom.uuid}", | |
description: 'wpml_project', | |
organization: user_data[:org_slug], | |
:private => true, | |
source_language_code: 'en', |
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
var translations = { | |
"All": "All", | |
"Active": "Active", | |
"Completed": "Completed", | |
"Clear_Completed": "Clear_Completed" | |
}; | |
var estranslations = {}; | |
app.config(['$translateProvider', function ($translateProvider) { |
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
npm install connect serve-static | |
node server.js | |
var s = angular.element($0).scope(); | |
s.changeLanguage('es'); |
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
apache_modules: | |
- mod_rewrite |
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
<VirtualHost *:80> | |
ServerName wptest.localhost | |
DocumentRoot %TRAVIS_BUILD_DIR% | |
<Directory "%TRAVIS_BUILD_DIR%"> | |
Options FollowSymLinks MultiViews ExecCGI | |
AllowOverride All | |
Order deny,allow | |
Allow from all | |
RewriteEngine On |
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
#!/bin/bash | |
echo "$PLUGIN_VERSION" | |
rm -rf ./build | |
mkdir ./build | |
cd build | |
svn co https://plugins.svn.wordpress.org/transifex-live-integration | |
cd ./transifex-live-integration | |
rm -f ./trunk/* | |
# copy files | |
cp ../../index.php ./trunk |