Skip to content

Instantly share code, notes, and snippets.

@abcwalk
abcwalk / emacs
Last active October 25, 2024 09:10 — forked from BuddhiLW/emacs
Emacs source install with native compilation (up to 10x speedup)
#!/usr/bin/bash
## Change this to where you want to build fetch and build emacs at.
cd $DOTFILES/gitthings/
git clone https://github.com/emacs-mirror/emacs.git
sudo apt-get update
# add-apt-repository ppa:ubuntu-toolchain-r/ppa
@abcwalk
abcwalk / installing-emacs-from-source-on-debian.txt
Created October 24, 2024 06:25 — forked from zoliky/installing-emacs-from-source-on-debian.txt
Installing Emacs 29.1 from source on Debian 12
Installation
------------
1. Install the build dependencies for Emacs:
$ sudo apt build-dep emacs
$ sudo apt install libtree-sitter-dev
2. Download and unpack the Emacs archive:
@abcwalk
abcwalk / Different_style_guide_python.md
Created October 20, 2024 16:17 — forked from nipunsadvilkar/Different_style_guide_python.md
What is the standard Python docstring format?

Formats

Python docstrings can be written following several formats as the other posts showed. However the default Sphinx docstring format was not mentioned and is based on reStructuredText (reST). You can get some information about the main formats in that tuto.

Note that the reST is recommended by the PEP 287

There follows the main used formats for docstrings.

- Epytext

@abcwalk
abcwalk / postman_installation.md
Created September 17, 2024 19:41 — forked from Akhil-Suresh/postman_installation.md
Installing Postman on Ubuntu/Debian

Installing Postman

Step 1

If any version of postman is installed we need to remove it

sudo rm -rf /opt/Postman

Step 2

@abcwalk
abcwalk / install_postman_mint_no_snap.md
Created February 5, 2024 21:49 — forked from prrao87/install_postman_mint_no_snap.md
Install Postman on Linux Mint (without using snap)

Goal

Postman is a usefull app to build and test APIs, most commonly installed on ubuntu-like systems via snap. On recent distributions of Linux Mint (20 and above), snap installs are no longer possible. The instructions below show how to install Postman via the terminal.

Download Postman

$ wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz

Extract archive

$ sudo tar -xzf postman.tar.gz -C /opt

Make symlink

@abcwalk
abcwalk / index.js
Created January 25, 2024 09:16 — forked from boro32/index.js
Get list of all users in Telegram channel / supergroup
/*
* MIT License
*
* Copyright (c) 2017 Bannerets <[email protected]>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
@abcwalk
abcwalk / get_participants.go
Last active January 25, 2024 08:59
Get Telegram Bot user/participants/subscribers id
// Binary bot-auth-manual implements example of custom session storage and
// manually setting up client options without environment variables.
package main
import (
"context"
"flag"
"fmt"
"github.com/gotd/td/telegram/message/peer"
"github.com/gotd/td/telegram/query/channels/participants"
@abcwalk
abcwalk / get_members_info.py
Last active January 24, 2024 18:56 — forked from rokibhasansagar/tg_group_cleaner.py
Получить информацию по пользователям в телеграм
from telethon import TelegramClient
import asyncio
api_id = # Your API_ID
api_hash = "" # Your APP_ID
bot_token = "" # via botfather
group_id =
async def get_users(client, group_id):
@abcwalk
abcwalk / .spacemancs
Created November 9, 2023 10:05 — forked from metamorph/.spacemancs
Spacemacs - disable flyspell by default
;; Remove fly-spell for markdown and text-files.
(remove-hook 'text-mode-hook 'enable-flyspell-mode)
(remove-hook 'markdown-mode-hook 'enable-flyspell-mode)
@abcwalk
abcwalk / q&a.org
Last active August 26, 2024 12:56
Q&A

Вопросы на собеседованиях для QA Engineer

Теория тестирования

  • Что такое требования?

    Спецификация (specification): Документ, описывающий (в идеале - исчерпывающе, однозначно и доступно) требования, дизайн, поведение или иные характеристики компонента или системы. Зачастую в спецификацию включаются процедуры контроля исполнения. (ISTQB)