Skip to content

Instantly share code, notes, and snippets.

@eyecreate
eyecreate / gist:f1b89fe3f1bfdad9044fd93158584e6a
Created April 6, 2022 20:49
Acer C720P Android 4.4 on Chromebook
originally from reddit: https://www.reddit.com/r/chrubuntu/comments/1wxrgh/native_android_for_c720p/
I decided to bite the bullet and find out what I'd need to do to get Android working on my new C720p chromebook. After a day of compiling, I have something mostly working. Here is a link to an iso of the compiled system.
https://drive.google.com/file/d/0B1fMMW8H2fLfU2FWWUtfRnVVTUk/edit?usp=sharing
You can put this on a flash drive and live-cd boot(tested) or install it(have not tested). Below is a guide on how to recreate this from source.
A quick Guide for compiling native Android for your C720p
This android build is based off the Android-x86 code base. Due to stability problems this is based on the jellybean code, but both use the same kernel(3.10) and shouldn't be too difficult to use in future with kitkat. Thanks to many source for the information I used to compile this, but especially motley slate for his patch script.
@eyecreate
eyecreate / ambient_render.py
Created February 15, 2020 14:41
Ambient-Mixer Renderer : Python script to render downloaded Ambient Mixer data(using downloader from https://github.com/Philooz/pyambientmixer) to mp3.
#!/usr/bin/env python
"""Render Ambient-Mix XML to MP3"""
import untangle, pydub, argparse, math, os
from typing import List
__author__ = "Kevin Whitaker"
__license__ = "GPL"
__version__ = "1.0"
@eyecreate
eyecreate / package.yml
Created August 27, 2018 16:02
solus nvidia package file
name : nvidia-glx-driver-beta
version : '396.54'
release : 1
source :
- http://us.download.nvidia.com/XFree86/Linux-x86_64/396.54/NVIDIA-Linux-x86_64-396.54.run : 7c3e3c9ca6aea31ad2613ef9cb6a4510d95d61b698f084e55adcc0611ee9eec3
extract : no
homepage : https://nvidia.com
license :
- EULA
summary :
@eyecreate
eyecreate / package.yml
Last active July 30, 2018 14:03
package build config for steam-login session for Solus linux
name : steam-login
version : 11
release : 1
source :
- https://github.com/thor27/steam-login/archive/bdd5239a6ccca7b0e5a8e7e7a31b85aca082206b.zip : 83c083868855dd6e1b3f2693c8282b0214bb1e82e12bdc4849e2c57a8137e5c3
license : GPL-2.0-or-later
component : games
summary : Login Manager for Steam game launcher
description: |
Login Manager for Steam game launcher. Allows you to log into your user account and have Steam launch instead of a desktop.
@eyecreate
eyecreate / nvidia-beta-driver solus package
Created July 30, 2018 02:37
nvidia 396.45 package build script for Solus
name : nvidia-glx-driver
version : '396.45'
release : 253
source :
- http://us.download.nvidia.com/XFree86/Linux-x86_64/396.45/NVIDIA-Linux-x86_64-396.45.run : 30c2e29a45794227079730eac7c452da5290ea8f336ed2286dafd488e3695f20
extract : no
homepage : https://nvidia.com
license :
- EULA
summary :
@eyecreate
eyecreate / AppCompatImageButton
Created May 22, 2015 17:40
Did you want an imagebutton when using support lib? Now you can have one.
import android.content.Context;
import android.content.res.ColorStateList;
import android.graphics.PorterDuff;
import android.support.annotation.Nullable;
import android.support.v4.view.TintableBackgroundView;
import android.support.v7.appcompat.R;
import android.support.v7.internal.widget.TintInfo;
import android.support.v7.internal.widget.TintManager;
import android.support.v7.internal.widget.TintTypedArray;
import android.util.AttributeSet;
@eyecreate
eyecreate / gist:5369685
Last active December 19, 2016 19:51
Quick modification of find replace to allow multiple replacement at once with comma separated lists from a spreadsheet/csv.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Author: Chris Mohler
# Multi-replace: Eyecreate
# Copyright 2008 Chris Mohler
# License: GPL v3
# GIMP plugin to perform search and replace on all text layers
from gimpfu import *
import re