This file contains 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
Hey, | |
I've been a long time observer and recent user of vitess, and planetscale's recent launch of db-as-a-service encouraged me to put down the following three requests/ ideas. | |
I look forward to hearing your thoughts. | |
-Chaitanya | |
PS: I was hoping to reachout with a pr, turns out it'll take a tad longer. | |
This file contains 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
10 Signs of AWESOME Company Culture: | |
1. Your boss excitedly tells your team she's taking her son to football practice early on Wednesday afternoons. | |
2. You hear laughter, often. | |
3. Innovation and failures are welcomed, not feared. | |
4. The company handbook is written in simple, plain language. | |
5. Your colleagues come from different backgrounds and nationalities. | |
6. Meetings start on time. | |
7. Your kids are welcome to drop-in at any time. | |
8. You're rarely the smartest person in a meeting. |
This file contains 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
Archive: JioMeet_v2.24.74_apkpure.com.apk | |
inflating: ex1/AndroidManifest.xml | |
extracting: ex1/HACKED-META-INF/services/io.grpc.ManagedChannelProvider | |
extracting: ex1/HACKED-META-INF/services/io.grpc.NameResolverProvider | |
extracting: ex1/META-INF/androidx.activity_activity.version | |
extracting: ex1/META-INF/androidx.appcompat_appcompat-resources.version | |
extracting: ex1/META-INF/androidx.appcompat_appcompat.version | |
extracting: ex1/META-INF/androidx.arch.core_core-runtime.version | |
extracting: ex1/META-INF/androidx.asynclayoutinflater_asynclayoutinflater.version | |
extracting: ex1/META-INF/androidx.cardview_cardview.version |
This file contains 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
"""allows collecting not explicitly assigned values into | |
a placeholder variable""" | |
a, *b, c = range(10) | |
print(a, b, c) | |
"""advanced example""" | |
[(c, *d, [*e]), f, *g] = [[1, 2, 3, 4, [5, 5, 5]], 6, 7, 8] | |
print(c, d, e, f, g) |
This file contains 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
public class Problem8 { | |
public static void main(String[] args) { | |
int i = 0; | |
char x = 'X'; | |
System.out.print(true? x: 0); | |
System.out.print(false? i: x); | |
} | |
} |
This file contains 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
➜ james-project git:(master) ✗ mvn clean compile package -DskipTests | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD FAILURE | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 01:00 min | |
[INFO] Finished at: 2019-10-04T12:21:04+05:30 | |
[INFO] ------------------------------------------------------------------------ | |
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project james-server-util: Fatal error compiling: invalid flag: --release -> [Help 1] |
This file contains 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
provider "google-beta" { | |
region = "${var.region}" | |
version = "2.5.0" | |
} | |
//create dns. | |
//create vpn. | |
//create ssh gateway. | |
//create mysql / cloudsql. |
This file contains 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
➜ openjdk9 ./build/macosx-x86_64-normal-server-slowdebug/jdk/bin/java -XX:+UnlockDiagnosticVMOptions -XX:+PrintFlagsFinal -version | pbcopy | |
[Global flags] | |
ccstrlist AOTLibrary = {product} {default} | |
ccstr AbortVMOnException = {diagnostic} {default} | |
ccstr AbortVMOnExceptionMessage = {diagnostic} {default} | |
uintx AdaptiveSizeDecrementScaleFactor = 4 {product} {default} | |
uintx AdaptiveSizeMajorGCDecayTimeScale = 10 {product} {default} | |
uintx AdaptiveSizePolicyCollectionCostMargin = 50 {product} {default} | |
uintx AdaptiveSizePolicyGCTimeLimitThreshold = 5 {develop} {default} |
This file contains 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
public class SyncTest { | |
volatile Boolean lock1 = true; | |
public void testr() { | |
String name = Thread.currentThread().getName(); | |
synchronized(lock1) { | |
lock1 = !lock1; | |
long time1 = System.currentTimeMillis(); | |
System.out.println("bef: name:" + name + ", time: " + time1 + ", lock1:" + lock1); |
This file contains 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
public class SyncTest { | |
Integer lock1 = 1; | |
public void testr() { | |
String name = Thread.currentThread().getName(); | |
synchronized(lock1) { | |
lock1 = lock1 + 1; | |
long time1 = System.currentTimeMillis(); | |
System.out.println("bef: name:" + name + ", time: " + time1 + ", lock1:" + lock1); |
NewerOlder