git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
# -*- coding: utf-8 -*- | |
import sys | |
import os | |
import base64 | |
import bcrypt | |
from Crypto import Random | |
from Crypto.Cipher import AES | |
from Crypto.Hash import SHA256 | |
class Blockout: |
private class HttpInterceptor implements Interceptor { | |
@Override | |
public Response intercept(Chain chain) throws IOException { | |
Request request = chain.request(); | |
//Build new request | |
Request.Builder builder = request.newBuilder(); | |
builder.header("Accept", "application/json"); //if necessary, say to consume JSON | |
# python 3 | |
# a review of Python’s dictionary format | |
# create a new dict - named session - with three key:value pairs: | |
session = { 'logged_in': True, 'user': 'Harry Potter', 'password': 'parseltongue' } | |
# create a new dict - named session2 - with three key:value pairs | |
# another way to create a dict) | |
session2 = {} | |
session2['logged_in'] = False |
import android.os.Handler; | |
import android.os.Looper; | |
import android.support.annotation.NonNull; | |
import android.support.annotation.Nullable; | |
import android.text.Editable; | |
import android.text.TextWatcher; | |
import android.widget.EditText; | |
import java.lang.ref.WeakReference; |
/* | |
* Copyright (C) 2017 The Android Open Source Project | |
* | |
* 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 |
@Database(entities = { | |
Entry.class, Sense.class, CrossReference.class, EntryFts.class | |
}, version = 4, exportSchema = false) public abstract class AppDatabase extends RoomDatabase |
MongoDB Crash Course 2022 < TODO: Add Video Link