From 49064f3cf41089b81792098f59f0f617ed08c807 Mon Sep 17 00:00:00 2001 From: Claudemiro Date: Sat, 16 Jan 2016 23:24:57 -0200 Subject: [PATCH] Create gh-pages branch via GitHub --- index.html | 119 ++++++------- javascripts/scale.fix.js | 17 ++ params.json | 2 +- stylesheets/github-light.css | 116 +++++++++++++ stylesheets/styles.css | 324 +++++++++++++++++++++++++++++++++++ 5 files changed, 519 insertions(+), 59 deletions(-) create mode 100644 javascripts/scale.fix.js create mode 100644 stylesheets/github-light.css create mode 100644 stylesheets/styles.css diff --git a/index.html b/index.html index 29dfa49..725dd7e 100644 --- a/index.html +++ b/index.html @@ -1,34 +1,36 @@ - + - + - - - - - Ipe by dimiro1 + + + + + - - -
-
+
+

Ipe

-

A Pusher server implementation compatible with Pusher client libraries written in GO

+

A Pusher server implementation compatible with Pusher client libraries written in GO

-
- Download as .zip - Download as .tar.gz - View on GitHub -
-
-
+

View the Project on GitHub dimiro1/ipe

-
-
-

+ + + +
+

Quality code report

+ +

IPÊ

This software is written in Go - the WYSIWYG lang

@@ -63,10 +65,11 @@

Building

-

This software use the standard GOPATH structure and Godep as "dependency manager", so, install godep first.

+
$ go get github.com/dimiro1/ipe
-
$ go get github.com/tools/godep
-$ godep get github.com/dimiro1/ipe
+

or simply

+ +
$ go install github.com/dimiro1/ipe

How to configure?

@@ -74,22 +77,18 @@ $ godep get github.com/dimiro1/ipe

The server

-
{
-    "Host": ":8080",
-    "Expvar": true,
-    "User": "Username",
-    "Password": "123456",
-    "Apps": [
+
{
+    "Host": ":8080",
+    "Apps": [
         {
-            "ApplicationDisabled": false,
-            "OnlySSL": false,
-            "Secret": "APP_SECRET",
-            "Key": "APP_KEY",
-            "Name": "APP_NAME",
-            "AppID": "APP_ID",
-            "UserEvents": true,
-            "WebHooks": true,
-            "URLWebHook": "http://localhost:4567/php/hook.php"
+            "ApplicationDisabled": false,
+            "Secret": "APP_SECRET",
+            "Key": "APP_KEY",
+            "Name": "APP_NAME",
+            "AppID": "APP_ID",
+            "UserEvents": true,
+            "WebHooks": true,
+            "URLWebHook": "http://localhost:4567/php/hook.php"
         }
     ]
 }
@@ -100,11 +99,11 @@ $ godep get github.com/dimiro1/ipe

Client javascript library

-
var pusher = new Pusher(API_KEY, {
-  wsHost: 'localhost',
+
var pusher = new Pusher(APP_KEY, {
+  wsHost: 'localhost',
   wsPort: 8080,
-  enabledTransports: ["ws", "flash"],
-  disabledTransports: ["flash"]
+  enabledTransports: ["ws", "flash"],
+  disabledTransports: ["flash"]
 });

@@ -112,20 +111,20 @@ $ godep get github.com/dimiro1/ipe

Ruby

-
Pusher.host = 'localhost'
-Pusher.port = 8080
+
Pusher.host = 'localhost'
+Pusher.port = 8080

PHP

-
$pusher = new Pusher(APP_KEY, APP_SECRET, APP_ID, DEBUG, "http://localhost", "8080");
+
$pusher = new Pusher(APP_KEY, APP_SECRET, APP_ID, DEBUG, "http://localhost", "8080");

NodeJS

-
var pusher = new Pusher({
-  appId: APP_ID,
-  key: APP_KEY,
-  secret: APP_SECRET
-  domain: 'localhost',
+
var pusher = new Pusher({
+  appId: APP_ID,
+  key: APP_KEY,
+  secret: APP_SECRET
+  domain: 'localhost',
   port: 80
 });
 
@@ -137,7 +136,7 @@ $ godep get github.com/dimiro1/ipe

for more information about logging type the following in console.

-
$ ipe -h
+
$ ipe -h

When use this software?

@@ -157,12 +156,12 @@ $ godep get github.com/dimiro1/ipe

Pusher

-

Pusher is an excelent service, their service is very realible. I recomend for everyone.

+

Pusher is an excelent service, their service is very reliable. I recomend for everyone.

Where this name came from?

-

Here in Brazil we have this beatiful tree called Ipê, it comes in differente colors: yellow, pink, white, purple.

+

Here in Brazil we have this beautiful tree called Ipê, it comes in differente colors: yellow, pink, white, purple.

I want to see pictures

@@ -174,12 +173,16 @@ $ godep get github.com/dimiro1/ipe

LICENSE

-

Copyright 2014 Claudemiro Alves Feitosa Neto. All rights reserved. +

Copyright 2014, 2015 Claudemiro Alves Feitosa Neto. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.

+ - + - \ No newline at end of file + diff --git a/javascripts/scale.fix.js b/javascripts/scale.fix.js new file mode 100644 index 0000000..87a40ca --- /dev/null +++ b/javascripts/scale.fix.js @@ -0,0 +1,17 @@ +var metas = document.getElementsByTagName('meta'); +var i; +if (navigator.userAgent.match(/iPhone/i)) { + for (i=0; i