-
- What is TensorFlow?
- 1.1. Introduction
- 1.2. Design principles
- 2.0 TF Execution model
- 2.1. Dataflow graph elements
- 2.2. Partial and concurrent execution
- 2.3. Distributed execution
- 1.1. Introduction
- What is TensorFlow?
- 2.4 Dynamic control flow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const sharp = require("sharp"); | |
sharp("Niagara-Falls-Casinos.jpg") | |
.resize({ width: 250, height: 350 }) | |
.greyscale() | |
.grayscale() | |
.negate(false) | |
.blur() | |
.toFile("output1.jpg"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.24; | |
//interface for parent contract of any child token | |
/* | |
- Parent contract interface for adding custom logic before calling the 'transfer' function | |
in the ERC721/ERC20 child chain contract on the Matic chain | |
- 'transfer' executes the 'beforeTransfer' of this interface contract | |
- It must follow this interface and return a bool value and | |
- in case of ERC20 contracts, it should not have 'require' statements and instead return 'false' | |
- IParentToken contract address in childchain contract can be updated by owner set in rootchain contract only |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Docker-in-Docker Gitlab runners setup taken from: | |
# https://medium.com/@tonywooster/docker-in-docker-in-gitlab-runners-220caeb708ca | |
dind: | |
restart: always | |
privileged: true | |
volumes: | |
- /var/lib/docker | |
image: docker:17.09.0-ce-dind | |
command: | |
- --storage-driver=overlay2 |
Chat Widget
: A chat icon that expands into a chat window and allows visitors of a website to chat with the hosts.Host
: entity that is hosting the chat widget and has access to the configuration of the chat backend and the chat dashboard.Host user
: a user that is a member of the Host entity.Visitor
: a user that established a conexion to the host and wants to chat.Identified Visitor
: a visitor that has given a form of contact (Email | Phone)
Version numbers should be the ones you want. Here I do it with the last ones available at the moment of writing.
The simplest way to install elixir is using your package manager. Sadly, at the time of writing only Fedora shows
the intention to keep its packages up to date. There you can simply sudo dnf install erlang elixir
and you are good to go.
Anyway, if you intend to work with several versions of erlang or elixir at the same time, or you are tied to
a specific version, you will need to compile it yourself. Then asdf
is your best friend.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Remove the history from | |
rm -rf .git | |
-- recreate the repos from the current content only | |
git init | |
git add . | |
git commit -m "Initial commit" | |
-- push to the github remote repos ensuring you overwrite history | |
git remote add origin [email protected]:<YOUR ACCOUNT>/<YOUR REPOS>.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- show running queries (pre 9.2) | |
SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
FROM pg_stat_activity | |
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
ORDER BY query_start desc; | |
-- show running queries (9.2) | |
SELECT pid, age(clock_timestamp(), query_start), usename, query | |
FROM pg_stat_activity | |
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |