This file contains hidden or 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
/// Same as `IntrinsicWidth` except that when this widget is instructed | |
/// to `computeDryLayout()`, it doesn't invoke that on its child, instead | |
/// it computes the child's intrinsic width. | |
/// | |
/// This widget is useful in situations where the `child` does not | |
/// support dry layout, e.g., `TextField` as of 01/02/2021. | |
class DryIntrinsicWidth extends SingleChildRenderObjectWidget { | |
const DryIntrinsicWidth({Key key, Widget child}) | |
: super(key: key, child: child); |
Discord is now slowly rolling out the ability to send colored messages within code blocks. It uses the ANSI color codes, so if you've tried to print colored text in your terminal or console with Python or other languages then it will be easy for you.
To be able to send a colored text, you need to use the ansi
language for your code block and provide a prefix of this format before writing your text:
\u001b[{format};{color}m
This file contains hidden or 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
#!/bin/bash | |
# If you do not have ssh keys for root, remove all -i flag and $REMOTE_ROOT_KEYS instances from the script | |
REMOTE= # IP/hostname of remote target | |
REMOTE_ROOT_KEYS= # path to id_rsa of root user on remote target | |
LIGOLO_AGENT= # path to agent binary | |
LIGOLO_PROXY= # path to proxy binary | |
CURRENT_USER=$(whoami) | |
echo "[L] Uploading agent to remote..." |
This file contains hidden or 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
packages.objectbox-c = with pkgs; let | |
pname = "objectbox-c"; | |
version = "0.18.1"; | |
src = fetchurl { | |
url = "https://github.com/objectbox/${pname}/releases/download/v${version}/objectbox-linux-x64.tar.gz"; | |
hash = "sha256-oYz8ZBNdoTG3NDOuiu0JbmiAmSg4jQf9DQQIMZaNfNQ="; | |
}; | |
in | |
stdenv.mkDerivation rec { | |
inherit pname version src; |
OlderNewer