Skip to content

Instantly share code, notes, and snippets.

exports.submitEntry = functions.https.onCall((data, context) => {
console.log('hey welcome to the party');
console.dir(data);
if(data.password != 'password') {
console.log('bad password');
return{
errors: ['bad password']
<!DOCTYPE html>
<html>
<head>
<script defer src="/__/firebase/5.0.4/firebase-app.js"></script>
<!-- include only the Firebase features as you need -->
<script defer src="/__/firebase/5.0.4/firebase-functions.js"></script>
<!-- initialize the SDK after all desired features are loaded -->
<script defer src="/__/firebase/init.js"></script>
</head>
<body>
fetch("http://localhost:5001/jmr-fire-test/us-central1/createRecord", {
method: "POST",
body: {fuck: 'you'},
headers: {'Content-Type': 'application/json'}
}).then(response => {
alert('successful');
})
.catch(e => {
alert(e);
});
https://open.spotify.com/user/1242552533/playlist/1g2vr76O4adk6ZPpca4RHl?si=Eb3HZsVKQGe8VXE8KCRPYQ
protected RoutingInfo(Parcel in) {
mRouteToId = in.readInt();
mTrigger = in.readString();
mDestination = in.readInt();
mBundle = in.readBundle(getClass().getClassLoader());
mUser = in.readParcelable(User.class.getClassLoader());
mBackupCredentials = in.readParcelable(Credentials.class.getClassLoader());
}
@Override
Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.bandsintown/com.bandsintown.activity.MainActivity}: java.lang.IllegalStateException: Bad magic number for Bundle: 0x610063
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2671)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2736)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1478)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6154)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
final View bar = findViewById(R.id.bar);
bar.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Print.log("click bar");
bar.getLayoutParams().height = 200;
bar.invalidate();
}
{
"feed": [
{
"activities": [
{
"id": 123,
"stream_id": "3422a800-b7a9-11e4-8080-80005095e0b3",
"verb":"artist_tracking",
"category":"me",
"description_key":"tracked",
{
"activities": [
{
"group_id": "87ehgiudnvijv",
"sub_activities": [
{
"id": 5608536,
"stream_id": "d042d280-b566-11e5-8080-8001153bae6f",
"verb": "artist_tracking",
"category": "me",
{
"activities":[
{
"group_id":"87ehgiudnvijv",
"aggregation": "actior",
"sub_activities":[
{
"id":5608536,
"stream_id":"d042d280-b566-11e5-8080-8001153bae6f",
"verb":"artist_tracking",