with the vuejs cli installed (https://github.com/vuejs/vue-cli)
vue init webpack my-project
answer questions for project setup, optionally installing unit tests but yes to vue-router
// See example: https://image.prntscr.com/image/cTIv8JkLR7yWEQxVev9SyA.jpeg | |
function numberToColor($value, $min, $max, $gradientColors = null) | |
{ | |
// Ensure value is in range | |
if ($value < $min) { | |
$value = $min; | |
} | |
if ($value > $max) { | |
$value = $max; |
package main | |
import( | |
"log" | |
"net/url" | |
"net/http" | |
"net/http/httputil" | |
) | |
func main() { |
package main | |
import ( | |
"log" | |
"net/http" | |
"net/http/httputil" | |
"net/url" | |
) | |
var ( |
with the vuejs cli installed (https://github.com/vuejs/vue-cli)
vue init webpack my-project
answer questions for project setup, optionally installing unit tests but yes to vue-router
This is not an exhaustive list of all interfaces in Go's standard library.
I only list those I think are important.
Interfaces defined in frequently used packages (like io
, fmt
) are included.
Interfaces that have significant importance are also included.
All of the following information is based on go version go1.8.3 darwin/amd64
.
This is a story about how I tried to use Go for scripting. In this story, I’ll discuss the need for a Go script, how we would expect it to behave and the possible implementations; During the discussion I’ll deep dive to scripts, shells, and shebangs. Finally, we’ll discuss solutions that will make Go scripts work.
While python and bash are popular scripting languages, C, C++ and Java are not used for scripts at all, and some languages are somewhere in between.
rebase
vs merge
).rebase
vs merge
)reset
vs checkout
vs revert
)git rev-parse
)pull
vs fetch
)stash
vs branch
)reset
vs checkout
vs revert
)// Copyright 2017, the Flutter project authors. Please see the AUTHORS file | |
// for details. All rights reserved. Use of this source code is governed by a | |
// BSD-style license that can be found in the LICENSE file. | |
import 'dart:async'; | |
import 'package:meta/meta.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/rendering.dart'; | |
/// A widget that ensures it is always visible when focused. |
{ | |
"female" : [ | |
"Saanvi", | |
"Anya", | |
"Aadhya", | |
"Aaradhya", | |
"Ananya", | |
"Pari", | |
"Anika", | |
"Navya", |