Install Golang 1.9:
wget https://storage.googleapis.com/golang/go1.9.linux-armv6l.tar.gz
sudo tar -C /usr/local -xzf go1.9.linux-armv6l.tar.gz
export PATH=$PATH:/usr/local/go/bin # put into ~/.profile
If already installed old golang with apt-get:
| var GB2260 = { | |
| "110000": "北京市", | |
| "110100": "北京市市辖区", | |
| "110101": "北京市东城区", | |
| "110102": "北京市西城区", | |
| "110103": "北京市崇文区", | |
| "110104": "北京市宣武区", | |
| "110105": "北京市朝阳区", | |
| "110106": "北京市丰台区", | |
| "110107": "北京市石景山区", |
Install Golang 1.9:
wget https://storage.googleapis.com/golang/go1.9.linux-armv6l.tar.gz
sudo tar -C /usr/local -xzf go1.9.linux-armv6l.tar.gz
export PATH=$PATH:/usr/local/go/bin # put into ~/.profile
If already installed old golang with apt-get:
| /** | |
| * Copyright (C) 2009-2010 Yichuan, Fuchun All rights reserved. | |
| * Licensed to the Apache Software Foundation (ASF) under one or more | |
| * contributor license agreements. See the NOTICE file distributed with | |
| * this work for additional information regarding copyright ownership. | |
| * The ASF licenses this file to You under the Apache License, Version 2.0 | |
| * (the "License"); you may not use this file except in compliance with | |
| * the License. You may obtain a copy of the License at | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * Unless required by applicable law or agreed to in writing, software |
| FROM centos:7 | |
| MAINTAINER graphaelli "http://g.raphaelli.com/2016/01/04/centos-python3-caffe.html" | |
| RUN yum -y update && yum clean all | |
| # python3 deps | |
| RUN yum -y groupinstall 'Development Tools' | |
| RUN yum -y install bzip2-devel db4-devel gdbm-devel libpcap-devel ncurses-devel openssl-devel readline-devel sqlite-devel xz-devel zlib-devel | |
| # jupyter deps | |
| RUN yum -y install epel-release | |
| RUN yum -y install blas-devel freetype-devel gcc gcc-c++ gcc-fortran git hdf5-devel lapack-devel libjpeg-turbo-devel libpng-devel make opencv-devel patch readline-devel zeromq-devel |
| '''pass_socket.py | |
| Written September 14, 2012 | |
| Released into the public domain. | |
| Works on Python 2.6, 2.7, and may need minor changes for 3+. | |
| ''' | |
| import multiprocessing |
| <!DOCTYPE html> | |
| <head> | |
| <title>Stay Standalone</title> | |
| <meta name="apple-mobile-web-app-capable" content="yes"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> | |
| <script src="stay_standalone.js" type="text/javascript"></script> | |
| </head> | |
| <body> | |
| <ul> | |
| <li><a href="http://google.com/">Remote Link (Google)</a></li> |