System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go directory by:
| import 'package:flutter/gestures.dart'; | |
| import 'package:flutter/material.dart'; | |
| //Main function. The entry point for your Flutter app. | |
| void main() { | |
| runApp( | |
| MaterialApp( | |
| home: Scaffold( | |
| body: DemoApp(), | |
| ), |
| // ==UserScript== | |
| // @name Trello Syntax Highlight | |
| // @namespace https://gist.github.com/AsyncWizard | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author AsyncWizard | |
| // @require https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.11.0/highlight.min.js | |
| // @resource https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.11.0/styles/github.min.css | |
| // @match https://trello.com/* | |
| // @grant none |
System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go directory by:
It can come up while installing anything really. I'm not sure exactly which versions of pip are affected, I know I had 1.5.6 and it was affected.
These examples are grabbed from my system level Python, but of course you should use a virtualenv.
Running setup.py install for simplegeneric
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Library/Python/2.7/site-packages/setuptools/__init__.py", line 12, in <module>
import setuptools.version
| /** | |
| * Created by codezjx on 2016/5/4. | |
| */ | |
| public class CircleImageTransformation implements Transformation { | |
| /** | |
| * A unique key for the transformation, used for caching purposes. | |
| */ | |
| private static final String KEY = "circleImageTransformation"; |
| #!/bin/bash | |
| # | |
| # This version uses September 2017 august stretch image, please use this image | |
| # | |
| if [ "$EUID" -ne 0 ] | |
| then echo "Must be root" | |
| exit | |
| fi |
Original solution sacrifices new api lint check.
Here my solution:
int minSdk = hasProperty('minSdk') ? minSdk.toInteger() : 16
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
| import Foundation | |
| typealias NewFileCallback = (fileURL: NSURL) -> Void | |
| class ScreenshotDetector: NSObject, NSMetadataQueryDelegate { | |
| let query = NSMetadataQuery() | |
| var newFileCallback: NewFileCallback? | |
| package com.company; | |
| import javax.crypto.Cipher; | |
| import javax.crypto.Mac; | |
| import javax.crypto.spec.IvParameterSpec; | |
| import javax.crypto.spec.SecretKeySpec; | |
| import java.security.MessageDigest; | |
| import java.security.SecureRandom; | |
| public class Main { |