Skip to content

Instantly share code, notes, and snippets.

View JobGetabu's full-sized avatar
🏠
🐱‍👤

Job Getabu JobGetabu

🏠
🐱‍👤
View GitHub Profile
@adrianhajdin
adrianhajdin / card.html
Created February 21, 2025 13:20
Tailwind CSS Dark Mode Card
<div class="m-10 rounded-lg bg-white px-6 py-8 shadow-xl ring-1 ring-slate-900/5 dark:bg-black">
<h3 class="text-base font-medium tracking-tight text-slate-900 dark:text-white">Writes Upside-Down</h3>
<p class="mt-2 text-sm text-slate-500 dark:text-blue-100">The Zero Gravity Pen can be used to write in any orientation, including upside-down. It even works in outer space.</p>
<button
id="toggleDark"
class="px-4 py-2 text-sm font-medium mt-8 text-blue-900 bg-blue-100 rounded-md"
onclick="document.body.classList.toggle('dark')"
>Toggle Dark Mode</button>
</div>
@pingrishabh
pingrishabh / .gitignore
Created March 3, 2019 04:18
Standardised gitignore for your Flutter apps & Dart projects
### Flutter Generated
# Miscellaneous
*.class
*.lock
*.log
*.pyc
*.swp
.DS_Store
.atom/
@JobGetabu
JobGetabu / Cell
Created October 26, 2018 14:01
Folding cell implementation like car wash cell
<?xml version="1.0" encoding="utf-8"?>
<com.ramotion.foldingcell.FoldingCell xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:folding-cell="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
folding-cell:additionalFlipsCount="4"
folding-cell:animationDuration="1300"
folding-cell:backSideColor="@color/bgBackSideColor"
folding-cell:cameraHeight="30"
@JobGetabu
JobGetabu / authsample.java
Created May 28, 2018 18:00
Firebase Auth
//firebase email password auth in fragments
public class EmailPasswordLogInFragment extends Fragment {
public static final String TAG = "EmailPassLogInFragment";
private View mRootView;
private FirebaseAuth mAuth;
public EmailPasswordLogInFragment() {
// Required empty public constructor
@harmittaa
harmittaa / .travis.yml
Last active November 22, 2020 05:38
Example .travis.yml file for Android
# Tutorial here: https://medium.com/@harmittaa/travis-ci-android-example-357f6e632fc4
language: android
sudo: required
jdk: oraclejdk8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
@okamayana
okamayana / ndk_setup.md
Created October 7, 2015 05:18
Android Studio: Setting up the IDE for proper JNI NDK integration

Purpose

The purpose of this document is to outline the necessary steps to set up a development environment for Android application development with NDK integration.

Environment setup

This document was written with the following setup:

  • Android Studio version 1.3.2
  • Android NDK version r10e
@FrancesCoronel
FrancesCoronel / sampleREADME.md
Last active November 14, 2025 13:37
A sample README for all your GitHub projects.

Repository Title Goes Here

Frances Coronel

INSERT GRAPHIC HERE (include hyperlink in image)

Subtitle or Short Description Goes Here

ideally one sentence >

@PurpleBooth
PurpleBooth / README-Template.md
Last active December 10, 2025 21:19
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@wombat
wombat / QRAndLogo.java
Last active December 5, 2023 12:07
QR-Code with embedded logo
// Create new configuration that specifies the error correction
Map<EncodeHintType, ErrorCorrectionLevel> hints = new HashMap<EncodeHintType, ErrorCorrectionLevel>();
hints.put(EncodeHintType.ERROR_CORRECTION, ErrorCorrectionLevel.H);
QRCodeWriter writer = new QRCodeWriter();
BitMatrix bitMatrix = null;
ByteArrayOutputStream baos = new ByteArrayOutputStream();
try {
// Create a qr code with the url as content and a size of 250x250 px