Skip to content

Instantly share code, notes, and snippets.

View guioconnor's full-sized avatar
🦎

Guilherme Zühlke O'Connor guioconnor

🦎
  • London, UK
View GitHub Profile
@guioconnor
guioconnor / zeit-now-g-suite-setup.md
Created January 17, 2019 13:27 — forked from WesSouza/zeit-now-g-suite-setup.md
Zeit Now G Suite setup

Run each of the following lines, replacing yourdomain.com and AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA with your details:

export NOW_DOMAIN=yourdomain.com
export GOOGLE_VERIFICATION=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
now dns add "$NOW_DOMAIN" @ TXT "google-site-verification=$GOOGLE_VERIFICATION"
now dns add "$NOW_DOMAIN" @ MX ASPMX.L.GOOGLE.COM 1
now dns add "$NOW_DOMAIN" @ MX ALT1.ASPMX.L.GOOGLE.COM 5
now dns add "$NOW_DOMAIN" @ MX ALT2.ASPMX.L.GOOGLE.COM 5
now dns add "$NOW_DOMAIN" @ MX ALT3.ASPMX.L.GOOGLE.COM 10
@guioconnor
guioconnor / .block
Last active December 6, 2018 22:45
Types of Coffee
license: mit
@guioconnor
guioconnor / .block
Created December 6, 2018 21:25
fresh block
license: mit
@guioconnor
guioconnor / .block
Last active December 6, 2018 21:27
fresh block
license: mit
@guioconnor
guioconnor / .block
Created December 5, 2018 23:27
Text on an Arc - Animal Donut Slices - Flipped & Centered Arc Labels
license: mit
@guioconnor
guioconnor / .block
Last active December 6, 2018 21:28
Ch. 10, Fig. 3 - D3.js in Action
license: mit
@guioconnor
guioconnor / difference.js
Created April 9, 2018 16:04 — forked from Yimiprod/difference.js
Deep diff between two object, using lodash
/**
* Deep diff between two object, using lodash
* @param {Object} object Object compared
* @param {Object} base Object to compare with
* @return {Object} Return a new object who represent the diff
*/
function difference(object, base) {
function changes(object, base) {
return _.transform(object, function(result, value, key) {
if (!_.isEqual(value, base[key])) {
@guioconnor
guioconnor / travis.yml
Created March 9, 2018 09:00 — forked from tgrrtt/travis.yml
Travis-CI Config File (.travis.yml)
# Set up notification options
notifications:
email:
recipients:
- one@example.com
- other@example.com
# change is when the repo status goes from pass to fail or vice versa
on_success: change
on_failure: always
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
.clock {
border: 2px solid black;
border-radius: 50%;
@guioconnor
guioconnor / 2col - LHS layout
Created December 17, 2012 16:54
Two column, left hand sidebar layout.
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Fluid two column layout with left-sidebar </title>
<style type="text/css">
#contentwrapper{
float: left;
width: 100%;
}