sudo wget http://www.sonatype.org/downloads/nexus-latest-bundle.zip
sudo chmod 777 nexus-2.11.4-01-bundle.zip
sudo unzip nexus-2.11.4-01-bundle.zip
cd nexus-2.11.4-01/bin
sudo RUN_AS_USER=root ./nexus start
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
<?xml version="1.0"?> | |
<project name="XXX Application Build with check style" default="run" basedir="../"> | |
<description> | |
Ant build sample for running | |
- checkstyle, | |
</description> | |
<!-- Change the paths to your individual installation directories --> | |
<property name="checkstyle.home.dir" location="${basedir}/tools/checkstyle/"/> |
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
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define"> | |
<STYLE> | |
BODY, TABLE, TD, TH, P { | |
font-family:Verdana,Helvetica,sans serif; | |
font-size:11px; | |
color:black; | |
} | |
h1 { color:black; } | |
h2 { color:black; } |
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
//WebSocket | |
.factory('WebsocketService', ['$rootScope', '$timeout', function ($rootScope, $timeout) { | |
var _ws; | |
var _username = ''; | |
var messages = []; | |
var users = []; | |
function onMessage(e) { | |
var data = JSON.parse(decodeURIComponent(e.data)); |
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
<?xml version="1.0"?> | |
<project name="AIRAntUnitTest" default="build"> | |
<!-- TODO Change to your Flex SDK directory --> | |
<property name="flex.sdk.dir" value="C:\Software\FLEX\sdks\4.6.0" /> | |
<property name="lib.dir" value="${basedir}/libs" /> | |
<property name="src.dir" value="${basedir}/src" /> | |
<!-- ATTENTION: Since we remove the reports directory during the clean target it get's |
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
<?xml version="1.0"?> | |
<project name="AIRAntUnitTest" default="build"> | |
<!-- TODO Change to your Flex SDK directory --> | |
<property name="flex.sdk.dir" value="C:\Software\FLEX\sdks\4.6.0" /> | |
<property name="lib.dir" value="${basedir}/libs" /> | |
<!-- ATTENTION: Since we remove the reports directory during the clean target it get's | |
deleted so DO NOT specifiy any directory which you do not want to be deleted!!! --> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="flexunit-with-code-coverage" default="test" basedir="."> | |
<!-- ========================================================================================================================================= | |
============================================================= PROPERTY DEFINITIONS ============================================================= | |
========================================================================================================================================== --> | |
<property environment="env" /> | |
<property name="FLEX_HOME" value="C:\Software\FLEX\sdks\4.6.0" /> | |
<property name="output.loc" value="${basedir}/target" /> |
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
- (NSString*) HMACWithSecret:(NSString*)secret andData:(NSString *)data | |
{ | |
CCHmacContext ctx; | |
const char *key = [secret UTF8String]; | |
const char *str = [data UTF8String]; | |
unsigned char mac[CC_SHA256_DIGEST_LENGTH]; | |
char hexmac[CC_SHA256_DIGEST_LENGTH]; | |
char *p; | |
CCHmacInit( &ctx, kCCHmacAlgSHA256, key, strlen( key )); |
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<templates> | |
<template autoinsert="true" context="new_flexunit4_testcase_class" | |
deleted="false" description="Newly created FlexUnit4 TestCase Class file" | |
enabled="true" | |
id="com.adobe.flexbuilder.flexunit.filetemplates.new_flexunit4_testcase_class" | |
name="FlexUnit4 TestCase Class">/** | |
* GODPAPER Confidential,Copyright ${year}. All rights reserved. | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining |
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<templates> | |
<template autoinsert="true" context="new_actionscript_interface" | |
deleted="false" description="Newly created ActionScript Interface file" | |
enabled="true" | |
id="com.adobe.flexide.as.core.filetemplates.new_actionscript_interface" | |
name="ActionScript Interface">/** | |
* GODPAPER Confidential,Copyright ${year}. All rights reserved. | |
* | |
* Permission is hereby granted, free of charge, to any person |
NewerOlder