I hereby claim:
- I am ccat3z on github.
- I am ccat3z (https://keybase.io/ccat3z) on keybase.
- I have a public key whose fingerprint is A784 DBF8 8D71 8B5F A46C F254 040B D409 F274 BE67
To claim this, I am signing this object:
#include <fcntl.h> | |
#include <unistd.h> | |
#include <sys/mman.h> | |
#include <sys/stat.h> | |
#include <cerrno> | |
#include <cstring> | |
#include <iostream> | |
#include <fstream> | |
void dump_mem() { |
// |
[Desktop Entry] | |
Name=vscode-right-click-hotfix | |
Type=Application | |
Exec=/usr/bin/env vscode-right-click-hotfix |
#! /bin/bash | |
# Based on scripts in https://github.com/k3s-io/k3s/issues/684 | |
set -e | |
clus_name="default" | |
user="user" | |
clus_url="https://127.0.0.1:6443" | |
ca_path=/var/lib/rancher/k3s/server/tls |
[ 0.000000] Booting Linux on physical CPU 0x0 | |
[ 0.000000] Initializing cgroup subsys cpuset | |
[ 0.000000] Initializing cgroup subsys cpu | |
[ 0.000000] Initializing cgroup subsys cpuacct | |
[ 0.000000] Initializing cgroup subsys schedtune | |
[ 0.000000] Linux version 4.4.268-perf+ (nobody@android-build) (Android (7284624, based on r416183b) clang version 12.0.5 (https://android.googlesource.com/toolchain/llvm-project c935d99d7cf2016289302412d708641d52d2f7ee)) #1 SMP PREEMPT Sun May 9 10:47:59 CEST 2021 | |
[ 0.000000] Boot CPU: AArch64 Processor [51af8014] | |
[ 0.000000] Machine: Qualcomm Technologies, Inc. MSM 8998 v2.1 MTP | |
[ 0.000000] Reserved memory: reserved region for node 'removed_regions@85800000': base 0x0000000085800000, size 55 MiB | |
[ 0.000000] Reserved memory: reserved region for node 'pil_adsp_region@0x8b200000': base 0x000000008b200000, size 30 MiB |
I hereby claim:
To claim this, I am signing this object:
docker inspect -f '{{ range $index, $mount := .Mounts }}{{ if eq $mount.Type "volume"}}{{ $mount.Name }} {{ end }}{{ end }}' $NAME |
#!/bin/python | |
import timeit | |
maxNum=10 | |
numList=list(range(maxNum,0,-1)) #生成1...MAX的数列 | |
result=0 #初始化结果 |
#!/bin/sh | |
if [ -d out_small_data ];then | |
echo "out_small_data dir existed." | |
read -n 1 -p "remove it?[y/N]" answer | |
echo | |
if [ "$answer" == "y" ];then | |
rm -rf out_small_data | |
else | |
exit |
$ErrorActionPreference = "Stop" | |
$notificationTitle = "Notification: " + [DateTime]::Now.ToShortTimeString() | |
[Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] > $null | |
$template = [Windows.UI.Notifications.ToastNotificationManager]::GetTemplateContent([Windows.UI.Notifications.ToastTemplateType]::ToastText01) | |
#Convert to .NET type for XML manipuration | |
$toastXml = [xml] $template.GetXml() | |
$toastXml.GetElementsByTagName("text").AppendChild($toastXml.CreateTextNode($notificationTitle)) > $null |