Skip to content

Instantly share code, notes, and snippets.

View leenbean16's full-sized avatar

Lina Shamoon leenbean16

View GitHub Profile
@hormesiel
hormesiel / Device.java
Last active May 29, 2024 11:47
How to get an Android device's serial number, visible to the user in "Settings > About phone/tablet/device > Status > Serial number".
import android.os.Build;
import java.lang.reflect.Method;
public class Device {
/**
* @return The device's serial number, visible to the user in {@code Settings > About phone/tablet/device > Status
* > Serial number}, or {@code null} if the serial number couldn't be found
*/
public static String getSerialNumber() {
@rdowdy-ucsd
rdowdy-ucsd / game.js
Last active May 22, 2017 23:40
Jetsons RPG Refactor
// Code BEFORE Refactor
///////////////////////////////
$("#judy-char").on("click", function () {
// choose char
if(charChosen == false) {
$("#game-message").empty();
// set char
getchar(judy);
charChosen = true;
// display char
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active May 6, 2026 15:35
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\