Thursday, December 4, 2014

How to make System command calls in Groovy?

package ping

import java.io.*
import java.util.*

class PingController

def index()
def sout = new StringBuffer(), serr = new StringBuffer()
def proc = 'ping 127.0.0.1'.execute()
proc.consumeProcessOutput(sout, serr)
proc.waitForOrKill(1000)
println "out> $sout err> $serr"

def ping()
StringBuffer buf = new StringBuffer();
String s = "";
Process process;
try

process = Runtime.getRuntime().exec( "cmd /c " + "ping 8.8.8.8" );
BufferedReader br = new BufferedReader( new InputStreamReader(
process.getInputStream() ) );
while ( ( s = br.readLine() ) != null )

buf.append( s + "\r\n" );


process.waitFor();
System.out.println( buf );
catch ( Exception ex )

ex.printStackTrace();





How to make System command calls in Groovy?

Wednesday, November 26, 2014

svn: Can't open file '.svn/text-base/

root@debian:/var/www# svn update

svn: Can’t open file ‘.svn/text-base/details.html.svn-base': No such file or directory


How to solve:

TortoiseSVN -> Repo-Browser -> select file details.html -> Delete -> Commit

Re check-in details.html to svn



svn: Can't open file '.svn/text-base/

Enabling Server Side Includes (SSI) on Apache and Debian/Ubuntu

Enabling Server Side Includes (SSI) on Apache and Debian/Ubuntu


Enable the Include module


a2enmod include

or


ln -s /etc/apache2/mods-available/include.load /etc/apache2/mods-enabled

Edit the config file

vim /etc/apache2/sites-available/default

add

AddType text/html .shtml

AddOutputFilter INCLUDES .shtml

and

Options Indexes FollowSymLinks MultiViews +Includes

the complete file like below:


 DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride All
#Order allow,deny
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Options Indexes FollowSymLinks MultiViews +Includes
</Directory>

Restart Apache


service apache2 restart

Test,create shtml file


<html>
<head>
<title>SSI Test Page</title>
</head>
<body>
<!--#config timefmt="%A %B %d, %Y" -->
Today is <!--#echo var="DATE_LOCAL" -->
</body>
</html>


Enabling Server Side Includes (SSI) on Apache and Debian/Ubuntu

Tuesday, November 18, 2014

How to remove BOM from UTF-8 using sed?

How to remove BOM from UTF-8 using sed?

fetch BOM files

grep -rIlo $’^\xEF\xBB\xBF’ ./


remove BOM files

grep -rIlo $’^\xEF\xBB\xBF’ . | xargs sed –in-place -e ‘s/\xef\xbb\xbf//’


exclude .svn dir

grep -rIlo –exclude-dir=”.svn” $’^\xEF\xBB\xBF’ . | xargs sed –in-place -e ‘s/\xef\xbb\xbf//’



How to remove BOM from UTF-8 using sed?

Monday, November 10, 2014

How to find More than 1 GB files of the Bash command line for Linux

How to find More than 1 GB files of the Bash command line for Linux


find / -type f -size +10000000k;

find / -size +1000M -exec ls -l \;


How to find More than 1 GB files of the Bash command line for Linux

SQL Server Split function

SQL Server Split function


USE [A5GODB]
GO
/****** Object: UserDefinedFunction [dbo].[SPLIT_FUNC] Script Date: 10/23/2014 10:08:48 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE function [dbo].[SPLIT_FUNC](@string nvarchar(1000),@spliter char(1)=',')
returns @table table(id int identity(1,1) primary key,items varchar(100) not null)
AS
begin
if patindex('%'+@spliter+'%',@string)=1
begin
set @string=substring(@string,2,len(@string))
end

if patindex('%'+@spliter+'%',reverse(@string))=1
begin
set @string=reverse(substring(reverse(@string),2,len(@string)))
end

while patindex('%'+@spliter+'%',@string)>0
begin
declare @file varchar(1000)
set @file=substring(@string,0,patindex('%'+@spliter+'%',@string))

insert into @table(items)
select @file
set @string=substring(@string,patindex('%'+@spliter+'%',@string)+1,len(@string))
end

if patindex('%'+@spliter+'%',@string)=0
begin
select @file=substring(@string,0,len(@string)+1)

insert into @table(items)
select @file
end
return
end


SQL Server Split function

Sunday, November 9, 2014

How to show preview of image before upload using HTML5?

How to show preview of image before upload using HTML5?


<!DOCTYPE HTML>
<html>
<head>

</head>
<body>
<input type="file" onchange="previewFile()"><br>
<img src="" height="200" alt="Image preview...">

<script defer="defer">
function previewFile()
var preview = document.querySelector('img');
var file = document.querySelector('input[type=file]').files[0];
alert (file);
var reader = new FileReader();

reader.onloadend = function ()
preview.src = reader.result;
alert (preview.src);


if (file)
reader.readAsDataURL(file);
else
preview.src = "";


</script>
</body>
</html>


How to show preview of image before upload using HTML5?

How to save uploaded image in grails

How to save uploaded image in grails

View


<g:form action="upload" method="post" ENCTYPE="multipart/form-data">
<div class="file-upload">
<label>Choose image</label>
<input id="fileupload" type="file" name="fileupload"/>
<input type="submit" value="Upload file" />
</div>

</g:form>

Controller


class TestController 

def index()

def upload()
if (params.fileupload)
if (params.fileupload instanceof org.springframework.web.multipart.commons.CommonsMultipartFile)
// new FileOutputStream('testimage.jpg').leftShift( params.fileupload.getInputStream() )
params.fileupload.transferTo(new File('testimage.jpg'))
else
log.error("")







How to save uploaded image in grails

How to save a base64 decoded image in the filesystem using grails

How to save a base64 decoded image in the filesystem using grails

Controller


import sun.misc.BASE64Decoder

class TestController

def index()

def save()
def file = params.file.toString().substring((params.file.toString().indexOf(",") + 1), params.file.toString().size())
byte[] decodedBytes = new BASE64Decoder().decodeBuffer(file)
def image = new File("C:/Users/Steven/Desktop/test/testimage.jpg")
image.setBytes(decodedBytes)


View


<!DOCTYPE HTML>
<html>
<head>
<style>
body
margin: 0px;
padding: 0px;

#buttons
position: absolute;
left: 10px;
top: 0px;

button
margin-top: 10px;
display: block;

</style>
</head>
<body>
<div id="container"></div>
<div id="buttons">
<button id="save">
Save
</button>
</div>
<script type="text/javascript" src="$resource(dir: 'js', file: 'jquery-1.7.min.js')"></script>
<script type="text/javascript" src="$resource(dir: 'js', file: 'sammy.js')"></script>
<script type="text/javascript" src="$resource(dir: 'js', file: 'kinetic-v5.1.0.min.js')"></script>
<script defer="defer">
var stage = new Kinetic.Stage(
container: 'container',
width: 578,
height: 200
);
var layer = new Kinetic.Layer();

var box = new Kinetic.Rect(
x: 200,
y: 80,
width: 100,
height: 50,
fill: '#00D2FF',
stroke: 'black',
strokeWidth: 4,
draggable: true,
dragOnTop: true
);

box.on('mouseover', function()
document.body.style.cursor = 'pointer';
);

box.on('mouseout', function()
document.body.style.cursor = 'default';
);

var box2 = new Kinetic.Rect(
x: 200,
y: 80,
width: 100,
height: 50,
fill: '#00D2FF',
stroke: 'black',
strokeWidth: 4,
draggable: true,
dragOnTop: true
);

box2.on('mouseover', function()
document.body.style.cursor = 'pointer';
);

box2.on('mouseout', function()
document.body.style.cursor = 'default';
);

var box3 = new Kinetic.Rect(
x: 200,
y: 80,
width: 100,
height: 50,
fill: '#00D2FF',
stroke: 'black',
strokeWidth: 4,
draggable: true,
dragOnTop: true
);

box3.on('mouseover', function()
document.body.style.cursor = 'pointer';
);

box3.on('mouseout', function()
document.body.style.cursor = 'default';
);

var box = new Kinetic.Rect(
x: 200,
y: 80,
width: 100,
height: 50,
fill: '#00D2FF',
stroke: 'black',
strokeWidth: 4,
draggable: true,
dragOnTop: true
);




layer.add(box);
layer.add(box2);
layer.add(box3);
stage.add(layer);

// $(stage.content).on('mousewheel', ui.zoom);

document.getElementById('save').addEventListener('click', function()

stage.toDataURL(
callback: function(dataUrl)

$.ajax(
type: "POST",
url: "save",
data: file: dataUrl
).done(function( respond )
alert(respond);
);

// window.open(dataUrl);

);
, false);
</script>
</body>
</html>


How to save a base64 decoded image in the filesystem using grails

Wednesday, November 5, 2014

Cheap VPS:sugarhosts.com November Specials @ 2014

sugarhosts.com November Specials @ 2014


Shared Web Hosting


Promotion #1: Free Dedicated IP for Shared Pro Plan


Valid On: Any New Shared Pro Annual, Biennial and Triennial Orders


Valid Until: November 30, 2014 GMT


* Please contact Sales Department for dedicated IP after ordering.

* This can be applied UNLIMITED TIMES per client globally.

Promotion #2: 30% Off First Payment


Promotion Code: November2014


Valid On: Any New Shared Standard and Shared Pro Annual, Biennial and Triennial Orders


Valid Until: November 30, 2014 GMT


* Not valid on renewal invoices

* This can be applied UNLIMITED TIMES per client globally.

Promotion #3: Get Hong Kong Hosting at the same price as hosting in other datacenters


Valid On: Any New Hong Kong Shared Web Hosting Orders


Valid Until: November 30, 2014 GMT


* 40% price increase is waived in November.


Visit cheap vps services provider: sugarhosts.com!



Cheap VPS:sugarhosts.com November Specials @ 2014

New Servers Arrived NeedaServer.Net Great Offer- Promo Code K9Z5XQV2R2


New Servers Arrived NeedaServer.Net Great Offer- Promo Code K9Z5XQV2R2


The Bronze is Dual Quad Core 24 GB RAM 1TB SATA Drive or 128 GB SSD Drive with 100 Mbps Unmetered for only $53.96 with this Promo Code K9Z5XQV2R2


The Silver Starts $71.95 with this 2 x Hex Core Intel Processors- 100 Mbps 1 TB SATA Drive 24 GB RAM – Use Discount Code K9Z5XQV2R2


Order quick while they last- The Bronze can be up today, allow till Friday for Silver or Gold


Visit NeedaServer.Net!



New Servers Arrived NeedaServer.Net Great Offer- Promo Code K9Z5XQV2R2

Friday, October 31, 2014

HAPPY HALLOWEEN! LIMITED TIME OFFER NOW AVAILABLE!JSUTHOST WEB HOSTING $2.50 PER MONTH*

HAPPY HALLOWEEN! LIMITED TIME OFFER NOW AVAILABLE!JSUTHOST WEB HOSTING $2.50 PER MONTH*


AFFORDABLE WEB HOSTING MADE EASY


Get the last hosting account you’ll ever need today


UNLIMITED WebsitesFREE Domain IncludedUNLIMITED StorageFREE Site BuildersUNLIMITED DomainsFREE Instant SetupUNLIMITED Email AccountsFREE 24/7 Phone Support

ANYTIME

MONEY-BACK

GUARANTEE

$2.50 PER

MONTH*

INTRODUCTORY OFFER


Website Hosting


give you the following web hosting features:


Domain Name Registration

Site Builder with Templates

e-Commerce Shopping Carts

$100 Google Advertising Offer

Control Panel – Powered by cPanel

Instant Setup!

<a href=”//www.justhost.com/track/nacom/” target=”_blank”>

<img border=”0″ src=”//justhost-cdn.com/media/partner/images/nacom/430×288/jh-ppc-banners-dynamic-430×288.png”>

</a>



HAPPY HALLOWEEN! LIMITED TIME OFFER NOW AVAILABLE!JSUTHOST WEB HOSTING $2.50 PER MONTH*

Thursday, October 30, 2014

mediatemple Premium WordPress hosting for just $5.

mediatemple Premium WordPress hosting for just $5.


For two days only, promote our unbeatable web hosting at an unbelievable introductory price: $5 for the first month of Premium WordPress hosting. Just use promo code PremiumWP5 at checkout. Offer valid for the first month only.

This offer is only good for 2 days only, so hurry up, click below link:



mediatemple Premium WordPress hosting for just $5.

How To Set Up SSH Keys on Debian/Ubuntu

How To Set Up SSH Keys on Debian/Ubuntu


ssh-keygen -t rsa

You will be prompted for a location to save the keys, and a passphrase for the keys. This passphrase will protect your private key while it’s stored on the hard drive and be required to use the keys every time you need to login to a key-based system:


Generating public/private rsa key pair.

Enter file in which to save the key (/home/b/.ssh/id_rsa):

Enter passphrase (empty for no passphrase):

Enter same passphrase again:

Your identification has been saved in /home/b/.ssh/id_rsa.

Your public key has been saved in /home/b/.ssh/id_rsa.pub.


cp id_rsa.pub authorized_keys
chmod 700 ~/.ssh
chmod 600 authorized_keys

Then edit your /etc/ssh/sshd_config to:


AuthorizedKeysFile /etc/ssh/%u/authorized_keys

Finally, restart ssh with:



service ssh restart

On the host computer, ensure that the /etc/ssh/sshd_config contains the following lines, and that they are uncommented;


PubkeyAuthentication yes

RSAAuthentication yes


if disable the PasswordAuthentication,change

PasswordAuthentication yes

to

PasswordAuthentication no



How To Set Up SSH Keys on Debian/Ubuntu

How To Install and Configure Varnish 3 with Apache on Debian

How To Install and Configure Varnish 3 with Apache on Debian


About Varnish

Varnish is an HTTP accelerator designed for content-heavy dynamic web sites as well as heavily consumed APIs. In contrast to other web accelerators, such as Squid, which began life as a client-side cache, or Apache and nginx, which are primarily origin servers, Varnish was designed as an HTTP accelerator. Varnish is focused exclusively on HTTP, unlike other proxy servers that often support FTP, SMTP and other network protocols.


Setup

Apache and Varnish


apt-get install apache2

Step One—Install Varnish


The varnish site recommends installing the varnish package through their repository.


You can start that process by grabbing the repository:


curl http://repo.varnish-cache.org/debian/GPG-key.txt | sudo apt-key add -

The next step is to add the repository to the list of apt sources. Go ahead and open up that file.


vim /etc/apt/sources.list

Once inside the file, add the varnish repository to the list of sources.


deb http://repo.varnish-cache.org/ubuntu/ lucid varnish-3.0

Save and exit.


Finally, update apt-get and install varnish.


apt-get update
apt-get install varnish

Step Two—Configure Varnish

Varnish will serve the content on port 80, while fetching it from apache which will run on port 8080.

vim /etc/default/varnish


DAEMON_OPTS="-a :80 \
-T localhost:6082 \
-f /etc/varnish/default.vcl \
-S /etc/varnish/secret \
-s malloc,256m"

Once you save and exit out of that file, open up the default.vcl file:


vim /etc/varnish/default.vcl

The configuration should like this:


backend default 
.host = "127.0.0.1";
.port = "8080";

if enbale esi


 sub vcl_fetch 
set beresp.do_esi = true; /* Do ESI processing */
set beresp.ttl = 24 h; /* Sets the TTL on the HTML above */

