sudo apt-get purge openjdk-\*
sudo mkdir -p /usr/local/java
sudo cp -r jdk-XuXX-linux-x64.tar.gz /usr/local/java/
<?php | |
/** | |
* Copyright (C) 2015 BloodyBadboyCreation, Inc. (Arpan Bloody Badboy) | |
* | |
* Licensed 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 | |
* |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
typedef struct _user_ User; | |
struct _user_ { | |
char *first_name; | |
char *last_name; | |
char *email; |
/* | |
* Copyright 2018 Google, Inc. | |
* | |
* Licensed 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 |
#include <stdio.h> | |
static void hueToRgb(unsigned int *c, float p, float q, float t) { | |
if (t < 0.0f) | |
t += 1.0f; | |
if (t > 1.0f) | |
t -= 1.0f; | |
if (t < 0.166666) | |
*c = (unsigned int) ((q + (p - q) * 6 * t) * 100); | |
else if (t < 0.5) |
syNCHRoNizeD | |
SynChronIzeD | |
InsTANceOF | |
synCHrOnIzeD | |
PRotEctEd | |
synchrONIzeD | |
insTanCEoF | |
sYNcHrOnizeD | |
IMpLEmENTS | |
SYnChROnIZeD |
# Enable Gradle Daemon | |
org.gradle.daemon=true | |
# Enable Configure on demand | |
org.gradle.configureondemand=true | |
# Enable parallel builds | |
org.gradle.parallel=true | |
# Enable Build Cache |
/* | |
* Copyright 2018 Google Inc. | |
* | |
* Licensed 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 distributed under the | |
* License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
import java.io.PrintWriter; | |
import java.io.StringWriter; | |
import java.text.SimpleDateFormat; | |
import java.util.Date; | |
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; | |
/** | |
* Created by bloodybadboycreation on 17/9/17. | |
*/ |
import android.content.Context | |
import android.graphics.Canvas | |
import android.graphics.Color | |
import android.graphics.Paint | |
import android.util.AttributeSet | |
import android.view.View | |
private const val N = 16 | |
private const val PERIOD1 = -10000.0 | |
private const val PERIOD2 = -500.0 |