Skip to content

Instantly share code, notes, and snippets.

View LaurieScheepers's full-sized avatar

Laurie Scheepers LaurieScheepers

View GitHub Profile
@LaurieScheepers
LaurieScheepers / base-rules-001.mdc
Last active April 16, 2025 19:47
Base Cursor Rules
# Base Rules for Cursor
## Fundamental Principles
- Write clean, simple, readable code
- Implement features in the simplest possible way
- Keep files small and focused (<200 lines)
- Test after every meaningful change
- Focus on core functionality before optimization
- Use clear, consistent naming
- Think thoroughly before coding. Write 2-3 reasoning paragraphs.
@LaurieScheepers
LaurieScheepers / countries.json
Last active September 6, 2023 08:31
JSON file with a list of all the countries; includes the name, flag, dialling code, and country code
[
{
"name": "Afghanistan",
"dial_code": "+93",
"emoji": "🇦🇫",
"code": "AF"
},
{
"name": "Aland Islands",
"dial_code": "+358",
@LaurieScheepers
LaurieScheepers / LocationService.kt
Last active March 2, 2022 11:08
A Service that tracks the user's location for a minute (configurable), averages it and sends it off to a server
package com.company.app.service
import android.app.Notification
import android.app.NotificationChannel
import android.app.NotificationManager
import android.app.Service
import android.content.Context
import android.content.Intent
import android.graphics.BitmapFactory
import android.graphics.Color