Step Three—Configure Apache


vim /etc/apache2/ports.conf

Change the port number for both the NameVirtualHost and the Listen line to port 8080, and the virtual host should only be accessible from the localhost. The configuration should look like this:


NameVirtualHost 127.0.0.1:8080
Listen 127.0.0.1:8080

Change these settings in the default virtual host


vim /etc/apache2/sites-available/default

<VirtualHost 127.0.0.1:8080>

Save and exit the file and proceed to restart Apache and Varnish.


service apache2 restart
service varnish restart

or manual start varnish


varnishd -f /etc/varnish/default.vcl -s malloc,128M -T 127.0.0.1:2000 -a 0.0.0.0:999 -d


How To Install and Configure Varnish 3 with Apache on Debian

Wednesday, October 22, 2014

How to uninstall gnome environment on debian

How to uninstall gnome environment on debian


aptitude purge liborbit2


How to uninstall gnome environment on debian

Grails Service Get session,response,request,servletContext

Grails Service, Get session,response,request,servletContext


import org.codehaus.groovy.grails.web.util.WebUtils
import org.springframework.web.context.request.RequestContextHolder

……

//Getting the Request object

def getRequest()
def webUtils = WebUtils.retrieveGrailsWebRequest()
webUtils.getCurrentRequest()


//Getting the Response object

def getResponse()
def webUtils = WebUtils.retrieveGrailsWebRequest()
webUtils.getCurrentResponse()


//Getting the ServletContext object

def getServletContext()
def webUtils = WebUtils.retrieveGrailsWebRequest()
webUtils.getServletContext()


//Getting the Session object

def getSession()
RequestContextHolder.currentRequestAttributes().getSession()



Grails Service Get session,response,request,servletContext

Getting Spring Context in Grails BootStrap

Getting Spring Context in Grails BootStrap


import org.springframework.web.context.support.WebApplicationContextUtils

class BootStrap

def init = servletContext ->
// Get spring
def springContext = WebApplicationContextUtils.getWebApplicationContext( servletContext )



Getting Spring Context in Grails BootStrap

Monday, October 13, 2014

Linux Command-SCP,example

Linux Command-SCP example

upload local file to remote server
scp -P 2222 /home/a5go.com.tar.gz root@a5go:/root/a5go.com.tar.gz


upload local folder to remote server
scp -P 2222 -r /home/a5go.com/ root@a5go:/root/a5go.com/


get remote server file to local
scp -P 2222 root@a5go:/root/a5go.com.tar.gz /home/a5go.com.tar.gz


get remote server folder to local
scp -P 2222 -r root@a5go:/root/a5go.com/ /home/a5go.com/



Linux Command-SCP,example

Monday, October 6, 2014

Grails Goodness Notebook

The Grails Goodness Notebook contains the blog posts about Grails. The posts are bundled and categorized into sections. Each section starts with the simpler features and ends with more advanced Grails features. The book is intended to browse through the subjects. You should be able to just open the book at a random page and learn more about Grails. Maybe pick it up once in a while and learn a bit more about known and lesser known features of Grails.


The book categorizes the posts in the following sections:


Configuration

The Command LIne

Grails Object Relational Mapping (GORM)

Validation

Controllers

Groovy Server Pages (GSP)

REST

The Service Layer

Grails and Spring

Internationalization (i18n)

IDE


Grails Goodness Notebook is updated with the following posts:

Using Bintray JCenter as Repository

Use Spring Java Configuration

Conditonally Load Beans in Java Configuration Based on Grails Environment

Using Converter Named Configurations with Default Renderers

Custom Controller Class with Resource Annotation

Change Response Formats in RestfulController

Enable Accept Header for User Agent Requests

Exception Methods in Controllers

Run Groovy Scripts in Grails Context

