Skip to content

Instantly share code, notes, and snippets.

View joecks's full-sized avatar

joecks

  • Flutter & Android Freelancer
  • Berlin
View GitHub Profile
@DslMarker
annotation class ActionsMarker
/**
* Marker Interface to enforce correct method selection in IDE tab completion and context compile time scope enforcement
*/
@ActionsMarker
interface Actions
/**
@joecks
joecks / gist:af4f1839c82b8e1dd15785e3bf4f457c
Last active May 12, 2020 12:24
Export ClipboardActions database to CSV

Preparation

  1. Install ADB (Android Debug Bridge, check tutorias online)
  2. Then install a linux subsystem (https://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/) not neccessary on Linux or Mac OS
  3. Install Openssl and Python (check the internet for tutorials)

Steps:

  1. Connect your device with a cable to your computer and enable Developer option (please google how to do that)
  2. Allow access to your device once you connect the cable
  3. in the Terminal call: adb backup -noapk de.halfreal.clipboardactions (this will copy a backup from ClipboardActions on your device called backup.ab)
desc "Build and publish to MS AppCenter \n" \
"Available options:\n" \
"#{Options::help()}"
lane :publish do |options|
platform = options[Options::PLATFORM]
flavor = options[Options::FLAVOR]
config = Config::FLAVOR_MATRIX[flavor][platform]
appcenter_target = config[Keys::APPCENTER_TARGET]
appcenter_token = config[Keys::APPCENTER_TOKEN]
This file has been truncated, but you can view the full file.
[
{
"title": "Amy Poehler Announces Inside Out 2 and Ariana DeBose Performs at D23 2022",
"author": "",
"published_date": "2022-09-11 19:26:45",
"published_date_precision": "full",
"link": "https://www.ign.com/videos/amy-poehler-announces-inside-out-2-and-ariana-debose-performs-at-d23-2022",
"clean_url": "ign.com",
"rank": 649,
"topic": "gaming",
@joecks
joecks / Dockerfile
Created May 24, 2023 14:55
lambda docker file with nodejs and python
FROM public.ecr.aws/lambda/python:3.10
SHELL ["/usr/bin/bash", "-c"]
RUN yum install -y tar gzip
RUN touch ~/.bashrc
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
RUN . ~/.nvm/nvm.sh && nvm install 12
RUN ln -s /root/.nvm/versions/node/v12.22.12/bin/node /usr/bin/node
COPY . ./