Skip to content

Instantly share code, notes, and snippets.

View rpandey1234's full-sized avatar
🎯
Helping engineers grow their careers

Rahul Pandey rpandey1234

🎯
Helping engineers grow their careers
View GitHub Profile
@rpandey1234
rpandey1234 / gist:1e74b3dfe11fdf29f820085992de12d8
Created March 3, 2020 04:41
CS194A partner code review form
Your name: TODO
Your partner's name: TODO
Project name: TODO
What extensions did your partner complete?
TODO
What did you like about this project?
TODO
@rpandey1234
rpandey1234 / README.md
Last active April 5, 2020 19:50
README template

Name of App Here

Your name here

Name of your app has some really cool funtionality which I am describing in this sentence.

Time spent: X hours spent in total

Functionality

@rpandey1234
rpandey1234 / README.md
Created April 19, 2020 22:08
Google My Maps README template

My Maps

Your name here

My Maps displays a list of maps, each of which show user-defined markers with a title, description, and location. The user can also create a new map.

Time spent: X hours spent in total

Functionality

@rpandey1234
rpandey1234 / ASEditingShortcuts.csv
Created April 28, 2020 07:10
Android Studio Shortcuts: Code Editing
Description Windows/Linux Mac
Project quick fix Alt+Enter Option+Enter
Move cursor by words Alt+←/→ Option+←/→
Reformat code Control+Alt+L Command+Option+L
Comment/uncomment Control+/ Command+/
Autocomplete Tab for replacement/enter for full Tab for replacement/enter for full
Move code block up/down Alt+Shift+↑/↓ Option+Shift+↑/↓
Rename Shift+F6 Shift+F6
Select multiple occurrences Alt+J Control+G
@rpandey1234
rpandey1234 / ASNavigationShortcuts.csv
Created April 28, 2020 07:13
Android Studio navigation shortcuts
Description Windows/Linux Mac
Search everywhere Shift+Shift Shift+Shift
Open tool window Control+# Command+#
Close tool window Shift+Escape Shift+Escape
Open file Control+Shift+N Command+Shift+O
Jump to declaration Control+B Command+B
Recent files Control+E Command+E
Find usages Alt+F7 Option+F7
Navigate to place of last edit Control+[ or Control+] Command+[ or Command+]
@rpandey1234
rpandey1234 / ASEditingShortcuts2.csv
Created April 28, 2020 07:15
Android Studio Shortcuts: Code Editing++
Optimize imports Control+Alt+O Control+Option+O
Delete whole line Control+Y Command+Backspace
Duplicate line/selection Control+D Command+D
Show toolbar hint about params for a method call Control+P Command+P
Complete statement Control+Shift+Enter Command+Shift+Enter
Clipboard History Control+Shift+V Command+Shift+V
@rpandey1234
rpandey1234 / README.md
Created May 12, 2020 05:30
Yelp clone README template

Yelp Clone

Your name here

Yelp clone displays a list of search results from the Yelp API and displays the results in a scrollable list.

Time spent: X hours spent in total

Functionality

@rpandey1234
rpandey1234 / activity_main.xml
Created June 13, 2020 14:42
Layout file for the Magic 8 Ball Android app
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_horizontal"
android:orientation="vertical"
tools:context=".MainActivity">
<TextView
@rpandey1234
rpandey1234 / README.md
Created September 22, 2020 23:13
Github README for bigger number demo

Bigger Number App

Your name here

Bigger Number App (aka "Cal Admission Test") prompts the user to select which of the two numbers presented is larger. The background color is updated depending on if the correct answer is chosen. New numbers are randomly selected after a user selection.

Time spent: X hours spent in total

Functionality

data class ExamResult(val name: String, val score: Int)
fun main() {
runTests()
}
// Return "A" if the score is b/w 90 and 100
// "B" if the score is b/w 80 and 89
// "C" if the score is b/w 70 and 79
// "F" for anything else