Using Aliases as Command Shortcuts

Generate Default .gitignore Or .hgignore File

Extending IntegrateWith Command


Visit Grails Goodness Notebook!



Grails Goodness Notebook

Saturday, October 4, 2014

Grails,How to use enum

Grails,How to use enum


Example:

Groovy Code


package com.test

public enum MessageStatus
PENDING(0),SUCCESS(1),FALSE(2)

private final Integer value

MessageStatus(Integer value)
this.value = value


Integer getId()
value


Grails Domain call this groovy method


import com.test.MessageStatus

class MessageDetails
MessageStatus status


Grails,How to use enum

Friday, October 3, 2014

Grails mail config

1. add plugin

runtime “:mail:1.0.7″

runtime “:email-confirmation:1.0.5″

2.Edit Config.groovy

gmail

grails 
 mail 
 host = "smtp.gmail.com" 
 port = 587 
 username = "a5go.com@gmail.com" 
 password = "password" 
 props = ["mail.debug": "true", 
 "mail.smtp.protocol": "smtps", 
 "mail.smtp.auth": "true", 
 "mail.smtp.starttls.enable": "true", 
 "mail.smtp.host": "smtp.gmail.com", 
 "mail.smtp.user": "a5go.com@gmail.com", 
 "mail.smtp.password": "password"] 
 

hotmail

grails 
 mail 
 host = "smtp.live.com"
 port = 587
 username = "a5go.com@live.com"
 password = "password"
 props = ["mail.smtp.starttls.enable":"true",
 "mail.smtp.port":"587"]
 


Grails mail config

Wednesday, October 1, 2014

issue:[Fatal Error] :55983:45: XML document structures must start and end within the same entity.

issue:[Fatal Error] :55983:45: XML document structures must start and end within the same entity.

status:pending


Sometimes, when running my application in development mode, I receive the following error:


Configuring Shiro ...

Configuring Shiro ...


Shiro Configured

Shiro Configured

| Server running. Browse to http://localhost:8080/bank

[Fatal Error] :55983:45: XML document structures must start and end within the same entity.


The application seems to run ok, What does this error mean?

I am running grails 2.3.7 in a JDK6,WIN7 environment.



issue:[Fatal Error] :55983:45: XML document structures must start and end within the same entity.

Getting Started with Grails and MySQL

Getting Started with Grails and MySQL

1. Create a database in MySQL.


mysql> CREATE DATABASE bank_dev;
mysql> CREATE DATABASE bank_test;
mysql> CREATE DATABASE bank_prod;

2.Add the MySQL driver to project.

Download the jar file(i am using mysql-connector-java-5.0.4-bin.jar) and put it in your $project/lib directory


3.change DataSource.groovy

The complete code should look like this


dataSource 
// pooled = true
// jmxExport = true
// driverClassName = "org.h2.Driver"
// username = "sa"
// password = ""
pooled = true
jmxExport = true
driverClassName = "com.mysql.jdbc.Driver"
username = "root"
password = ""
dialect = org.hibernate.dialect.MySQL5InnoDBDialect

hibernate
cache.use_second_level_cache = true
cache.use_query_cache = false
cache.region.factory_class = 'net.sf.ehcache.hibernate.EhCacheRegionFactory' // Hibernate 3
// cache.region.factory_class = 'org.hibernate.cache.ehcache.EhCacheRegionFactory' // Hibernate 4
singleSession = true // configure OSIV singleSession mode


// environment specific settings
environments
development
dataSource
dbCreate = "create-drop" // one of 'create', 'create-drop', 'update', 'validate', ''
// url = "jdbc:h2:mem:devDb;MVCC=TRUE;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE"
url = "jdbc:mysql://localhost:3306/ncbank_dev?useUnicode=true&characterEncoding=UTF-8"


test
dataSource
dbCreate = "update"
// url = "jdbc:h2:mem:testDb;MVCC=TRUE;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE"
url = "jdbc:mysql://localhost:3306/ncbank_test?useUnicode=true&characterEncoding=UTF-8"


production
dataSource
dbCreate = "update"
// url = "jdbc:h2:prodDb;MVCC=TRUE;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE"
url = "jdbc:mysql://localhost:3306/ncbank_prod?useUnicode=true&characterEncoding=UTF-8"
properties
// See http://grails.org/doc/latest/guide/conf.html#dataSource for documentation
jmxEnabled = true
initialSize = 5
maxActive = 50
minIdle = 5
maxIdle = 25
maxWait = 10000
maxAge = 10 * 60000
timeBetweenEvictionRunsMillis = 5000
minEvictableIdleTimeMillis = 60000
validationQuery = "SELECT 1"
validationQueryTimeout = 3
validationInterval = 15000
testOnBorrow = true
testWhileIdle = true
testOnReturn = false
jdbcInterceptors = "ConnectionState"
defaultTransactionIsolation = java.sql.Connection.TRANSACTION_READ_COMMITTED





Getting Started with Grails and MySQL

Error Error executing script ShiroQuickStart: groovy.lang.MissingMethodException: No signature of method

Error Error executing script ShiroQuickStart: groovy.lang.MissingMethodException: No signature of method


|Loading Grails 2.3.7
|Configuring classpath
> grails shiro-quick-start --prefix=com.test.
.
|Environment set to development
................................
|Packaging Grails application
.
|Uninstalled plugin [spring-security-core]
..
|Compiling 10 source files

..
|Compiling 578 source files
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
.......
|Compiling 12 source files
...............................................................................................
Configuring Shiro ...

Shiro Configured
Error |
Error executing script Shell: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'uk.co.desirableobjects.oauth.scribe.OauthController': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'oauthService': Invocation of init method failed; nested exception is java.lang.IllegalStateException: No oauth configuration found. Please configure the oauth scribe plugin (Use --stacktrace to see the full trace)

Process finished with exit code 1

How to fix it:


grails shiro-quick-start "--prefix=com.test" --stacktrace

or


grails shiro-quick-start


Error Error executing script ShiroQuickStart: groovy.lang.MissingMethodException: No signature of method

Tuesday, September 30, 2014

Grails - Resolve error obtaining dependencies org.compass-project:compass:jar:2.2.1

Whenever I run my Grails application,get the following error:


Error |
Resolve error obtaining dependencies: The following artifacts could not be resolved: org.compass-project:compass:jar:2.2.1

Resolve this error:

need add a couple of maven repos in BuildConfig.groovy


mavenRepo "https://repo.grails.org/grails/core"
mavenRepo "https://oss.sonatype.org/content/repositories/releases/"
mavenRepo "http://repo.spring.io/milestone"

And then:


grails compile --non-interactive --refresh-dependencies

Tested pass on grails 2.3.7


My BuildConfig.groovy


grails.servlet.version = "3.0" // Change depending on target container compliance (2.5 or 3.0)
grails.project.class.dir = "target/classes"
grails.project.test.class.dir = "target/test-classes"
grails.project.test.reports.dir = "target/test-reports"
grails.project.work.dir = "target/work"
grails.project.target.level = 1.6
grails.project.source.level = 1.6
//grails.project.war.file = "target/$appName-$appVersion.war"

grails.project.fork = [
// configure settings for compilation JVM, note that if you alter the Groovy version forked compilation is required
// compile: [maxMemory: 256, minMemory: 64, debug: false, maxPerm: 256, daemon:true],

// configure settings for the test-app JVM, uses the daemon by default
test: [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256, daemon:true],
// configure settings for the run-app JVM
run: [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256, forkReserve:false],
// configure settings for the run-war JVM
war: [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256, forkReserve:false],
// configure settings for the Console UI JVM
console: [maxMemory: 768, minMemory: 64, debug: false, maxPerm: 256]
]

grails.project.dependency.resolver = "maven" // or ivy
grails.project.dependency.resolution =
// inherit Grails' default dependencies
inherits("global")
// specify dependency exclusions here; for example, uncomment this to disable ehcache:
// excludes 'ehcache'

log "error" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
checksums true // Whether to verify checksums on resolve
legacyResolve false // whether to do a secondary resolve on plugin installation, not advised and here for backwards compatibility

repositories
inherits true // Whether to inherit repository definitions from plugins

grailsPlugins()
grailsHome()
mavenLocal()
grailsCentral()
mavenCentral()
mavenRepo "https://repo.grails.org/grails/core"
mavenRepo "https://oss.sonatype.org/content/repositories/releases/"
mavenRepo "http://repo.spring.io/milestone"
// uncomment these (or add new ones) to enable remote dependency resolution from public Maven repositories
//mavenRepo "http://repository.codehaus.org"
//mavenRepo "http://download.java.net/maven/2/"
//mavenRepo "http://repository.jboss.com/maven2/"


// dependencies
// // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes e.g.
// // runtime 'mysql:mysql-connector-java:5.1.27'
// // runtime 'org.postgresql:postgresql:9.3-1100-jdbc41'
//

plugins
// plugins for the build system only
// build ":tomcat:7.0.54"
build ":tomcat:7.0.52.1"

// plugins for the compile step
compile ":scaffolding:2.0.3"
compile ':cache:1.1.1'
compile ":burning-image:0.5.1",
":joda-time:1.5",
":taggable:1.1.0"


// plugins needed at runtime but not for compilation
// runtime ":hibernate:3.6.10.9" // or ":hibernate4:4.3.4"
// runtime ":database-migration:1.3.8"
// runtime ":resources:1.2.7"
// runtime ":spring-security-core:2.0-RC4"

