I have been developing backend applications for the last few years.
After reading Hackers & Painters I was captivated by the Lisp, to this day still am. And under the influence of Paul and Hacker News,
I picked up Clojure, a Lisp on JVM.
Not only because Lisp is an elegant, beautiful language, it is also one of the few languages that involved in the creation of the Artificial Intelligence.
Alas, I never had the chance to use Lisp or other languages to build intelligent applications professionally.
This file contains hidden or 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
| [root@local ~]# dmidecode | grep -A 5 "System Slot" | |
| System Slot Information | |
| Designation: PCI1 | |
| Type: x4 PCI Express Gen 2 x8 | |
| Current Usage: Available | |
| Length: Long | |
| Characteristics: | |
| -- | |
| System Slot Information | |
| Designation: PCI2 |
This file contains hidden or 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
| #!/bin/bash | |
| # Go build script that runs cloc, cpd, lint, vet, test and coverage for Jenkins | |
| # | |
| # Outside tools include: | |
| # gocov: go get github.com/axw/gocov | |
| # gocov-xml: go get github.com/t-yuki/gocov-xml | |
| # go2xunit: go get bitbucket.org/tebeka/go2xunit | |
| # jscpd: npm i jscpd -g | |
| # cloc: npm i cloc -g |
This file contains hidden or 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
| git config --global credential.helper store | |
| echo "https://${GITHUB_TOKEN}:x-oauth-basic@github.com" >> ~/.git-credentials |
This file contains hidden or 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
| 0xFc571a5fA85fd82393FbD3Ff9d74583a000C174c |
This file contains hidden or 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
| # -*- coding: utf-8 -*- | |
| ''' | |
| 功能: | |
| 从zonefile文件导入域名到Dnspod | |
| requirements: | |
| dnspython==1.10.0 | |
| requests==1.0.4 | |
| ''' |
This file contains hidden or 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
| # kubernetes - is an open source system for managing containerized | |
| # applications across multiple hosts, providing basic mechanisms for | |
| # deployment, maintenance, and scaling of applications. | |
| # See: https://kubernetes.io | |
| function __kubectl_no_command | |
| set -l cmd (commandline -poc) | |
| if not set -q cmd[2] | |
| return 0 | |
| end |
This file contains hidden or 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
| .PHONY: all tags clean test build install generate image release | |
| REGISTRY_REPO = <..redacted..> | |
| OK_COLOR=\033[32;01m | |
| NO_COLOR=\033[0m | |
| ERROR_COLOR=\033[31;01m | |
| WARN_COLOR=\033[33;01m | |
| # Build Flags |
This file contains hidden or 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
| # Uncomment the next line to enable packet forwarding for IPv4 | |
| net.ipv4.ip_forward=1 | |
| # Uncomment the next line to enable packet forwarding for IPv6 | |
| # Enabling this option disables Stateless Address Autoconfiguration | |
| # based on Router Advertisements for this host | |
| net.ipv6.conf.all.forwarding=1 | |
| net.ipv4.conf.all.proxy_arp = 1 | |
| net.core.netdev_max_backlog = 250000 |
Tensorflow 1.0 in general is not famed for its ease of use, nor for being well documented. Tensorflow 2.0 has set out to fix all those issues, and it does make things easier with advent of eager execution and unified RNNs & unified Optimizers etc. There are a lot to take in version 2.0, but without proper context and comparison to the 1.0 version, some features are beyond magical. I will provide proper explanation and context through this blog.
- Graph