Skip to content

Instantly share code, notes, and snippets.

View dcarlson661's full-sized avatar

Dave Carlson dcarlson661

  • Earth
View GitHub Profile
@sunmeat
sunmeat / different files
Last active March 14, 2025 12:37
foreground service android example
MainActivity.java:
package com.sunmeat.services;
import android.app.ActivityManager;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.view.View;
@iamerikjolson
iamerikjolson / ChromebookDev.md
Last active July 18, 2023 09:07
How to setup your Chromebook as a dev box

These instructions will not work on Chromebooks with an ARM processor. If you have an ARM processor then you cannot install Chromebrew to get git. You'll need to instead install crouton. Here are instructions that you can follow: https://github.com/macton/arch-linux-install-notes/tree/master/arm-chromebook-chroot

#Configuring Chromebook for Development

After a full Sunday of trial and error, and stepping through many semi-complete or dated blog posts explaining how to do this, I was able to get the Chromebook into developer mode, install git, Node.js, and NPM.

Here's what I did...

  1. Enable Developer Mode
  • Press Esc-Refresh-Power keys which will reboot the Chromebook