Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
- Decimal:
27
<?php | |
$channels = array( | |
"UCgpy7yxv_7JbR26McdS1uQA", | |
"UCrHZJ6fddxeK2wwPIh5-O4Q", | |
"UCYUI-AaHyYslLLWAss4EiAA", | |
); | |
$res = 5; | |
$key = 'YOUR_KEY_HERE'; |
You are looking at the most important, and most abundant thing on the web. You can't see it, unfortunately, because it's very small… aaaaand it's invisible — so having a magnifying glass doesn't really help here. But still.
I'm talking, of course, about U+0020
; not to be confused with the band U2, who are just as ubiquitous, but far less useful.
This unicode point, representing the humble space character, is between every word, in every run of text, on every page of the web. And it has a very special characteristic: it's not sticky like glue. If two words are neighbors but there's not enough room for both of them, the space will free the second word to wrap around and start a new line.
Before getting into flexible containers, viewport meta tags, and @media
breakpoints this humble character is what makes the web fundamentally 'responsive'. That is: able to change the layout of its content to suit different devices, contexts, and settings. Browser text does this automa
package com.example.readFile.readFileJava; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.nio.file.Files; | |
import java.nio.file.Path; | |
import java.time.Duration; | |
import java.time.Instant; | |
import java.util.ArrayList; | |
import java.util.Collections; |
import java.util.*; | |
/** | |
* A linked list that exposes its length as part of its type. | |
* | |
* @author Marco Faella | |
* @version 1.0 | |
*/ | |
public class L<T,N extends L<T,?>> implements Iterable<T> { | |
private T item; |
const whoAmI = async () => { | |
/** | |
* * 1. Create the query | |
* * 2. Send the query and get the response as object | |
* * 3. If there was an error then throw it | |
* * 4. Otherwise return the result | |
*/ | |
// * 1 | |
const query = "{ whoAmI { id profilePicture email confirmed } }"; |
package main | |
import ( | |
"crypto/sha256" | |
"encoding/hex" | |
"strconv" | |
"time" | |
) | |
type Data struct { |
using System; | |
using System.Collections.Concurrent; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Linq; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using MimeKit; | |
using MimeKit.Text; |
/* | |
Copy this into the console of any web page that is interactive and doesn't | |
do hard reloads. You will hear your DOM changes as different pitches of | |
audio. | |
I have found this interesting for debugging, but also fun to hear web pages | |
render like UIs do in movies. | |
*/ | |
const audioCtx = new (window.AudioContext || window.webkitAudioContext)() |
using namespace System.Management.Automation | |
Register-ArgumentCompleter -CommandName ssh,scp,sftp -Native -ScriptBlock { | |
param($wordToComplete, $commandAst, $cursorPosition) | |
$knownHosts = Get-Content ${Env:HOMEPATH}\.ssh\known_hosts ` | |
| ForEach-Object { ([string]$_).Split(' ')[0] } ` | |
| ForEach-Object { $_.Split(',') } ` | |
| Sort-Object -Unique | |
# For now just assume it's a hostname. |