- Create a SSH key
ssh-keygen -t rsa -C "[email protected]"
# this is also okay
ssh-keygen -t rsa -b 4096 -C "[email protected]"
# maybe this (up to your preference)
ssh-keygen -t ed25519 -C "[email protected]"
#!/usr/bin/python3 | |
""" | |
Copyright 2021 Mygod | |
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 | |
http://www.apache.org/licenses/LICENSE-2.0 |
-- Aseprite script for permuting the palette | |
-- permute_palette_colours.lua | |
-- by increpare - public domain | |
-- This script randomly permutes the color palette in the active indexed sprite. | |
-- Ensure there is an active sprite | |
local sprite = app.activeSprite | |
if not sprite then | |
app.alert("There is no active sprite.") | |
return |
ssh-keygen -t rsa -C "[email protected]"
# this is also okay
ssh-keygen -t rsa -b 4096 -C "[email protected]"
# maybe this (up to your preference)
ssh-keygen -t ed25519 -C "[email protected]"
curl -H 'Authorization: token INSERTACCESSTOKENHERE' -H 'Accept: application/vnd.github.v3.raw' -O -L https://api.github.com/repos/owner/repo/contents/path |
curl --header 'Authorization: token INSERTACCESSTOKENHERE' \ | |
--header 'Accept: application/vnd.github.v3.raw' \ | |
--remote-name \ | |
--location https://api.github.com/repos/owner/repo/contents/path | |
# Example... | |
TOKEN="INSERTACCESSTOKENHERE" | |
OWNER="BBC-News" | |
REPO="responsive-news" |
Hi All! | |
I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future. | |
Feel free to request any features you'd like to see, and I'll prioritize them accordingly. | |
One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it. | |
Here's the link to the repository: https://github.com/Pulimet/ADBugger | |
App Description: | |
ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups. |
{ | |
"char_events": { | |
"key_unknown": "adb shell input keyevent 0", | |
"key_soft_left": "adb shell input keyevent 1", | |
"key_soft_right": "adb shell input keyevent 2", | |
"key_home": "adb shell input keyevent 3", | |
"key_back": "adb shell input keyevent 4", | |
"key_call": "adb shell input keyevent 5", | |
"key_endcall": "adb shell input keyevent 6", | |
"0": "adb shell input keyevent 7", |
{ | |
"key_events": { | |
"key_unknown": "adb shell input keyevent 0", | |
"key_soft_left": "adb shell input keyevent 1", | |
"key_soft_right": "adb shell input keyevent 2", | |
"key_home": "adb shell input keyevent 3", | |
"key_back": "adb shell input keyevent 4", | |
"key_call": "adb shell input keyevent 5", | |
"key_endcall": "adb shell input keyevent 6", | |
"key_0": "adb shell input keyevent 7", |
package com.tobi.example2ktdsl.ui.screens | |
import android.content.res.Configuration | |
import androidx.compose.foundation.BorderStroke | |
import androidx.compose.foundation.layout.Column | |
import androidx.compose.foundation.layout.fillMaxHeight | |
import androidx.compose.foundation.layout.fillMaxSize | |
import androidx.compose.foundation.layout.fillMaxWidth | |
import androidx.compose.foundation.layout.padding | |
import androidx.compose.foundation.layout.width |
@Composable | |
fun SwitchWithThumbIconSample() { | |
var checked by remember { mutableStateOf(false) } | |
Switch( | |
modifier = Modifier.semantics { contentDescription = "Demo with icon" }, | |
colors = SwitchDefaults.colors( | |
uncheckedTrackColor=Color(0xFFB71C1C), | |
uncheckedBorderColor = Color(239, 83, 80, 255), | |
uncheckedThumbColor = Color(0xFFFF9052), | |
uncheckedIconColor = Color(0xFFEEEEEE), |