ESC 0x1b
- Introduces an escape sequenceCSI 0x1B [
- Control sequence introducerOSC 0x1B ]
- Operating system command
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
--- | |
Checks: '-*,clang-diagnostic-*,clang-analyzer-*,bugprone-*,performance-*,readability-non-const-parameter,readability-redundant-*,cppcoreguidelines-slicing' | |
WarningsAsErrors: '' | |
HeaderFilterRegex: '' | |
AnalyzeTemporaryDtors: false | |
FormatStyle: none | |
CheckOptions: | |
- key: cert-dcl16-c.NewSuffixes | |
value: 'L;LL;LU;LLU' | |
- key: cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField |
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
// SPDX-License-Identifier: UNLICENSED | |
pragma solidity >=0.8.0; | |
abstract contract A { | |
modifier m() virtual; | |
function f() A.m public {} | |
} | |
contract B is A { | |
modifier m() virtual override { _; } | |
} |
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
#pragma once | |
#include <utility> | |
#include <iterator> | |
template <int N, typename Range> | |
class nth_range { | |
public: | |
using RangeIterator = decltype(std::begin(std::declval<Range>())); | |
constexpr explicit nth_range(Range& _range) noexcept : begin_{std::begin(_range)}, end_{std::end(_range)} {} |
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 <type_traits> | |
#include <typeinfo> | |
#include <cstdio> | |
template < | |
template <class> class T, | |
class A, | |
class B | |
> | |
bool f(T<A>&& a, T<B>&& b) |
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
commit 9ea1b7bbf591ce605d1171b808aa3f68aabe4b40 | |
Author: Rachid <memcpy@local.host> | |
Date: Tue Jul 21 15:05:12 2020 +0200 | |
[libterminal, terminalview] replace std::bind with lambda | |
- add cmake package dependency for ubuntu | |
diff --git a/README.md b/README.md | |
index 09d703a..4fbdc0d 100644 |
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
git checkout master | |
git pull | |
git checkout -b my-NEW-branch | |
git cherry-pick f9b98e1bc186c59b7f23526b8568bc733cebe47a | |
git push -u origin my-NEW-branch |
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
# make sure you are in YOUR branch | |
git checkout replace-binds | |
# retrieve the commit SHA of your commit | |
SHA=$(git log --oneline HEAD~.. | awk '{print $1}') | |
git fetch | |
git reset --hard origin/wip | |
# XXX are you still in replace-binds branch? |
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
#! /bin/bash | |
function ul_color1() { | |
echo -ne "\033[58:2:255:250:32m" | |
} | |
function ul_color2() { | |
echo -ne "\033[58:2:255:32:32m" | |
} |
[ 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.