runtime ":avatar:0.3",
":rest-client-builder:2.0.3",
":cache:1.1.7",
":cache-headers:1.1.5",
":cached-resources:1.0",
":database-migration:1.4.0",
// ":disqus:0.2",
":feeds:1.5",
":greenmail:1.2.2",
":hibernate:3.6.10.15",
":jquery:1.11.0.2",
":jquery-ui:1.8.24",
":mail:1.0.5",
":pretty-time:0.3",
":quartz:1.0.1",
":resources:1.2.8",
":searchable:0.6.7",
":spring-events:1.2",
":spring-security-core:2.0-RC4",
":zipped-resources:1.0",
excludes 'spring-test', 'cglib'

runtime ":shiro:1.2.1",
exclude 'org.opensymphony.quartz:quartz'

runtime ":oauth:2.1.0"

runtime ":shiro-oauth:0.2",
excludes 'shiro-core'



// Uncomment these (or add new ones) to enable additional resources capabilities
//runtime ":zipped-resources:1.0.1"
//runtime ":cached-resources:1.1"
//runtime ":yui-minify-resources:0.1.5"

// An alternative to the default resources plugin is the asset-pipeline plugin
//compile ":asset-pipeline:1.6.1"

// Uncomment these to enable additional asset-pipeline capabilities
//compile ":sass-asset-pipeline:1.5.5"
//compile ":less-asset-pipeline:1.5.3"
//compile ":coffee-asset-pipeline:1.5.0"
//compile ":handlebars-asset-pipeline:1.3.0.1"

if (Environment.current == Environment.DEVELOPMENT)
compile ":build-test-data:2.1.2",
":fixtures:1.2"

else
test ":build-test-data:2.1.2",
":fixtures:1.2"


compile ":platform-core:1.0.M6"
runtime ":cache-ehcache:1.0.0", exclude "cache"


test ":geb:0.9.3",
excludes 'xml-apis'
exclude "spock-grails-support"


compile ":freemarker:0.1.1"
// compile ":freemarker-tags:0.7.2"
// compile ":twitter-bootstrap:3.2.0.2"
compile ":admin-interface:0.6.5"
// compile ":shiro:1.2.1"
compile ":ckeditor:4.4.1.0"



dependencies
compile "commons-collections:commons-collections:3.2.1"
compile "org.compass-project:compass:2.2.1"
compile('org.apache.lucene:lucene-highlighter:2.4.1',
'org.apache.lucene:lucene-analyzers:2.4.1',
'org.apache.lucene:lucene-queries:2.4.1',
'org.apache.lucene:lucene-snowball:2.4.1',
'org.apache.lucene:lucene-spellchecker:2.4.1')
// build "org.lesscss:lesscss:1.3.0"
//
// compile "org.grails:grails-gdoc-engine:1.0.1"
// compile "org.springframework.social:spring-social-twitter:1.0.5.RELEASE",
// "org.springframework:spring-context-support:3.2.8.RELEASE",
// "org.jadira.usertype:usertype.jodatime:1.9",
// "org.jsoup:jsoup:1.7.3"
//
// compile('org.apache.lucene:lucene-highlighter:2.4.1',
// 'org.apache.lucene:lucene-analyzers:2.4.1',
// 'org.apache.lucene:lucene-queries:2.4.1',
// 'org.apache.lucene:lucene-snowball:2.4.1',
// 'org.apache.lucene:lucene-spellchecker:2.4.1')
//
// compile "org.apache.shiro:shiro-core:1.2.2"
//
// test "org.gebish:geb-core:0.9.2",
// "org.gmock:gmock:0.8.3"
// test "org.codehaus.groovy.modules.http-builder:http-builder:0.7.1",
// excludes "commons-logging", "httpclient", "xml-apis", "groovy", "groovy-all", "xercesImpl", "nekohtml"
//
// test "org.seleniumhq.selenium:selenium-htmlunit-driver:2.41.0",
// excludes "htmlunit", "xml-apis"
//
// test "net.sourceforge.htmlunit:htmlunit:2.13",
// excludes "xml-apis", "commons-logging", "xercesImpl"
//
//
// test 'org.gebish:geb-spock:0.9.3'
//
// if (Environment.current == Environment.DEVELOPMENT)
// runtime "org.grails:grails-test:$grailsVersion"
//
//
// compile "org.springframework.cloud:cloudfoundry-connector:0.9.10.RELEASE"
// compile "org.springframework.cloud:spring-service-connector:0.9.10.RELEASE"


grails.project.fork.war.jvmArgs = [ '-Dinitial.admin.password=changeit', '-Dload.fixtures=1' ]


Grails - Resolve error obtaining dependencies org.compass-project:compass:jar:2.2.1

Sunday, September 28, 2014

Groovy - how to disable warning for niogroovymethods

using groovy-2.3.7, with jdk6u37

got an error
C:\Users\xxx>groovy -v

Sep 29, 2014 12:03:47 AM org.codehaus.groovy.runtime.m12n.MetaInfExtensionModule

newModule

WARNING: Module [groovy-nio] - Unable to load extension class [org.codehaus.groo

vy.runtime.NioGroovyMethods]

Groovy Version: 2.3.7 JVM: 1.6.0_37 Vendor: Sun Microsystems Inc. OS: Windows 7


so how to disable warning for niogroovymethods:


solution 1. Edit $JAVA_HOME/jre/lib/logging.properties


Set INFO to SEVERE or OFF
java.util.logging.ConsoleHandler.level = SEVERE


After
C:\Users\xxx>groovy -version

Groovy Version: 2.3.7 JVM: 1.6.0_37 Vendor: Sun Microsystems Inc. OS: Windows 7


solution 2. Second better solution

Remove groovy-nio-2.3.7.jar from lib folder



Groovy - how to disable warning for niogroovymethods

Thursday, September 25, 2014

Urgent Support Notice for Linux Users: ‘Bash’ Software Vulnerability More Severe Than Heartbleed

As of yesterday (September 24, 2014), there has been a very significant vulnerability disclosed on a software that is used by millions – `Bash`. Bash is the shell utility that allows you to interact with the operating system via the command line. The command line allows you to perform operations on your computer without having to do everything via a GUI. Also, scripts are written using Bash’s built in commands that automate tasks on your server proving how critical Bash is to your system. Although there are other shell utilities available, Bash is by far the most distributed and used.


This flaw effects the operating system itself, allowing attackers to gain full access to your server if it is running the Linux Operating System. It has been rated as a 10/10 for severity. To patch this vulnerability, you will need to update the Bash software on your system. Please see the following commands to update our most popular operating systems:


Fedora: # yum update bash


CentOS: # yum update bash


Ubuntu: # apt-get update && apt-get --only-upgrade install bash


Debian: # apt-get update && apt-get --only-upgrade install bash



Urgent Support Notice for Linux Users: ‘Bash’ Software Vulnerability More Severe Than Heartbleed

Tuesday, September 23, 2014

EcVps,Free Hosting provider, Instant Activation

EcVps Free Hosting ( Share hosting ) $0.00USD


20GB Diskspace


2TB Bandwidth


Support PHP, MYSQL


Zend Optimizer


Much More


Torrents, Proxy, Adult allowed!


Kansas City Datacenter ( USA Located )


No ADS


1000Mbps Internet Connection


Directadmin ( control panel )


Remove Account if no bandwidth using for 7 days


Instant Activation


Visit EcVps,Free Hosting provider!



EcVps,Free Hosting provider, Instant Activation

Monday, September 22, 2014

A2 Hosting special offer:WordPress Hosting 17% off

At A2 Hosting, A2 Hosting focused on providing high performance hosting solutions. A2 Hosting Engineers have spent years developing A2 Hosting SwiftServer platform, and now A2 Hosting have a team focused on optimizing the most popular solutions. A2 Hosting optimizers started with WordPress by developing A2 Optimized.


A2 Optimized – Preconfigured WordPress For Speed & Improved Security!


A2 Optimized is a WordPress plugin exclusive to A2 Hosting customers,that auto-configures sites for the best WordPress performance. Thanks to months of testing multiple combinations of compression and caching solutions, A2 Hosting have ended the guesswork of how to get the fastest WordPress page loads. With security also being a concern of WordPress users, A2 Optimized also offers automatic site hardening to help prevent hacks. You can get all the details here – http://www.a2hosting.com/blog-archive/a2-optimized-6x-faster-wordpress-page-loads


