Skip to content

Instantly share code, notes, and snippets.

View stillie's full-sized avatar

Stillie stillie

  • Earth
View GitHub Profile
@stillie
stillie / AuthActivity.java
Created October 4, 2018 05:54 — forked from donaldhuebner/AuthActivity.java
Verifying Google Play Services
public class AuthActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}
}
@Override
@stillie
stillie / Log
Last active April 29, 2019 10:04 — forked from shkschneider/Log
Android Log helper (automatic class, method and line) replacing android.util.Log
package me.shkschneider.skeleton.helper;
import android.text.TextUtils;
import android.util.Log;
/**
* Improved android.util.Log.
*
* Logs class and method automatically:
* [MyApplication onCreate():34] Hello, world!
@stillie
stillie / main.dart
Last active August 11, 2022 08:10
Null Safety Question
void main() {
String? a;
String b;
a = "a";
b = "b";
print(a.test2);
a = null;
print(a.test2);
import 'dart:convert';
import 'package:firebase_remote_config/test_client.dart';
import 'package:flutter/services.dart';
import 'package:googleapis/firebaseremoteconfig/v1.dart';
import 'package:googleapis_auth/auth_io.dart';
import 'package:http/http.dart';
class RemoteConfigViewModel {
final projectName = "projects/fir-admin-control";