Skip to content

Instantly share code, notes, and snippets.

import androidx.annotation.DrawableRes
import androidx.compose.animation.core.animateDpAsState
import androidx.compose.foundation.clickable
import androidx.compose.foundation.gestures.Orientation
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.BoxWithConstraints
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
@burntcookie90
burntcookie90 / Dockerfile
Created November 16, 2022 22:01
Cuckoo.plus docker
FROM nginx:1.23.2-alpine
WORKDIR /usr/share/nginx/html
RUN wget -O app.zip https://github.com/NanaMorse/Cuckoo.Plus/releases/download/release-22.10.0/release-22.10.0.zip && unzip -o app.zip && rm app.zip
@burntcookie90
burntcookie90 / linguist-runner.sh
Last active February 23, 2021 03:51
runs linguist on ever commit since a date
#!/usr/bin/bash
for commit in $(git --no-pager log --reverse --after="2016-10-01T10:36:00-07:00" --pretty=format:%H)
do
echo $commit
git checkout $commit
#write linguist data to a file
echo "" >> ~/repo-linguist-report.txt
echo "commit: $commit" >> ~/repo-linguist-report.txt
import android.app.Activity
import android.app.Fragment
import android.support.annotation.BoolRes
import android.support.annotation.StringRes
import android.support.v4.app.DialogFragment
import kotlin.properties.ReadOnlyProperty
import kotlin.reflect.KProperty
//region Boolean
fun Activity.bindBool(@BoolRes id: Int) : ReadOnlyProperty<Activity, Boolean> =
@burntcookie90
burntcookie90 / guide.md
Last active December 30, 2023 14:41
sanderson reading guide

Lots of books, here's a way to enjoy them! Just my suggestion, I found this to be a great way to get into the overall Cosmere.

Cosmere

  1. Mistborn Era 1
    1. The Final Empire
    2. The Well of Ascension
    3. The Hero of Ages
  2. Elantris (This is one of his first books, it has a noticabley different style, but the story is fun and has some Cosmere stuff for later)
  3. The Emporer's Soul: Elantris Novella
  4. Stormlight Archive #1 : The Way of Kings
class Foo(val id: String, val name: String, val count: Int?)
@burntcookie90
burntcookie90 / export_google_music.js
Created June 27, 2017 14:14 — forked from jmiserez/export_google_music.js
(fixed/updated 2016-05-10) Export your Google Music Library and Playlists (Google Play Music All Access) (see http://webapps.stackexchange.com/questions/50311/print-playlist-from-google-play-music for more)
// Jeremie Miserez <jeremie@miserez.org>, 2016
//
// A little bit of Javascript to let you export your Google Music library, playlists, and album track lists :)
//
// I posted this as an answer here: http://webapps.stackexchange.com/questions/50311/print-playlist-from-google-play-music
//
// 1. Go to: https://play.google.com/music/listen#/all (or your playlist)
//
// 2. Open a developer console (F12 for Chrome). Paste
// code below into the console.
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA+gAAAPoCAYAAABNo9TkAAAgAElEQVR4Xuy9baxm11UmeK6ZDqOZ+E+QHZFyElOFKLWIcaClVgwdS1RsQgQosUAoBgwhCUGyI0dKpMHdYFPYgXaQCMJKeUQmHx4y4BICORG0ArJTqM3QiVpqkriCUEWpiyEum9gK88NRS1jdvqO173lOPWed9bXP+96qivH75973Pfvsj7XXXns9a6299s4wPL137syVw6GjTw/yuXu4v/2Vz13DrbPv+G0qMAzDueHK6euhYb+OTT6HD79uePwjfzdc/c7vGHZ3P9fq53r3Hnxq2Ln521u/7tz71eGenV9rf+Wzs/NMK/+Kvb3hW/7isuF//uDzw5M7O+39vb0rZmXlvbtO3zIcfvONw9mzZ4edL+0Oe685PBw5cmQ4++sPDUd++abhL3d3W11oQ+qXeqRO+d37tDrOnm2P5V3+oK/4DXXKd64Xbco4/uG7vjpV8cn/8bbhLf/LAyGJdz511TDcNrh9lDY/f/tzw5/c95GJdtxPmXcZJ/ovdBLa4IOyPBb0F2PAX/n9gcO/N7xt92dnfX7HcHx4/eHDE42FZn/5vt3zZW7b/1fKCC1B0yfv3xlecevecOLvbxxu+udHhuHo+XEy/VCe/0p9wlvyEd6Qj9CXv4MPhEbDPWeH4c4jjRbu97HHe7/yun0eHPkIA5H+ykf6zHyBttEP8IGUkc9ffnp3+OjR49P8gC/vufmhiUZCf2lPPpifiUfHdpno0gf5CJ1mv9N6wfs77//cgDGBrlhT//dtb2iv3/1njw93/fDVs7p+7sRnZm0cuuezrZ4vvOdc4zeZ92ntnHxsevfJ77t2OPSH+2X5A3rIb1hTeC51vvZ3DrWvjX8+vTu8/k2Hm9wQOSLrV/iH5QnmEvw9a8z5wjKGi4Ae+I3XgOZbPd9CQ9AqqtPqUuNFmfNxjcrY9frScgb1CL+cu2afx/B56PEbhpuufsQe/Y

Keybase proof

I hereby claim:

  • I am burntcookie90 on github.
  • I am vishnurajeevan (https://keybase.io/vishnurajeevan) on keybase.
  • I have a public key ASDdH2evPoDypCqMg8xlHqIqIPNkfDtsJDbRClvE1Uwowgo

To claim this, I am signing this object:

Live image for Fedora 24 doesn't boot, switch to a tty and run `dnf upgrade` as root and reboot
Use the following link to get all deps for android-studio
https://developer.fedoraproject.org/start/sw/mobile-app/mobile-devassistant.html