Skip to content

Instantly share code, notes, and snippets.

View codinginflow's full-sized avatar

Coding in Flow codinginflow

View GitHub Profile
@codinginflow
codinginflow / cli-commands.md
Last active January 23, 2024 10:50
Deploy & Secure ExpressJS Backend (NextJS Course)

Below are the CLI commands used in the deployment video of my NextJS + Express + TypeScript course.

Get the course here: https://codinginflow.com/nextjs

Commands:

  • First login: ssh root@<your-server-ip>

  • Update Linux packages:

@codinginflow
codinginflow / commands.md
Last active January 14, 2024 13:01
Deploy & Secure Your MERN App
@codinginflow
codinginflow / AndroidManifest.xml
Created January 30, 2022 21:50
Collapsing Toolbar With Image Tutorial
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.codinginflow.collapsingtoolbar">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
@codinginflow
codinginflow / Category.java
Created December 2, 2021 12:10
Quiz App with SQLite Tutorial Part 14
package com.codinginflow.myawesomequiz;
public class Category {
public static final int PROGRAMMING = 1;
public static final int GEOGRAPHY = 2;
public static final int MATH = 3;
private int id;
private String name;
@codinginflow
codinginflow / Category.java
Created December 2, 2021 12:09
Quiz App with SQLite Tutorial Part 13
package com.codinginflow.myawesomequiz;
public class Category {
public static final int PROGRAMMING = 1;
public static final int GEOGRAPHY = 2;
public static final int MATH = 3;
private int id;
private String name;
@codinginflow
codinginflow / Category.java
Created December 2, 2021 12:07
Quiz App with SQLite Tutorial Part 12
package com.codinginflow.myawesomequiz;
public class Category {
public static final int PROGRAMMING = 1;
public static final int GEOGRAPHY = 2;
public static final int MATH = 3;
private int id;
private String name;
@codinginflow
codinginflow / Category.java
Created December 2, 2021 12:05
Quiz App with SQLite Tutorial Part 11
package com.codinginflow.myawesomequiz;
public class Category {
public static final int PROGRAMMING = 1;
public static final int GEOGRAPHY = 2;
public static final int MATH = 3;
private int id;
private String name;
@codinginflow
codinginflow / Question.java
Created December 2, 2021 12:03
Quiz App with SQLite Tutorial Part 10
package com.codinginflow.myawesomequiz;
import android.os.Parcel;
import android.os.Parcelable;
public class Question implements Parcelable {
public static final String DIFFICULTY_EASY = "Easy";
public static final String DIFFICULTY_MEDIUM = "Medium";
public static final String DIFFICULTY_HARD = "Hard";
@codinginflow
codinginflow / Question.java
Created December 2, 2021 12:01
Quiz App with SQLite Tutorial Part 9
package com.codinginflow.myawesomequiz;
import android.os.Parcel;
import android.os.Parcelable;
public class Question implements Parcelable {
public static final String DIFFICULTY_EASY = "Easy";
public static final String DIFFICULTY_MEDIUM = "Medium";
public static final String DIFFICULTY_HARD = "Hard";
@codinginflow
codinginflow / Question.java
Created December 2, 2021 12:00
Quiz App with SQLite Tutorial Part 8
package com.codinginflow.myawesomequiz;
import android.os.Parcel;
import android.os.Parcelable;
public class Question implements Parcelable {
private String question;
private String option1;
private String option2;
private String option3;