Twelve Go Best Practices
Francesc Campoy Flores Gopher at Google @francesc http://campoy.cat/+
- Best practices
| myApp.config(['$httpProvider', function($httpProvider) { | |
| /* | |
| * This just helps IE 8/9 with CORS. See https://github.com/angular/angular.js/issues/934 | |
| * Use with care - There are side-effects. See why jQuery won't use it at http://bugs.jquery.com/ticket/8283 | |
| */ | |
| // $httpProvider.defaults.useXDomain = true; | |
| /* | |
| * The 'X-Requested-With' header indicates AJAX, which is not cross-domain/JSONP, |
Twelve Go Best Practices
Francesc Campoy Flores Gopher at Google @francesc http://campoy.cat/+
| # delete local tag '12345' | |
| git tag -d 12345 | |
| # delete remote tag '12345' (eg, GitHub version too) | |
| git push origin :refs/tags/12345 | |
| # alternative approach | |
| git push --delete origin tagName | |
| git tag -d tagName |
| CREATE TABLE qrtz_blob_triggers ( | |
| trigger_name character varying(80) NOT NULL, | |
| trigger_group character varying(80) NOT NULL, | |
| blob_data text, | |
| sched_name character varying(120) DEFAULT 'TestScheduler'::character varying NOT NULL | |
| ); | |
| CREATE TABLE qrtz_calendars ( | |
| calendar_name character varying(80) NOT NULL, | |
| calendar text NOT NULL, |
Located in alphabetical order (not prefer)
Cab), also designed as a more modern replacement, written in Cgolang)| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |
| 'use strict'; | |
| // Generated on 2014-04-14 using generator-leaflet 0.0.14 | |
| var gulp = require('gulp'); | |
| var open = require('open'); | |
| var wiredep = require('wiredep').stream; | |
| // Load plugins | |
| var $ = require('gulp-load-plugins')(); |
Find the best resources for learning Google Apps Script, the glue that connects all Google Workspace services including Gmail, Google Drive, Calendar, Google Sheets, Forms, Maps, and more.
A good place to learn more about Google Apps Script is the official documentation available at developers.google.com. Here are other Apps Script resources that will help you get up to speed.
| package rules; | |
| import com.google.common.collect.Lists; | |
| import com.google.common.collect.Maps; | |
| import com.spotify.docker.client.DefaultDockerClient; | |
| import com.spotify.docker.client.DockerClient; | |
| import com.spotify.docker.client.DockerException; | |
| import com.spotify.docker.client.messages.ContainerConfig; | |
| import com.spotify.docker.client.messages.ContainerCreation; | |
| import com.spotify.docker.client.messages.HostConfig; |
| buildscript { | |
| repositories { | |
| jcenter() | |
| } | |
| dependencies { | |
| classpath 'com.github.jengelman.gradle.plugins:shadow:1.1.2' | |
| } | |
| } | |
| apply plugin: 'maven' |