Skip to content

Instantly share code, notes, and snippets.

View JolandaVerhoef's full-sized avatar

Jolanda Verhoef JolandaVerhoef

  • The Netherlands
View GitHub Profile
@JolandaVerhoef
JolandaVerhoef / Compose-PhotoGrid.kt
Created June 30, 2023 12:14
Photogrid with multi-select and zoomable images
/*
* Copyright 2023 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
/* Copyright 2023 Google LLC.
SPDX-License-Identifier: Apache-2.0 */
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.MarqueeSpacing
import androidx.compose.foundation.basicMarquee
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.offset
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.width
@JolandaVerhoef
JolandaVerhoef / VWS_CLA
Created May 25, 2020 09:03
VWS Individual Contributor License Agreement
# CONTRIBUTOR LICENCE AGREEMENT
###### version 1.00 / 2020-5-20
The State of the Netherlands, the Ministry of Public Health, Welfare and Sport (hereinafter: the Ministry) would like to utilise the knowledge of third parties in developing digital resources that could contribute to combating COVID-19 (hereinafter referred to collectively as: the Digital Resources).
You (hereinafter: the Contributor) wish to contribute to the development of the Digital Resources, for example in the form of new or an adaptation of existing software, designs, documentation, digital files and/or other works to which intellectual property rights can attach (hereinafter: the Contributions).
The purpose of this licence agreement is (i) to clarify the intellectual property rights to the Contributions and (ii) to enable the Ministry to use and publish the Contributions.
@JolandaVerhoef
JolandaVerhoef / MainActivity.kt
Created October 17, 2018 11:28
Sample project with failing preview
package com.jolandaverhoef.test
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
@JolandaVerhoef
JolandaVerhoef / gist:cafef1d64b80b7e983b8
Created August 24, 2015 08:23
Add a git submodule with custom name and directory
git submodule add --name {NAME} --force {SSH URL} {DIRECTORY}