A2 Optimized offers many of the same features of a Managed WordPress Hosting service that normally starts at $30/mo, but at a much more affordable $5/month. That means your customers and websites visitors get automatic page load acceleration and improved security when they visit our WordPress Hosting (http://www.a2hosting.com/wordpress-hosting) page at a heavily discounted rate.


Save 17% and host for as low as $4.97/month!

Use Promo Code WORDPRESS to save 17% off your first invoice


fast hosting




A2 Hosting special offer:WordPress Hosting 17% off

Media Temple special offer:Celebrate Media Temple 16th birthday with $1.60 web hosting.

Media Temple special offer:Celebrate Media Temple 16th birthday with $1.60 web hosting.

Media Temple celebrating birthday month with another exclusive offer:

Get your first month of Grid or Premium WordPress Hosting for just $1.60. Just enter promo code SWEET16 at checkout. Offer valid for new customers only.

This special offer ends at the end of the month on September 30.


$1.60 Grid and Premium WordPress hosting by Media Temple



Media Temple special offer:Celebrate Media Temple 16th birthday with $1.60 web hosting.

How to Converting MySQL to PostgreSQL

How to Converting MySQL to PostgreSQL


Using mysql2pgsql.perl Download:http://bitshare.com/?f=6nj7i05s


1.dump the MYSQL data,save to mysql.sql

2.execute:perl mysql2pgsql.pl mysql.sql pg.sql

3.import

psql -d dbName -h localhost -p 5432 -U postgres -f filePath



How to Converting MySQL to PostgreSQL

How To Install Infobright on Linux Env

How To Install Infobright on Linux Env


Infobright is a commercial provider of column-oriented relational database software with a focus in machine-generated data.

Infobright Community Edition (ICE)

The Open-Source Database for Ad hoc Analytics


Infobright’s column oriented, open-source analytic database provides both speed and efficiency. Coupled with 10:1 average compression, ICE takes your machine generated data and gives you the ultimate power to slice-n’-dice your data. Plus, it’s free!


install infobright on Ubuntu/Debian
# wget http://www.infobright.org/downloads/ice/infobright-4.0.7-0-i686-ice.deb

# dpgk -i infobright-4.0.7-0-i686-ice.deb


install infobright on Centos
# wget https://www.infobright.org/downloads/ice/infobright-4.0.7-0-i686-ice.rpm

# rpm -ivh infobright-4.0.7-0-i686-ice.rpm --prefix=/usr/local/

# cd /usr/local/infobright-4.0.7-i686

# ./postconfig.sh

# /usr/local/infobright-4.0.7-i686/bin/mysql


[root@a5go ~]# /usr/local/infobright-4.0.7-i686/bin/mysql

Welcome to the MySQL monitor. Commands end with ; or g.

Your MySQL connection id is 27

Server version: 5.1.40 build number (revision)=IB_4.0.7_r16086_16275(ice) (static)


Type ‘help;’ or ‘h’ for help. Type ‘c’ to clear the current input statement.


mysql>


infobright start|stop|restart
# /etc/init.d/mysqld-ib stop

# /etc/init.d/mysqld-ib start


Enable remote connect
GRANT ALL PRIVILEGES ON *.* TO 'a5go'@'%' IDENTIFIED BY 'a5go' WITH GRANT OPTION;

flush privileges;

Remote connect

mysql -ua5go -pa5go -h10.10.10.10 --port 5029


Note:

1. Support the MySQL native SQL
# vim /usr/local/infobright-4.0.7-i686/data/brighthouse.ini


set AllowMySQLQueryPath = 1



How To Install Infobright on Linux Env

Saturday, September 20, 2014

How to Check Memory Usage of the Bash command line for Linux

How to Check Memory Usage of the Bash command line for Linux

1. top command
# top

output:


Check user:oracle Memory Usage
$ top -u oracle


2.pmap command

According to the process looking at the memoryusage
$ pmap -d 12345


3./proc/meminfo

The /proc/meminfo file stores statistics about memory usage on the Linux based system.
$ cat /proc/meminfo

$ less /proc/meminfo

$ more /proc/meminfo

$ egrep --color 'Mem|Cache|Swap' /proc/meminfo


4.ps command
$ ps -e -o 'pid,comm,args,pcpu,rsz,vsz,stime,user,uid'

$ ps -e -o 'pid,comm,args,pcpu,rsz,vsz,stime,user,uid' | grep oracle | sort -nrk5



How to Check Memory Usage of the Bash command line for Linux

Friday, September 19, 2014

How to check a process is already running of the Bash command line for Linux

How to check a process is already running of the Bash command line for Linux

if not running the start it


Example:

Shell Script 1:
#!/bin/sh

program=xxx #process name

sn=`ps -ef | grep $program | grep -v grep |awk 'print $2'` #get pid

if [ "$sn" = "" ] #if '',then not running

then

nohup /home/oracle/xxx & #running in the background

echo start!

else

echo running

fi


Shell Script 2:
#!/bin/sh

ps -ef |grep ./FileServer > /dev/null 2>&1 #write pid to /dev/null

if [ $? -eq 0 ] #0 is running

then

echo logprocess running!

else

nohup /home/oracle/xxx &

echo start!

fi


Shell Script 3:
#!/bin/sh

count=`ps -fe |grep "log.out" | grep -v "grep" | wc -l`

if [ $count -lt 1 ]; then

/root/sh/restart.sh



How to check a process is already running of the Bash command line for Linux

How to skip Files or Directories when creating a .tar.gz file of the Bash command line for Linux

How to skip Files or Directories when creating a .tar.gz file of the Bash command line for Linux

Exclude directories with –exclude for tar

tar czvf xxx.tar.gz –exclude=dir1 –exclude=file1 ……


Example:
tar czvf a5go.com.tar.gz /home/a5go.com --exclude=/home/a5go.com/test --exclude=/home/a5go.com/test.php



How to skip Files or Directories when creating a .tar.gz file of the Bash command line for Linux

How to batch rename files of the Bash command line for Linux

How to batch rename files of the Bash command line for Linux


Example:
# find ./ -name oldfile -exec mv .newfile \

or
# find ./ -name oldfile | xargs -I mv .newfile

or
# find ./ -name oldfile | awk 'printf("mv %s \t %s \n",$1,$1)' |sh



How to batch rename files of the Bash command line for Linux

how to use kill to kill a batch of processes with same name of the Bash command line for Linux

how to use kill to kill a batch of processes with same name of the Bash command line for Linux


Example:

kill checkTurboPlatform2.sh
# ps aux|grep checkTurboPlatform2.sh|awk 'print $2' |xargs kill -9

or
# kill -9 ` ps -e|grep checkTurboPlatform2|awk 'print $1'`



how to use kill to kill a batch of processes with same name of the Bash command line for Linux

How to replace single quote to double quotes of the Bash command line for Linux

How to replace single quote to double quotes of the Bash command line for Linux


# sed 's/\x27/\x22/g' file



How to replace single quote to double quotes of the Bash command line for Linux

Estonia Web Hosting services provider:zone.ee

Estonia Web Hosting services provider:zone.ee


The private limited company Zone Media, which started its operation in 1999, is among Estonia’s leading providers of Internet infrustructure and supporting services. Our mission is to provide individuals and corporations with easy, fast, yet reliable solutions for communication, information exchange and processing on the Internet.

The services provided by Zone Media are:


Web hosting services

Server housing services

Domain registration services


Web Hosting plans

Package I

This service plan is suitable for smaller companies and has enough features and resources to adequately represent yourself on the Internet.


50 GiB

Disk space

100

Number of e-mail accounts

3 GiB

Maximum size of one mailbox

1 TiB

Monthly transfer limit

4.80 €


Visit Estonia Web Hosting services provider:zone.ee!



Estonia Web Hosting services provider:zone.ee

Follow my blog with Bloglovin,please ignore it

Follow my blog with Bloglovin



Follow my blog with Bloglovin,please ignore it

Thursday, September 18, 2014

Bottle documentation

Bottle is a fast, simple and lightweight WSGI micro web-framework for Python. It is distributed as a single file module and has no dependencies other than the Python Standard Library.


Routing: Requests to function-call mapping with support for clean and dynamic URLs.

Templates: Fast and pythonic *built-in template engine* and support for mako, jinja2 and cheetah templates.

Utilities: Convenient access to form data, file uploads, cookies, headers and other HTTP-related metadata.

Server: Built-in HTTP development server and support for paste, fapws3, bjoern, Google App Engine, cherrypy or any other WSGI capable HTTP server.


Homepage and documentation: http://bottlepy.org
Visit Bottle documentation!


Resource:
Python hosting
Python books



Bottle documentation

Python Hosting services provider:alwaysdata

Python Hosting services provider:alwaysdata

alwaysdata is a hosting company, and offer shared hosting, but also managed dedicated hosting. Above all, alwaysdata team with a passion for our work. Since 2006, alwaysdata we have been maintaining our optimized hosting services for your entire Web infrastructure (websites, domains, emails, databases, etc.), from the simplest to the most exotic. alwaysdata work in compliance with some values that we hold dear:


staying abreast of technologies, to accommodate the most modern, state-of-the-art ones

ensuring our customers’ well-being by providing prompt and effective responses

make things clear, simple, intuitive, to facilitate access to our services


Why come to alwaysdata?


PHP 5.5, Python 2.6/3.1, Ruby 1.9.2 et bien d’autres ;

Compatible with Django, Ruby, symfony, etc.

MySQL 5.1, PostgreSQL 9.0 ;

SSH access with hundreds of tools and libraries

Support IMAP, POP, SMTP, autoresponder, Sieve scripts

Domains, databases, unlimited users

High quality support, 24/7

Administration panel available in 8 languages

Daily backups retained for 30 days

A free plan, with no advertising or feature limit

-50 % si vous êtes étudiant ou sans emploi ;

From the shared server to the managed dedicated server


Plan:

Free plan

Disk space 10MB

RAM 64MB

Traffic/month 1GB

Price/month FREE


Visit Python Hosting services provider:alwaysdata!



Python Hosting services provider:alwaysdata

GoDaddy special offer: $1 domain, website and email bundle

GoDaddy special offer: $1 domain, website and email bundle


It’s only $1* a month! For the same price as a cup of coffee. The bundle includes a domain name, Website Builder and Office 365 from GoDaddy, all for an entire year. This offer is only for US-based right now, but it’s coming to other markets soon.


With new domain options for just about anything and one-stop website solutions, GoDaddy makes getting online easy.



A suite deal to get your business online. $1/ mo! Website builder, domain and email!



GoDaddy special offer: $1 domain, website and email bundle

Easyspace new .scot domain extensions available

Easyspace new .scot domain extensions available


The new .SCOT domain name is officially released on Tuesday 23rd September.


The .scot domain name extension, a name which will provide an internet address for people & businesses in Scotland, as well as the worldwide family of Scots who want to demonstrate their identity online.


Why .scot?


.scot will give people, organisations and businesses the opportunity to clearly identify themselves as Scottish. .scot websites offering a unique branding tool for businesses and a clear cultural identifier for people in Scotland and in the wider Scots diaspora.


.scot domains are for people and groups who:


Contribute to Scottish social, cultural, business or academic life

Utilise the spoken and visual languages of Scotland

Explore Scottish heritage

Have made Scotland their home

There are between 40 and 50 million people with Scottish connections worldwide and .scot will give them a tool for identification and promotion.



Make it .SCOT with EasySpace



Easyspace new .scot domain extensions available

Get $1.49 .COM Domains at GoDaddy!

This coupon code will give you a big discount in Godaddy domains. You can buy one domain .com for just $1.49. Get now your Godaddy 1.49$.

Click below picture directly connect to $1.49 .COM Domains at GoDaddy special page

It’s Not a Typo! Get $1.49 .COM Domains at GoDaddy!



Get $1.49 .COM Domains at GoDaddy!

How to combine find and cp and rm of the Bash command line for Linux

How to combine find and cp and rm of the Bash command line for Linux


Example:

1.find and cp

# find /home -name ‘*.conf’|xargs -I cp -r /home/conf/


2.find and rm

# find /home -name ‘test-file-*’ | xargs rm -rf



How to combine find and cp and rm of the Bash command line for Linux

How to change the file creation time of the Bash command line for Linux

How to change the file creation time of the Bash command line for Linux


# touch -d datatime file


Example:
# touch -d 20120506 1.txt

# ls -la 1.txt

-rw-r--r-- 1 root root 3451 May 6 2012 1.txt



How to change the file creation time of the Bash command line for Linux

Wednesday, September 17, 2014

Golang Hosting service provider

Golang Hosting service provider


This is a list of professional service providers that are specifically focused on Golang.


VPS Hosting

The VPS (Virtual Private Server) is a fully self-managed server virtualized on the host provider’s server. These are classified as IaaS (Infrastructure as a Service), the lowest level in the cloud services hierarchy. IaaS offer full control over the whole software stack. In effect it is a full Linux server, root and all. With this freedom and control comes the responsibility of managing it.

. Linode One of the best VPS providers

. DigitalOcean fast, stable, cheap and cost-effective VPS provider


A number of Platform-as-a-Service (PaaS) providers allow you to use Golang applications on their clouds.

. Heroku

Heroku is a PaaS (Platform-as-a-Service) provider that supports Go through a third-party buildpack. These buildpacks are a shim layer that adds language support to the core PaaS server. Heroku supports a few of their own buildpacks, but allows for third-parties to create their own to extend the usefulness of their service.

Repository https://github.com/kr/heroku-buildpack-go

Quickstart Guide http://mmcgrana.github.com/2012/09/getting-started-with-go-on-heroku.html

. Google App Engine

Repository https://github.com/GoogleCloudPlatform/appengine-plus-go

Quickstart Guide https://developers.google.com/appengine/training/go-plus-appengine/

. Openshift Repository https://github.com/gcmurphy/golang-openshift

. Windows Azure

. Dotcloud

. IBM BlueMix

. Amazon EC2

. Cloud Foundry

. CloudBees



Golang Hosting service provider

How to recursively delete empty directories of the Bash command line for Linux

How to recursively delete empty directories of the Bash command line for Linux


find . -depth -type d -empty -exec rmdir -v +



How to recursively delete empty directories of the Bash command line for Linux

Canadian Web Hosting services provider:greengeeks.ca

Canadian Web Hosting services provider:greengeeks.ca


GreenGeeks.com is the World’s #1 GREEN ENERGY WEB HOSTING service provider. The GreenGeeks management team has over 40 years of experience in providing high quality, affordable web site hosting. Your account will utilize only the best of breed server hardware, the most dependable network providers and the most up to date software programs available anywhere on the internet.

Eco friendly green energy hosting

Exceptional customer service

Highest quality servers and bandwidth

Dynamic account administration tools

Complete video tutorials and FAQ’s

24x7x365 quality support

Web site design services

GreenGeeks Operations in Canada:


Since 2006 GreenGeeks has provided the most eco-friendly, quality web hosting services to tens of thousands of websites. GreenGeeks have always had offices in Canada and in 2011 we have expanded our services within Canada. For several years now our top tier technical and quality assurance teams have been comprised of American and Canadian personnel, and at the request of our Canadian customers we have established server presence in Canada as well as now accepting Canadian dollars. These expanded operations will provide our Canadian customers with better search engine optimization opportunities within the Canadian search engines as well as allow those customers to invest in the GreenGeeks Services in Canadian dollars. GreenGeeks will of course continue to support all of our customers with our top technical teams spread throughout North America.


Canadian Web Hosting Plans Perfect For Any Website!


ECOSITE BASIC

$3.96/mo

Regular Price: $4.95/mo.

Host 1 Website

Unlimited Webspace

5 Parked Domains

25 Sub-Domains

1 Domain Name Included

100 E-mail Accounts

500 MB Storage Per Email


Reviews:

McFarlane:The few times I have had to contact support over the years they have responded quickly and effectively. It is great being able to provide my customers with a service that is stable and fast. Because GreenGeeks offers a cost effective service I can pass that saving on to my customers and at the same time offer them space on a server that is run on green energy.

Alvin:I will like to highlight an exceptional good service from Galvin R. His service is exceptional good and he is very patience with my inquires. He is an excellent customer service officer and Greengeeks is indeed blessed to have him as an employee.

gb:GreenGeeks tech support is top notch. My issues are always resolved, and the staff helping me are friendly, knowledgeable and fast


Visit Canadian Web Hosting services provider:greengeeks.ca!



Canadian Web Hosting services provider:greengeeks.ca

Canadian Web Hosting services provider:canadianwebhosting

Canadian Web Hosting services provider:canadianwebhosting


Canadian Web Hosting and its subsidiaries represent a comprehensive service structure designed to meet their client’s most demanding requirements. With proven experience and stability that is unique for a technology company, Canadian Web Hosting is a leading managed hosting company that specializes in hosting business and enterprise-class clients. One of only a few SAS70 Type II and CICA 5970 certified service providers in Canada, Canadian Web Hosting delivers a secure and scalable service delivery for a diverse range of companies throughout Canada.


Plan:

Shared Hosting Linux Plans

1 Year $4.95 /m


Canadian VPS Web Hosting – Xen Virtual Private Server

Linux LV30 1vCPU 512MB 20GB 5TB $29.95/m


Visit Canadian Web Hosting services provider:canadianwebhosting!



Canadian Web Hosting services provider:canadianwebhosting

Tuesday, September 16, 2014

Cheap VPS Hosting services provider:BlueVM

Cheap VPS Hosting services provider:BlueVM

BlueVM is dedicated to offering low cost, high quality Virtual Private Servers (VPS). Our VPS come with your choice of OS distribution, control panel and software. We strive to maintain fast servers, friendly support and no downtime.


For the month of September BlueVM featuring some amazing deals on our BLUE2 plans.


BLUE2 Plan Features:

512 MB of Guaranteed RAM

512 MB of Swap

2 CPU @ 2.0+ Ghz

1 IPv4 Address

25 GB of Disk

1 TB of Bandwidth

Click Here To Order


Quarterly Price: $6.99

Semiannual Price: $13.99

Annual Price: $19.95


Special coupon code: SeptemberBLUE2


The coupon code can be used for 25% off one time for any length of time listed above. That means you can get a BLUE2 for $14.96 for the first year!


Visit Cheap VPS Hosting services provider:BlueVM!



Cheap VPS Hosting services provider:BlueVM

Wget or CURL... How to limit the download speed of the Bash command line for Linux

Wget or CURL… How to limit the download speed of the Bash command line for Linux


trickle -d 100 wget http://www.a5go.com/



Wget or CURL... How to limit the download speed of the Bash command line for Linux

How to get 36 hours after the time of the Bash command line for Linux

How to get 36 hours after the time of the Bash command line for Linux


TZ=$TZ-36 date +%d.%m.%Y



How to get 36 hours after the time of the Bash command line for Linux

Sri Lanka Web Hosting services provider: lankahost.lk

Sri Lanka Web Hosting services provider: lankahost.lk

LankaHost Web Hosting Network is a privately held Internet Service Company established in 2006. We provide Reliable and Low Cost Web Hosting Service and Domain Registration Service for Sri Lankans.


Plan:

PERSONAL PLAN

200 MB Storage

5 GB Data Transfer

3 Email Accounts

APACHE HTML, PHP

CPANEL CloudLinux

Rs 900 YEAR


SMALL BUSINESS PLAN

500 MB Storage

50 GB Data Transfer

UNLIMITED Email Accounts

APACHE PHP, MySQL

CPANEL CloudLinux

Rs 1900 YEARMore ..


BUSINESS PLANS

1 GB – 10 GB Storage

100 GB – 250 GB Data Transfer

UNLIMITED Email Accounts

APACHE PHP, MySQL

CPANEL CloudLinux

FROM Rs 3900 More ..


ASP.NET HOSTING

WINDOWS Server 2008 R2

IIS 7.5 and .NET 2.0 3.5 4.0

SQL SERVER 2005

ASP.NET MVC Enabled

WEB BASED Control Panel

FROM Rs 1500 More ..


.lk Rs 3,360 /1 Year


Visit Sri Lanka Web Hosting services provider: lankahost.lk!



Sri Lanka Web Hosting services provider: lankahost.lk

Sri Lanka Web Hosting services provider: webhost.lk

Web Hosting Sri Lanka with WebHost.lk, Leading web hosting company in Sri Lanka for reliable web hosting solutions since 2005. More than Seven years of experience in web hosting industry in Sri Lanka with 2,000+ Satisfied Clients. webhost.lk dedicated to providing the best web hosting in Sri Lanka, Web design Sri Lanka with unbeatable customer support service. Web Hosting Sri Lanka for high quality Linux hosting, Windows hosting, web designing and reseller web hosting solutions on fast, reliable servers with 99.9% uptime.


Plan:

cPanel Hosting Linux Hosting

Disk space1 GB

Monthly traffic20 GB

You can host5 Domains

Email AccountsUnlimited

php / MySQLYes

cPanel Yes

Rs. 900/- yr


Windows Hosting

Disk space500 MB

Monthly traffic10 GB

You can host2 Domains

MS SQL serverYes

ASP/ASP.net/phpYes

IIS7Yes

Rs.1900/- yr


Visit Sri Lanka Web Hosting services provider: webhost.lk!



Sri Lanka Web Hosting services provider: webhost.lk

Sri Lanka Web Hosting services provider: lankanhost

Sri Lanka Web Hosting services provider: lankanhost

LankanHost Sri Lanka web hosting.

Established in 2005. LankanHost offers web hosting service to clients locally in the Sri Lanka and all over the world.

affordable web hosting service. Cheap web hosting plans start from Rs:50/- from month. Our servers, We guarantee an uptime of 99.9% for our servers, which is made possible with to our OC12 & OC48 Internet connections (The capacity of the network that we are part of exceeds 2.5 GB per second)

The servers that we are using have Quad Core / Xeon processors with 4/8 GB of RAM and 3 SCSI hard drives in a secure RAID configuration, supported by backup servers. Each server is equipped a gigabit network adapter card.. LankanHost gives you speed and reliability at all times.

SERVER LOCATION : USA


.com .net .org .biz .info Domain names from Rs: 900 /Yr (8.95$ yr )

Free Search Engine Submission

Free search engine registration system. Submit your site for in major search engines such as Google, MSN, Yahoo etc.

30 Day Money Back Guarantee


Plan:

STARTER WEB HOSTING PLAN


100 MB Space

2 GB Transfer

POP3 email accounts

cPanel & Softaculous

Rs:50 month


PERSONAL PLAN

[ Host 2 Domains in One ]

2GB (2000MB) Space

10 GB Transfer

100 POP3 accounts

cPanel & Softaculous

Host 2 Domains in one

Only Rs:100 month

($1 month )


Visit Sri Lanka Web Hosting services provider: lankanhost!



Sri Lanka Web Hosting services provider: lankanhost

Sri Lanka Web Hosting services provider: webhostinglanka

Sri Lanka Web Hosting services provider: webhostinglanka


Web Hosting Lanka is the leader in affordable web hosting in Sri Lanka. Our reliable, fast Servers and Network connections provide high performance than other competitors. We at Web Hosting Lanka have taken all necessary steps in order to provide the best linux web hosting, windows web hosting and reseller web hosting experience with 100% customer satisfaction.


Plan:

Fast & Reliable Web Hosting

With the ability to host Multiple domains on a single hosting account with very easy and user friendly control panel (cPanel 11). Support for all open source applications with PHP 5.3, MySQL 5.

Web Space 1 GB

Monthly Data Transfer 20 GB

Hosted Domains 10

Annual Fee

Rs. 900


Visit Sri Lanka Web Hosting services provider: webhostinglanka!



Sri Lanka Web Hosting services provider: webhostinglanka

Cheap Web Hosting services provider:serverlanka

Cheap Web Hosting services provider:serverlanka


ServerLanka web hosting servers using latest hardware & Softwares with CloudLinux and cageFS protection .ServerLanka main DataCenter located at USA , Powered by Raid 10 Pure SSD storage and 1GBps connection speed .That mean when comparing with other web hosting providers ,Our servers are extremly fast and stable .


POPULAR PLAN | ONLY $10 /YEAR

1 GB PURE SSD Web Space

20 GB Monthly Bandwidth

Host 3 Domains

Unlimited Sub Domains


Visit Cheap Web Hosting services provider:serverlanka!



Cheap Web Hosting services provider:serverlanka

Monday, September 15, 2014

Sri Lanka Web Hosting services provider: sdsoftweb

Sri Lanka Web Hosting services provider: sdsoftweb

Web Hosting Sri Lanka


Sri Lanka Web hosting, web design and Reseller web hosting. Leading Web Solution provider based in Sri Lanka with more than 2000+ satisfied clients. Our reliable web hosting solutions trusted by worldwide clients since 2005. We are dedicated to providing the best web hosting, Web design services with unbeatable customer support service including 24 x 7 technical support.


Plan:

cPanel Basic Hosting


cPanel Business Hosting Plans

These feature rich Linux Web Hosting packages are tailor made for your requirement. We have built these packages with latest technology and manage via cPanel 11 on a Linux web Servers with 99.9% uptime. cPanel Basic Hosting packages fit for personal web hosting . For business Hosting Requirnment, please visit cPanel Business class hosting.

Rs. 750/- Year

BizH – L250

250 MB Space

2500 MB Traffic

Host 3 Domains

Web Templates – Free

Control Panel – cPanel11 (Demo)


Visit Sri Lanka Web Hosting services provider: sdsoftweb!



Sri Lanka Web Hosting services provider: sdsoftweb

Sri Lanka Web Hosting services provider: webivox

Sri Lanka Web Hosting services provider: webivox


Webivox International (Pvt) Ltd is a professional Sri Lankan Website Designing and Development Company, located in Colombo, Sri Lanka; providing web designing, website application development, e-commerce websites, Mobile website designing, software development, intranet/extranet designing, search engine optimization, eMarketing (SEO, SMO, PPC & etc.), domain registration and reliable web hosting . Plan:

webivox Hosting Sri LankaAt Webivox.com you will find low cost, yet reliable business class web hosting services. Whether you’re an enterprise level business, a small business or even someone who wants to host a personal website, webivox have a suitable solution for your requirements. webivox web hosting packages are come with 99.9% uptime and 30 days moneyback guaranty.

Web Hosting Packages

1GB Space

Rs.850/year

1GB Space

10GB Monthly Bandwidth

Host 5 Domains

MySQL / phpMyAdmin / php 5.2+Latest

cPanel / 52+ Free Scripts

Unlimited

MySQL Database

Unlimited Email Database

99.9% Uptime Guarantee

Annual Only


Visit Sri Lanka Web Hosting services provider: webivox!



Sri Lanka Web Hosting services provider: webivox

Sri Lanka Web Hosting services provider: netaugusta

Sri Lanka Web Hosting services provider: netaugusta


NetAugusta.com, based in Sri Lanka, began in 2006 and has been hosting thousands upon thousands of websites all over the world ever since. The company has grown immensely the past few years and provide each client with true 24×7 Phone, Email, and Live chat support every day of the year. We pride ourselves on the excellent service that we provide to all our customers.


Plan:
Basic Package

Disk Space 250 MB

Monthly Bandwidth 2.5 GB

Linux Full Cpanel Hosting

Unlimited Parking

Unlimited Sub-domains

$7.57

LKR 1,000


Classic Package

Disk Space 500 MB

Monthly Transfer 5 GB

Linux Full Cpanel Hosting

Unlimited Parking

Unlimited Sub-domains

$15.15

LKR 2,000


Visit Sri Lanka Web Hosting services provider: netaugusta!



Sri Lanka Web Hosting services provider: netaugusta

Sri Lanka Web Hosting services provider: hostinglions

Sri Lanka Web Hosting services provider: hostinglions

Hosting Lions was founded by Shyamin Ayesh on February 29, 2012. Hosting Lions is one of the leading web hosting and domain registration company in Sri Lanka since 2012. Hosting Lions provide high quality service for low price.


Plan:
Reseller Hosting

Perfect for starting

$2.50

per month

10 GB Disk Space

Unlimited Bandwidth

US Based Servers

99.9% Uptime

Weekly Backups

1 In Stock


Shared Hosting

Perfect for starting

$6.00

per year

2 GB Disk Space

1 Addon Domains

Unlimited Bandwidth

US Based Servers

99.9% Uptime

20Gbps DDoS Protection

Weekly Backups

24/7 Technical Support


Visit Sri Lanka Web Hosting services provider: hostinglions!



Sri Lanka Web Hosting services provider: hostinglions

Netherlands Web Hosting services provider: netrouting

Netherlands Web Hosting services provider: netrouting


Netrouting is a leading provider of high quality web, virtual, colocated- and dedicated hosting services. With a customer base comprising CDN suppliers, corporate entities, bloggers, streamers and ISPs.

Netrouting today offers a great variety of services out of The Netherlands, Sweden and United States. Services such as:


– Webhosting

– Cloud Hosting

– Virtual Hosting

– Dedicated Servers

– Colocation (Shared Colocation & Rack Housing)

– Connectivity (Bandwidth, IP-Transit, CityLAN)


Netrouting is a healthy, independent and privately funded company with financial and operational freedom.


Netrouting started out with a strong acquisition of Sparkle IT Solutions in 2008, expanding webhosting and dedicated server services rapidly across 2 more datacenters in The Netherlands. Continuing a stream of investments, Netrouting pursued growth into the rapidly growing virtual server market in 2009. Already providing all hosting services for xenEurope, an acquisition was the most desirable step to take when the opportunity presented itself, kickstarting Netrouting into the world of virtual servers with over 300 new customers. Netrouting still operates the xenEurope brand as of this day, to what it stands and was designed for.


Plan:


Competitive Xen VPS packages

At Netrouting netrouting value reliability and redundancy at an affordable price. With packages starting as low as € 5,00 per month, netrouting offer a suitable solution for everyone.


Cloud Web Hosting

Netrouting offers 3 different web hosting packages,Starter as low as € 1,99 per month, these packages are set up to fit perfectly for both low-end and high-end purposes. Packages are brought up to modern specifications to answer to the high demand of quality web hosting with low pricing.


Visit Netherlands Web Hosting services provider: netrouting!



Netherlands Web Hosting services provider: netrouting

Sweden Web Hosting services provider: bahnhof

Sweden Web Hosting services provider: bahnhof

Sweden’s First Independent ISP


Bahnhof was founded in 1994 and is Sweden’s oldest and one of the largest independent national Internet providers. We combine personalized service and local commitment with solid technical experience and knowledge.


Set Up Your Server in Minutes


Get your own virtual server in the Kingdom of Sweden. Monthly plans start at 15 Euro (~21 USD) and you can upgrade easily as your demands grow. Show less

Your Bahnhof VPS comes with extreme scalability; add and subtract RAM, CPU, disk space and traffic limits to fit your needs. Changes take effect in realtime and are immediately reflected on your bill.

The control panel gives you full control of how much power you use. You will be shown the cost for a new configuration before you confirm it.

We offer a wide range of operation systems. Among the most popular are Ubuntu, CentOs, Debian, Gentoo, Fedora, Redhat, FreeBSD, and, of course, Microsoft Windows Server 2008 R2.

Your virtual server will be protected in our nuclear bunker Pionen White Mountains. It will also be mirrored on two other data centres in Stockholm, giving it triple redundancies and security.


Plan Details

Use “newcustomer” coupon code to get a 30% discount for the first month! For NEW customers only!


Resources included in the monthly price:

Elastic cloud servers – MINI startup €15.00 EUR Monthly

1 CPU

256 Mb RAM

6 Gb HDD

100 Mbit interface

1TB bandwidth

Up to 10 servers

Data sent over 2 TB/month costs additional 0.03 euro per Gb

Data received over 2 TB/month costs additional 0.03 euro per Gb

Disk input requests over 65M/month costs additional 0.1 euro per 1M requests/hour

Disk output requests over 27M/month costs additional 0.1 euro per 1M requests/hour



Visit Sweden Web Hosting services provider: bahnhof!



Sweden Web Hosting services provider: bahnhof

Sweden Web Hosting services provider: elastx

Deploy your Java, PHP or Ruby application in two minutes!


Elastx Easy PaaS (powered by Jelastic) is ideal for software developers looking to rapidly deploy their code using their preferred software stack. Just pick your application server (Tomcat 6 & 7, TomEE, Jetty or Glassfish) and choose your database server (MySQL, MariaDB, PostgreSQL, MongoDB, CouchDB, Cassandra or Neo4j). Click OK and you can have your application running in a couple of minutes, with no code changes required! Full SVN and Git integration with maven, compile quickly with ant, roll back your code with one-click application version control! Our hyper modern cloud platform is built on 100% Solid State Disks for maximum performance!


ZERO VENDOR LOCK-IN! Unlike most of our competitors, Elastx can run ANY application without changes to your code. You don’t need to code to complex development API’s (we don’t have any!) or write code within inflexible system constraints.



Try our free tier now!
Sweden Web Hosting services provider: elastx!



Sweden Web Hosting services provider: elastx

Sweden Web Hosting services provider: swedendedicated

Sweden Web Hosting services provider: swedendedicated


swedendedicated cloud SSD VPS platform is up to 8 times faster with SSD disks (Solid State Drive) as opposed to SATA or SAS disks reaching a staggering 1.1Gbs write speed.


ssd_disktest


swedendedicated servers are located in separate datacenters across Sweden to provide a maximum amount of redundancy and thus guaranteeing an uptime of 99,9%


Sweden Dedicated uses only high-end servers for it’s vps nodes, all servers feature latest Intel dual Hexa-core processors. Your Virtual Machine will be stored on SAS disks in raid-10, giving maximum speed and security. Furthermore, all servers are connected to the internet through redundant 1000 Mbit connections.


SSD VPS 256 MB

€9.99monthly

Memory: 256 MB

Storage: 10 GB SSD

Processor core: 1

Bandwidth: 1 TB

Ipv4 Address: 1

Uplink: 1000 Mbit

Virtualization: KVM


Visit Sweden Web Hosting services provider: swedendedicated!



Sweden Web Hosting services provider: swedendedicated

The Node Beginner Book

The aim of The Node Beginner Book is to get you started with developing applications for Node.js, teaching you everything you need to know about advanced JavaScript along the way in 69 pages.


The Node Beginner Book is a great introduction to Node.js for the beginner. It doesn’t cover a lot of advanced subjects, but it’s a great starting point.


Praise for The Node Beginner Book


“This is one of the best tutorials I’ve read. As a former Java coder, I’ve always found JavaScript to be a black art, but you have really simplified things with this tutorial.”


“I just wanted to drop you a note to say thank you for writing such an excellent introduction to node. Your book’s explanation is fantastic!”


“This is one of the few beginner articles I made it all the way through because of how well it’s written.”


Table of Contents


About

Status

Intended audience

Structure of this document

JavaScript and Node.js

JavaScript and You

A word of warning

Server-side JavaScript

“Hello World”

A full blown web application with Node.js

The use cases

The application stack

Building the application stack

A basic HTTP server

Analyzing our HTTP server

Passing functions around

How function passing makes our HTTP server work

Event-driven asynchronous callbacks

How our server handles requests

Finding a place for our server module

What’s needed to “route” requests?

Execution in the kingdom of verbs

Routing to real request handlers

Making the request handlers respond

Serving something useful

Handling POST requests

Handling file uploads

Conclusion and outlook



The Node Beginner Book

Sunday, September 14, 2014

Get $10 In Your Billing Account For Digitalocean Server

with DigitalOcean you can deploy a simple, fast and scalable KVM virtualized cloud virtual servers with 512 RAM and 20GB SSD in 55 seconds for $5/month.


Get $10 In Your Billing Account For Digitalocean Server!



Get $10 In Your Billing Account For Digitalocean Server

Australia Web Hosting services provider: webcity

Australia Web Hosting services provider: webcity


Australian Web Hosting Services


Webcity is one of Australia’s leading domain name registration and web hosting providers. Since 1997, webcity have served over 160,000 customers to become one of Australia’s largest providers of web hosting and related internet services. Our products are specifically designed for small to medium businesses.


webcity success is built largely on our technology. We always have and always will spend far more time and money on improving our hosting platform than we do on marketing or sales budgets. webcity strongly believe we have the best hosting environment in Australia.


Plan:


Cloud Pro


The Cloud Pro is the ideal plan to get started quicker! It includes our Website builder which will enable you to publish a fully functional website within a few clicks without any html knowledge required.


The Unlimited MySQL databases, Mailboxes and Traffic included in this plan allows you to add a dynamic functionality to your website like blog, forums, photo gallery, content management system, etc. All these scripts are available in our self-install script library Fantastico De Luxe, via your online hosting panel.


$10.50 per month

pre-paid for 36 months

$11.50 / month pre-paid for 24 months

$12.50 / month pre-paid for 12 months
Web Hosting from $7.95
Small Business Hosting Specialists, 24/7 Australian Phone Support


Self-Managed Cloud VPS


Evolve your web site to a Webcity Self Managed Cloud VPS


A Webcity Self Managed Cloud VPS combines all the advantages of our world class hosting environment with the added benefit of having full root access to the VPS. It’s the ideal plan for those with the technical expertise to run and manage their own server.


$43.95 per month

pre-paid for 24 months

$46.95 / month pre-paid for 12 months

$49.95 / month pre-paid for 3 months


Visit Australia Web Hosting services provider: webcity!



Australia Web Hosting services provider: webcity

Australia Web Hosting services provider:ausweb

Australia Web Hosting services provider:ausweb

AUSWEB Hosting is an Internet focused service company based in Australia.


AUSWEB.com.au PTY LTD (ACN 117 199 292) is an Australian based hosting solutions provider that provide a variety of personal, business and corporate web solutions to entities of all sizes.


cPanel Web Hosting

Whether you’re just getting started with your first website or are an IT Professional, you will appreciate the speed and features we offer with our Web Hosting plans. Manage all aspects of your Web Hosting from one easy to use cPanel Web Hosting Control Panel


Premium cPanel Web Hosting for Australian Businesses


Basic Plan:

$9.95/MO

Entry-level bloggers and websites.

10GB Storage

40GB Bandwidth

1 Database

10 Email Accounts

1-Click Installer


Visit Australia Web Hosting services provider:ausweb!



Australia Web Hosting services provider:ausweb

Australia Web Hosting services provider:Quadra Hosting

Australia Web Hosting services provider:Quadra Hosting

Quadra Hosting is an Internet focused service company based in Australia.


Our mission is to provide high-quality, reliable and full featured web hosting service for small to medium businesses, web designers, web developers, and individual website owners. It is our goal to provide web hosting services that you and your business can rely on.


In order to provide our customers with the best high speed web hosting service, we selected a world class data center facility in Sydney, Australia. The data center provides redundant paths to multiple internet backbones, ensuring high reliability and availability while delivering high speed data access throughout Australia and worldwide.


Quadra Hosting also provides USA based hosting which is strategically located in Texas which has roughly in the middle of the USA. This local hosting service provides the fastest web delivery to USA and the international visitors.


Quadra Hosting provides a wide range of web hosting services in Australia to suit your needs. Quadra Hosting packages are available on both Unix and Windows servers to suit your project requirements.


Single Domain Web Hosting Packages

Single Domain Web Hosting Affordable Hosting from $4.90


Visit Australia Web Hosting services provider:Quadra Hosting!



Australia Web Hosting services provider:Quadra Hosting