Skip to content

Instantly share code, notes, and snippets.

View Artnoc1's full-sized avatar
💭
I may be slow to respond.

Alex Artnoc1

💭
I may be slow to respond.
View GitHub Profile
@Artnoc1
Artnoc1 / Makefile
Last active February 1, 2021 23:14
#############################################################################
# Generic Makefile Template for C/C++ Projects
# License: GPL (General Public License)
# Note: GPL only applies to this file; you can use this Makefile in non-GPL projects.
# Author: Pear <service AT pear DOT hk>
# Date: 2016/04/26 (version 0.7)
# Author: kevin1078 <kevin1078 AT 126 DOT com>
# Date: 2012/04/24 (version 0.6)
# Author: whyglinux <whyglinux AT gmail DOT com>
# Date: 2008/04/05 (version 0.5)
@Artnoc1
Artnoc1 / GENDOCS.sh
Last active October 5, 2022 23:19
GENDOCS.SH
#!/bin/sh -e
# gendocs.sh -- generate a GNU manual in many formats. This script is
# mentioned in maintain.texi. See the help message below for usage details.
# scriptversion=2020-01-01.00
# https://git.savannah.gnu.org/cgit/gnulib.git/tree/build-aux/gendocs.sh
# https://git.savannah.gnu.org/cgit/gnulib.git/tree/doc/gendocs_template
# TODO:
# - image importing was only implemented for HTML generated by
# makeinfo. But it should be simple enough to adjust.
@Artnoc1
Artnoc1 / awesome_README.md
Last active June 3, 2023 08:28
AWESOME_SHELL
* `a2p` - конвертировать awk скрипт в программу на perl;
* `ac` - вывести статистику по времени работы пользователя в системе;
* `addgroup` - добавить новую группу в систему;
* `adduser` - добавить нового пользователя;
* `agrep` - версия утилиты grep, которая может обрабатывать усредненные паттерны;
* `alias` - создание псевдонимов для команды консоли linux;
* `apropos` - поиск по ключевому слову или регулярному выражению в страницах справки man;
* `apt` - поиск, установка и удаление программ в Ubuntu;
* `aptitude` - текстовая оболочка для apt, позволяет управлять программным обеспечением, используется по умолчанию в Debian;
* `ar` - утилита для создания, модификации и извлечения файлов из архивов ar;
@Artnoc1
Artnoc1 / .REGEXP.md
Last active February 3, 2022 23:33 — forked from octaviusg/Regextutorial.md
Regex Tutorial

REG.EXP


#Replacement
$n nth non-pa-ssive group
$2 "-xyz-" in /^(abc-(xy-z))$/
$1 "-xyz-" in /^(?:a-bc)-(xyz)$/
$` Before matched string
$' After matched string

@Artnoc1
Artnoc1 / FRONTEND.DEVELOPMENT.BOOKMARKS
Last active September 29, 2021 13:32 — forked from dypsilon/frontendDevlopmentBookmarks.md
A badass list of frontend development resources I collected over time.
# Frontend Development
**Attention**: the list was moved to
[https://github.com/dypsilon/frontend-dev-bookmarks](https://github.com/dypsilon/frontend-dev-bookmarks)
This page is not maintained anymore, please update your bookmarks.
-------------------------------------------------------
#
# This file is part of the OrangeFox Recovery Project
# Copyright (C) 2019-2020 The OrangeFox Recovery Project
#
# OrangeFox is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# any later version.
#
# OrangeFox is distributed in the hope that it will be useful,
@Artnoc1
Artnoc1 / MD.md
Last active February 26, 2022 17:03

Markdown Reference

Automatically generate table of contents by checking the option here: Settings > Format > Markdown.

H2 Header

H3 header

H4 Header

H5 Header
H6 Header
@Artnoc1
Artnoc1 / Fd.md
Last active November 24, 2020 20:06

fd 8.1.1

===

USAGE:

fd [FLAGS/OPTIONS] [<pattern>] [<path>...]

FLAGS:

-H, --hidden Search hidden files and directories
-I, --no-ignore Do not respect .(git|fd)ignore files

################################################

Xposed framework installer zip.

This script installs the Xposed framework

files to the system partition.

The Xposed Installer app is needed as well to

manage the installed modules.

################################################

grep_prop() { REGEX = "s/^$1=//p"