全平台的远程文件管理工具
安装易有云存储端之后,可以轻松远程设备上面的文件、相片、电影、文档、压缩包
package main | |
import ( | |
"fmt" | |
"os" | |
"log" | |
"image" | |
"image/color" | |
"image/jpeg" | |
"math" | |
"errors" |
#! /bin/sh | |
# | |
# Script to backup git repositories. | |
# | |
# For each subdirectory ending in .git: | |
# - perform a git fetch from origin. | |
# - perform a git push --all to all remotes other than origin. | |
repos=`find * -type d -name \*.git` |
# Claas Heuer, August 2015 | |
# | |
# urls: | |
# http://stackoverflow.com/questions/847179/multiple-glibc-libraries-on-a-single-host | |
# http://www.gnu.org/software/libc/download.html | |
cd $HOME | |
mkdir glibc_update | |
cd glibc_update |
// | |
// File: fsevents_windows.go | |
// Date: October 29, 2013 | |
// Author: Peter Krnjevic <pkrnjevic@gmail.com>, on the shoulders of many others | |
// | |
// This code sample is released into the Public Domain. | |
// | |
package fsevents | |
import ( |
#define __MODULE__ "DHEXMPL" | |
#define __IDENT__ "X.00-01" | |
#ifdef __GNUC__ | |
#ident __IDENT__ | |
#endif | |
#pragma GCC diagnostic ignored "-Wparentheses" | |
#pragma GCC diagnostic ignored "-Wdiscarded-qualifiers" | |
#pragma GCC diagnostic ignored "-Wmissing-braces" |
// Opengltest01.cpp : Defines the entry point for the application. | |
// | |
#include "stdafx.h" | |
#include <windows.h> | |
#define GLEW_STATIC | |
#include <GL/glew.h> | |
#include <GL/gl.h> |
These are the steps I used to get Ubuntu ARM aarch64 running with QEMU on OSX.
Get Ubuntu Image and QEMU EFI:
wget https://cloud-images.ubuntu.com/releases/16.04/release/ubuntu-16.04-server-cloudimg-arm64-uefi1.img
wget https://releases.linaro.org/components/kernel/uefi-linaro/latest/release/qemu64/QEMU_EFI.fd
package sync | |
import ( | |
"log" | |
) | |
var ( | |
logDebug = log.Printf | |
logInfo = log.Printf | |
logWarn = log.Printf |
package okhttp3; | |
import java.io.IOException; | |
import java.net.InetAddress; | |
import java.net.InetSocketAddress; | |
import java.net.Socket; | |
import java.net.SocketAddress; | |
import java.net.UnknownHostException; | |
import java.util.Arrays; | |
import java.util.LinkedHashMap; |