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
<div role="presentation" class="c-message_kit__background c-message_kit__hidden_message_blur p-message_pane_message__message c-message_kit__message" data-qa="message_container" data-qa-unprocessed="false" data-qa-placeholder="false"><div class="c-message_kit__actions c-message_kit__actions--default" style="position: relative;"><div class="c-message_kit__gutter"><div role="presentation" class="c-message_kit__gutter__left" data-stringify-ignore="true"><span class="p-member_profile_hover_card" role="presentation"><button class="c-button-unstyled c-message_kit__avatar c-avatar c-avatar--interactive" aria-hidden="true" aria-label="View Liubov’s Profile" tabindex="-1" type="button" style="height: 36px; width: 36px;"><span class="c-base_icon__width_only_container" style="height: 36px; width: 36px;"><img src="https://ca.slack-edge.com/T03HVCZ5QK0-U03J29DP99Q-gb6734234f8b-48" srcset="https://ca.slack-edge.com/T03HVCZ5QK0-U03J29DP99Q-gb6734234f8b-72 2x" class="c-base_icon c-base_icon--image" aria-hidden="true" role="im |
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 | |
history | cut -c 27- | sort | uniq -c | sort -nr | head |
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
# Function to read driver names from an lsmod output file | |
def read_lsmod_file(file_path): | |
driver_names = [] | |
with open(file_path, 'r') as file: | |
for line in file: | |
# Split each line and take the first column as the module name | |
columns = line.strip().split() | |
if columns: | |
driver_names.append(columns[0]) | |
return driver_names |
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
(gnome-shell:11435): GLib-DEBUG: 01:11:59.832: unsetenv() is not thread-safe and should not be used after threads are created | |
libmutter-Message: 01:11:59.832: Running GNOME Shell (using mutter 44.3) as a Wayland display server | |
(gnome-shell:11435): GLib-GIO-DEBUG: 01:11:59.834: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) | |
(gnome-shell:11435): GLib-GIO-DEBUG: 01:11:59.841: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’ | |
(gnome-shell:11435): dconf-DEBUG: 01:11:59.841: watch_fast: "/org/gnome/desktop/interface/" (establishing: 0, active: 0) | |
(gnome-shell:11435): dconf-DEBUG: 01:11:59.841: watch_fast: "/org/gnome/desktop/privacy/" (establishing: 0, active: 0) | |
(gnome-shell:11435): dconf-DEBUG: 01:11:59.841: watch_fast: "/org/gnome/mutter/" (establishing: 0, active: 0) | |
(gnome-shell:11435): dconf-DEBUG: 01:11:59.841: watch_fast: "/org/gnome/mutter/wayland/" (establishing: 0, active: 0) | |
(gnome-shell:11435): dco |
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
libmutter-Message: 23:29:32.635: Running GNOME Shell (using mutter 44.3) as a Wayland display server | |
libmutter-Message: 23:29:33.088: Device '/dev/dri/card0' prefers shadow buffer | |
libmutter-Message: 23:29:33.110: Added device '/dev/dri/card0' (radeon) using non-atomic mode setting. | |
libmutter-Message: 23:29:33.137: Device '/dev/dri/card1' prefers shadow buffer | |
libmutter-Message: 23:29:33.138: Added device '/dev/dri/card1' (radeon) using non-atomic mode setting. | |
libmutter-Message: 23:29:33.147: Created gbm renderer for '/dev/dri/card0' | |
libmutter-Message: 23:29:33.150: Created gbm renderer for '/dev/dri/card1' | |
libmutter-Message: 23:29:33.150: Boot VGA GPU /dev/dri/card0 selected as primary | |
dbus-daemon[2273]: [session uid=32 pid=2273] Activating service name='org.a11y.Bus' requested by ':1.10' (uid=32 pid=2333 comm="/usr/bin/gnome-shell" label="kernel") | |
dbus-daemon[2273]: [session uid=32 pid=2273] Successfully activated service 'org.a11y.Bus' |
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
program chess; | |
label | |
m,n; | |
const | |
wf:array[1..6] of char = ('p','l','k','s','+','*'); | |
bf:array[1..6] of char = ('п','л','к','с','-','#'); | |
dx:array[1..8] of integer = (-2,-1,1,2,2,1,-1,-2); | |
dy:array[1..8] of integer = (-1,-2,-2,-1,1,2,2,1); | |
var | |
ca:array[1..6] of char; |
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
from pymorphy3 import MorphAnalyzer | |
morph = MorphAnalyzer() | |
def parse(item): | |
return [word.word for word in morph.parse(item)[0].lexeme] |
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
new ResizeObserver(debounce(refreshLayout, 10)).observe(markupRef.value.$el) |
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
sudo systemctl restart zerotier-one.service |
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 | |
version=${1:-5.8} | |
ubuntu=${2:-22.04} | |
extracted_folder_name_input=swift-$version-RELEASE-ubuntu$ubuntu | |
extracted_folder_name_output=swift-$version | |
compressed_data_path=${3:-/tmp/$extracted_folder_name_output.tar.gz} | |
installation_path=${4:-/usr/local} |
NewerOlder