- Add the API key to your
local.propertiesfile:
apiKey=<value>- Add to the
build.gradle.ktsfile (module-level):
| @Composable | |
| fun DashboardScreen( | |
| viewModel: DashboardScreenVM, | |
| navigateToPayments: () -> Unit, | |
| navigateToTasks: (taskId: String, workerId: String) -> Unit, | |
| navigateToHelp: (screenshot: Uri?) -> Unit, | |
| ) { | |
| val tutorialVideoNotAvailable = stringResource(id = R.string.tutorial_video_not_available) | |
| val noInternet = stringResource(id = R.string.no_internet) |
| suspend fun getChatUsers(userIds: List<String>): List<ChatUser> { | |
| return userIds.map { userId -> | |
| async { | |
| getUserById(userId) | |
| } | |
| }.awaitAll() | |
| } |
| #!/bin/bash | |
| build-from-nothing () { | |
| sudo apt-get install -y nala | |
| sudo nala install -y meson wget build-essential ninja-build cmake-extras cmake gettext gettext-base fontconfig libfontconfig-dev libffi-dev libxml2-dev libdrm-dev libxkbcommon-x11-dev libxkbregistry-dev libxkbcommon-dev libpixman-1-dev libudev-dev libseat-dev seatd libxcb-dri3-dev libvulkan-dev libvulkan-volk-dev vulkan-validationlayers-dev libvkfft-dev libgulkan-dev libegl-dev libgles2 libegl1-mesa-dev glslang-tools libinput-bin libinput-dev libxcb-composite0-dev libavutil-dev libavcodec-dev libavformat-dev libxcb-ewmh2 libxcb-ewmh-dev libxcb-present-dev libxcb-icccm4-dev libxcb-render-util0-dev libxcb-res0-dev libxcb-xinput-dev libpango1.0-dev xdg-desktop-portal-wlr hwdata | |
| mkdir HyprSource | |
| cd HyprSource |
| Name | Divyansh Kushwaha |
|---|---|
| Organization | AnkiDroid |
| Proposal | Divyansh's GSoC Proposal |
| Objective | AsyncTask to Coroutines Migration Issue #7108 |
| 1. Install oh-my-zsh | |
| sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" | |
| 2. Clone necessary plugins. | |
| git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions | |
| git clone https://github.com/zsh-users/zsh-history-substring-search $ZSH_CUSTOM/plugins/zsh-history-substring-search | |
| git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting | |
| 3. Add plugins to ~/.zshrc as | |
| plugins = ( [plugins...] zsh-autosuggestions zsh-history-substring-search zsh-syntax-highlighting) |