Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Rael Gugelmin Cunha raelgc

Block or report user

Report or block raelgc

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@raelgc
raelgc / afterSubmitContacts.html
Last active Mar 1, 2017
CloudSponge Webhook + Zapier Example
View afterSubmitContacts.html
<!DOCTYPE html>
<html>
<head>
<!--
Include the script anywhere on your page, usually in the head
(don't forget to replace `localhost-only` with your own CloudSponge Widget Key)
-->
<script src="//api.cloudsponge.com/widget/localhost-only.js"></script>
<script>
@raelgc
raelgc / CloudSponge+Drupal.md
Last active Feb 7, 2017
CloudSponge + Drupal.org
View CloudSponge+Drupal.md

Integrate CloudSponge in Drupal.org

Drupal.org users can easily integrate CloudSponge in Drupal.org using the CloudSponge Drupal module.

If for some reason, users cannot use the above module, there is another alternative: use the CloudSponge widget including our simple snipet in a full HTML page. To achieve this, we'll insert the CloudSponge JavaScript library in the default theme.

Compared to Drupal 6, Drupal 7 platform has changed the way to support JavaScript in the pages and introduced several new techniques that allow users to embed JavaScript in Drupal site's pages.

In the follow steps, we'll reproduce the instructions in a new Drupal instance to embed the CloudSponge widget.

@raelgc
raelgc / CloudSponge+Wiz.md
Last active Sep 20, 2016
CloudSponge+Wix.com
View CloudSponge+Wiz.md

Integrate CloudSponge in Wix.com

The goal of this document is to provide a simple guide to help Wix.com users to embed the CloudSponge widget.

Wix platform do not support direct JavaScript on pages, only in an iframe. So we've created a sample Wix page to display how embed the CloudSponge widget.

In the follow steps, we'll reproduce the instructions in a new Wix page to embed the CloudSponge widget.

1. Add an iframe to your page

@raelgc
raelgc / Install MSOffice on Ubuntu.md
Last active May 22, 2019
Install MSOffice on Ubuntu
View Install MSOffice on Ubuntu.md

Install Microsoft Office 2010 on Ubuntu

Requirements

We'll install MSOffice using the PlayOnLinux wizard. Additionally, MSOffice requires samba and winbind to properly work.

So, if not installed, install them:

sudo apt-get install playonlinux samba winbind
@raelgc
raelgc / Email Server (Windows Only).md
Last active May 14, 2019
Setup a Local Only Email Server (Windows Only)
View Email Server (Windows Only).md
@raelgc
raelgc / Email Server (Linux, Unix, Mac).md
Last active May 17, 2019
Setup a Local Only SMTP Email Server (Linux, Unix, Mac)
View Email Server (Linux, Unix, Mac).md

Setup a Local Only SMTP Email Server (Linux, Unix, Mac)

1 - Point localhost.com to your machine

Most of programs will not accept an email using just @localhost as domain. So, edit /etc/hosts file to make the domain localhost.com point to your machine, including this content to the file:

127.0.0.1 localhost.com

2 - Install Postfix

@raelgc
raelgc / Bash Git color config.txt
Last active Dec 15, 2015
Simple and util .bashrc colors to use with git projects.
View Bash Git color config.txt
# Friendly Color Names
Black="\[\033[0;30m\]"
Dark_Gray="\[\033[1;30m\]"
Blue="\[\033[0;34m\]"
Light_Blue="\[\033[1;34m\]"
Green="\[\033[0;32m\]"
Light_Green="\[\033[1;32m\]"
Cyan="\[\033[0;36m\]"
Light_Cyan="\[\033[1;36m\]"
Red="\[\033[0;31m\]"
You can’t perform that action at this time.