You have installed GPG, then tried to perform a git commit and suddenly you see this error message after it 😰
error: gpg failed to sign the data
fatal: failed to write commit object
Understand the error (important to solve it later!)
| // Project | |
| plugins { | |
| alias(libs.plugins.ksp) apply false | |
| alias(libs.plugins.hilt) apply false | |
| } | |
| // Module | |
| plugins { | |
| alias(libs.plugins.ksp) | |
| alias(libs.plugins.hilt) |
| @Composable | |
| fun animatePathAsState(path: String): State<List<PathNode>> { | |
| return animatePathAsState(remember(path) { addPathNodes(path) }) | |
| } | |
| @Composable | |
| fun animatePathAsState(path: List<PathNode>): State<List<PathNode>> { | |
| var from by remember { mutableStateOf(path) } | |
| var to by remember { mutableStateOf(path) } | |
| val fraction = remember { Animatable(0f) } |
This is a compiled list of falsehoods programmers tend to believe about working with time.
Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.
| // Simple HTTP server that returns random HTTP status code, written in Go. | |
| // Author: Gary A. Stafford <[email protected]> | |
| // Created: 11/04/2016 | |
| package main | |
| import ( | |
| "io" | |
| "math/rand" | |
| "net/http" |
| // Usage: | |
| // $('.box').parentToAnimate($('.new-parent'), 200); | |
| // $('.box').parentToAnimate($('.new-parent'), 'slow'); | |
| // $('.box').parentToAnimate('.new-parent', 'slow'); | |
| jQuery.fn.extend({ | |
| // Modified and Updated by MLM | |
| // Origin: Davy8 (http://stackoverflow.com/a/5212193/796832) | |
| parentToAnimate: function(newParent, duration) { | |
| duration = duration || 'slow'; |
| # -*- coding: utf-8 -*- | |
| def transliterate(string): | |
| capital_letters = {u'А': u'A', | |
| u'Б': u'B', | |
| u'В': u'V', | |
| u'Г': u'G', | |
| u'Д': u'D', | |
| u'Е': u'E', |