Skip to content

Instantly share code, notes, and snippets.

@warting
warting / ZoomableImage.kt
Created March 24, 2021 11:25
Jetpack compose zoomable image view example
import androidx.compose.foundation.background
import androidx.compose.foundation.gestures.rememberTransformableState
import androidx.compose.foundation.gestures.transformable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
@GetVladimir
GetVladimir / Setup-iCloud+-Custom-Domain-Catch-All-email-with-Gmail.md
Last active April 30, 2024 15:17
How to setup iCloud+ Custom Domain Catch All email with Gmail

How to setup iCloud+ Custom Domain Catch All email with Gmail

I've recently tested on how to move the custom domain catch all email from G Suite to the new iCloud+ Catch All feature and wanted to share my experience.

The end result is having Custom Domain email and Catch All routing, that can be fully used via Gmail, including receiving and sending emails.


The steps

  • Setup your Custom Domain (or subdomain) with iCloud+
@dexit
dexit / LanguagePacks.txt
Last active April 30, 2024 15:17
Windows 10 language pack download list
LangPacks for Windows 10 build 10.0.14393.0 (rs1_release.160715-1616)
=======================================================================================================================================
x86
=======================================================================================================================================
ar-SA http://download.windowsupdate.com/c/msdownload/update/software/updt/2016/07/lp_2d27aaac52b3449bddbf6081f934d5a0e04567f5.cab
bg-BG http://download.windowsupdate.com/c/msdownload/update/software/updt/2016/07/lp_859ef8cf0175dd8e54c68ed7939d8c5654521b6e.cab
cs-CZ http://download.windowsupdate.com/c/msdownload/update/software/updt/2016/07/lp_f3aeb974df186c213760b2fca77c12c55b4ef7f2.cab
da-DK http://download.windowsupdate.com/c/msdownload/update/software/updt/2016/07/lp_9334cac301decb6bc155eba301db796171167629.cab
de-DE http://download.windowsupdate.com/c/msdownload/update/software/updt/2016/07/lp_b142c3c021284f6c90eaff7fc59bdaabb6573d72.
@miguelmota
miguelmota / external_link_arrow.txt
Last active April 30, 2024 15:17
Unicode UTF-8 external link arrow symbol (closest thing to it)
@anubhavshrimal
anubhavshrimal / CountryCodes.json
Last active April 30, 2024 15:17 — forked from Goles/CountryCodes.json
Country and Dial or Phone codes in JSON format
[
{
"name": "Afghanistan",
"dial_code": "+93",
"code": "AF"
},
{
"name": "Aland Islands",
"dial_code": "+358",
"code": "AX"
@ThomasG77
ThomasG77 / README.md
Last active April 30, 2024 15:17
Recipe to get JSON using pagination using command line tools e.g curl, jq, bc, cat
@msurguy
msurguy / List.md
Last active April 30, 2024 15:14
List of open source projects made with Laravel

Other people's projects:

My projects (tutorials are on my blog at http://maxoffsky.com):

@ricalo
ricalo / .bashrc
Last active April 30, 2024 15:15
Use git-bash from Android Studio terminal
if [ ! -z "${IDE}" -a "${IDE}" == "AndroidStudio" ]; then
cd $OLDPWD;
fi
@Hakky54
Hakky54 / openssl_commands.md
Last active April 30, 2024 15:14 — forked from p3t3r67x0/openssl_commands.md
Some list of openssl commands for check and verify your keys

OpenSSL 🔐

Install

Install the OpenSSL on Debian based systems

sudo apt-get install openssl
@mortie
mortie / chrono-cheat-sheet.md
Last active April 30, 2024 15:12
std::chrono cheat sheet for the every-day programmer

Chrono cheat sheet

For the every-day programmer who needs to get shit done instead of fighting type errors.

If your application deals with times in any meaningful way, you should probably want to actually store time_points and durations and what-not; chrono has a pretty rich vocabulary for talking about time-related concepts using the type system. However, sometimes you just need to do something simple, like timing how long something takes, which is where chrono becomes overly complex, hence this cheat sheet.

All examples will assume #include <chrono>.

I just want to time something, then print the result