ESC 0x1b- Introduces an escape sequenceCSI 0x1B [- Control sequence introducerOSC 0x1B ]- Operating system command
[ Update 2020-05-31: I won't be maintaining this page or responding to comments anymore. The list of supporting software reflects the known state as of this date. ]
Most of the terminal emulators auto-detect when a URL appears onscreen and allow to conveniently open them (e.g. via Ctrl+click or Cmd+click, or the right click menu).
It was, however, not possible until now for arbitrary text to point to URLs, just as on webpages.
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 | |
| function ul_color1() { | |
| echo -ne "\033[58:2:255:250:32m" | |
| } | |
| function ul_color2() { | |
| echo -ne "\033[58:2:255:32:32m" | |
| } |
In solidity there are currently two ways of generating and catching errors - by Error(string) or a raw bytes message.
This may not be enough and a more high level distinction would be nice by introducing custom error types the Solidity developer can create and use.
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
| #include <array> | |
| #include <cstdio> | |
| #include <type_traits> | |
| template <typename T> struct remove_move { using type = T; }; | |
| template <typename T> struct remove_move<T&&> { using type = std::remove_reference_t<T>; }; | |
| template <typename T> using remove_move_t = typename remove_move<T>::type; | |
| template <typename T> | |
| auto f(T&& _value) { |
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
| { | |
| // Use IntelliSense to learn about possible attributes. | |
| // Hover to view descriptions of existing attributes. | |
| // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "solc", | |
| "type": "cppdbg", | |
| "request": "launch", |
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 | |
| LINES=${LINES:-${1}} | |
| echo -ne "\033[2J" # clear screen | |
| echo -ne "\033[H" # cursor to home | |
| # fill lines with known pattern (numbers from 1 upwards) | |
| for i in `seq 1 ${LINES}`; do | |
| echo -n "$i ..." |
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
| { | |
| "globals" : | |
| { | |
| "alwaysShowTabs" : true, | |
| "defaultProfile" : "{2c4de342-38b7-51cf-b940-2309a097f519}", | |
| "initialCols" : 120, | |
| "initialRows" : 30, | |
| "keybindings" : | |
| [ | |
| { |
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
| #include <map> | |
| #include <string> | |
| #include <algorithm> | |
| #include <iostream> | |
| using namespace std; | |
| int main(int argc, const char* argv[]) | |
| { | |
| // hint: ternary operator ? : | |
| string const text = |
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
| ==27560== Memcheck, a memory error detector | |
| ==27560== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. | |
| ==27560== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info | |
| ==27560== Command: ./test/soltest --show_progress=yes -t SolidityEndToEndTest/abi_encode_with* -- --ipcpath /home/trapni/.ethereum/geth.ipc | |
| ==27560== | |
| ==27560== error calling PR_SET_PTRACER, vgdb might block | |
| Running 4 test cases... | |
| 0% 10 20 30 40 50 60 70 80 90 100% | |
| |----|----|----|----|----|----|----|----|----|----| |