Skip to content

Instantly share code, notes, and snippets.

View kalloc's full-sized avatar
🌋

kalloc kalloc

🌋
View GitHub Profile
// SPDX-License-Identifier: MIT
// Sources flattened with hardhat v2.9.3 https://hardhat.org
// File @openzeppelin/contracts/utils/Context.sol@v4.5.0
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
panic(cpu 0 caller 0xfffffff014587384): userspace watchdog timeout: no successful checkins from com.apple.dfrd since load
service: com.apple.dfrd, no successful checkins since load (180 seconds ago)
service: com.apple.remoted, total successful checkins since load (180 seconds ago): 18, last successful checkin: 0 seconds ago
service: com.apple.bridgeaudiod, total successful checkins since load (180 seconds ago): 19, last successful checkin: 0 seconds ago
service: com.apple.logd, total successful checkins since load (180 seconds ago): 19, last successful checkin: 0 seconds ago
Debugger message: panic
Memory ID: 0x6
OS release type: User
OS version: 18P4663
Sleep Wake failure in EFI
Failure code:: 0xffffffff 0x0000001f
Please IGNORE the below stackshot
================================================================
Date/Time: 2021-06-03 22:53:12 +0300
OS Version: ??? ??? (Build ???)
Architecture: x86_64
panic(cpu 1 caller 0xfffffff01f8608a4): "Sleep/Wake hang detected"
Debugger message: panic
Memory ID: 0x6
OS release type: User
OS version: 18P4347
macOS version: 19H524
Kernel version: Darwin Kernel Version 20.3.0: Tue Jan 5 18:50:06 PST 2021; root:xnu-7195.80.35~4/RELEASE_ARM64_T8010
Kernel UUID: C7A021A0-C976-37C8-B2E7-A18B3A7CD973
iBoot version: iBoot-6723.80.19
secure boot?: YES
import java.io.*;
import java.lang.ProcessBuilder;
import java.util.concurrent.TimeUnit;
public class Main {
public static void main(String[] args) {
// create a new list of arguments for our process
String[] list = {"bash", "-c", "yes Syntax Warning: Length in linearization table is invalid | head -n 10000 >&2"};
@kalloc
kalloc / clock.html
Last active November 25, 2020 20:28 — forked from sam0737/clock.html
OBS Studio: A HTML page for showing current date and time in the video
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>A simple clock</title>
</head>
<body translate="no" >
@kalloc
kalloc / .tmux.conf
Last active February 16, 2020 16:52
centos-mouse-guide.md
set mouse=n
set -g mouse-resize-pane on
set -g mouse-select-pane on
set -g mouse-select-window on
if [[ "${TMUX}" != "" ]]; then
WINDOW=$(tmux display-message -p '#W')
FILE=$HOME/.bash_sessions/$(tmux display-message -p '#S')
if [[ ${WINDOW} != 'vim' ]];then
WINDOW='local'
fi
export HISTFILE=${FILE}-${WINDOW}
fi

SQL

  • Чем SQL отличается от NoSQL
  • Что такое транзакции?
  • Что такое CAP теорема?
  • Что такое ACID?

Python

  • Что такое GIL? Его особенности работы (конкурентность vs параллелизм)
[MASTER]
# A comma-separated list of package or module names from where C extensions may
# be loaded. Extensions are loading into the active Python interpreter and may
# run arbitrary code
extension-pkg-whitelist=
# Add files or directories to the blacklist. They should be base names, not
# paths.
ignore=CVS