gist.sfrt.fun
Open in
urlscan Pro
172.67.131.46
Public Scan
Submitted URL: https://gist.sfrt.fun/
Effective URL: https://gist.sfrt.fun/starred
Submission: On July 21 via api from US — Scanned from DE
Effective URL: https://gist.sfrt.fun/starred
Submission: On July 21 via api from US — Scanned from DE
Form analysis
1 forms found in the DOMGET /search
<form class="position-relative js-quicksearch-form" role="search" aria-label="Site" data-turbo="false" action="/search" accept-charset="UTF-8" method="get">
<div class="header-search-wrapper form-control input-sm js-chromeless-input-container">
<input type="text" class="form-control input-sm js-site-search-focus header-search-input" data-hotkey="s,/" name="q" aria-label="Search" placeholder="Search…" autocorrect="off" autocomplete="off" autocapitalize="off">
</div>
</form>
Text Content
Skip to content All gists Back to GitHub Sign in Sign up Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} Instantly share code, notes, and snippets. DISCOVER GISTS * * All gists * Forked * Starred * 1 file * 2 forks * 9 comments * 33 stars tiagoengel / noise-cancellation.sh Last active July 21, 2024 03:23 Hiss / White / Static noise cancellation on Linux using Pulseaudio and Sox 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 Show hidden characters #!/bin/bash # You'll need to have sox, pavucontrol and alsa-utils installed, and the snd_aloop kernel module loaded. # You can configure your system to load it on startup or load it manually with "sudo modprobe snd_aloop" # Once this is script is running, you need to start recording audio in the application of your # preference, open pavucontrol, go to the recording tab and change the recording source of that application # to "Monitor of Loopback ..." time=5 * 1 file * 16 forks * 0 comments * 34 stars Mishco / content.md Last active July 21, 2024 03:23 Setup HashiCorp Vault on docker SETUP HASHICORP VAULT ON DOCKER Vault secures, stores, and tightly controls access to tokens, passwords, certificates, API keys, and other secrets in modern computing. Vault is primarily used in production environments to manage secrets. Vault is a complex system that has many different pieces. There is a clear separation of components that are inside or outside of the security barrier. Only the storage backend and the HTTP API are outside, all other components are inside the barrier. Figure 1: Architecture of Vault and Spring App (Click to enlarge) The storage backend is untrusted and is used to durably store encrypted data. When the Vault server is started, it must be provided with a storage backend so that data is available across restarts. The HTTP API similarly must be started by the Vault server on start so that clients can interact with it. * 1 file * 11 forks * 12 comments * 129 stars nickcernis / readme.md Last active July 21, 2024 03:21 Exclude node_modules and .git from Backblaze backups on Mac EXCLUDE NODE_MODULES AND .GIT FROM BACKBLAZE BACKUPS ON MAC 1. Edit the file at /Library/Backblaze.bzpkg/bzdata/bzexcluderules_editable.xml. 2. Add these rules inside the bzexclusions tag: <!-- Exclude node_modules. --> <excludefname_rule plat="mac" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/node_modules/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" /> <excludefname_rule plat="mac" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/.git/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" /> * 7 files * 0 forks * 1 comment * 8 stars myd7349 / How-to-use-PyStand.md Last active July 21, 2024 03:15 每个 Python 程序员可能都会遇到这样的场景:你写了一个 Python 程序,可能是一个简单的、包含单个文件的 、只使用了标准库的 Python 脚本,抑或是一个庞大的、包含多个模块的、甚至引用了大量的第三方库的复杂 Python 应用,如何将他们送到目标用户手中,让他们能很顺利地使用起来呢? 一种方案就是写一个详尽的文档,连带着你的程序一起发送给用户。文档中要说明,目标用户如何在自己机器上安装 Python 环境及依赖的包,如何对程序进行配置,等等。但倘若你的目标用户没用过 Python 甚至不懂编程,此种方案执行起来便困难重重。 另一种方案,就是将 Python 程序“打包”成可执行程序(.exe),只要目标用户具备基本的电脑操作技能,便能很容易地将程序运行起来。 在 Windows 平台上,将 Python 程序“打包”为可执行程序(.exe)的方案很多,我尝试过的方案有如下几种: * cx_Freeze * py2exe * 1 file * 0 forks * 0 comments * 3 stars baruchel / compile_heirloom_doctools.md Last active July 21, 2024 03:13 Quickly compiling Heirloom Doctools Each time I re-install a fresh Linux distribution, one of the first things I need to do is to compile the Heirloom Documentation Tools. However some adjustments have to be performed; I write them here in order to recall them later: * download the sources from http://heirloom.sourceforge.net/doctools.html * type: sudo apt-get install g++ libc-dev bison flex * uncompress the tarball * enter the heirloom-doctools directory * edit mk.config and change three lines: * replace INSTALL=/usr/ucb/install with INSTALL=/usr/bin/install * replace PREFIX=/usr with PREFIX=/opt/heirloom * 1 file * 2 forks * 0 comments * 27 stars garyo / DaVinci Resolve Scripting Doc.md Created November 20, 2019 15:33 Welcome file DAVINCI RESOLVE SCRIPTING DOCUMENTATION Updated as of 08 March 2019 -------------------------------------------------------------------------------- In this package, you will find a brief introduction to the Scripting API for DaVinci Resolve Studio. Apart from this README.txt file, this package contains folders containing the basic import modules for scripting access (DaVinciResolve.py) and some representative examples. OVERVIEW As with Blackmagic Design Fusion scripts, user scripts written in Lua and Python programming languages are supported. By default, scripts can be invoked from the Console window in the Fusion page, or via command line. This permission can be changed in Resolve Preferences, to be only from Console, or to be invoked from the local network. Please be aware of the security implications when allowing scripting access from outside of the Resolve application. * 1 file * 60 forks * 22 comments * 346 stars davidteren / nerd_fonts.md Last active July 21, 2024 03:11 Install Nerd Fonts via Homebrew [updated & fixed] NERD FONTS FOR YOUR IDE https://www.nerdfonts.com/font-downloads The following solution thanks to @hackerzgz & @snacky101 will install all nerd fonts; brew tap homebrew/cask-fonts brew search '/font-.*-nerd-font/' | awk '{ print $1 }' | xargs -I{} brew install --cask {} || true * 1 file * 33 forks * 29 comments * 142 stars rebane2001 / discord-colored-text-generator.html Last active July 21, 2024 03:07 https://rebane2001.com/discord-colored-text-generator/ 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 Show hidden characters <!DOCTYPE html> <html lang="en"> <head> <link rel="icon" type="image/x-icon" href="/favicon.ico"> <title>Rebane's Discord Colored Text Generator</title> <meta charset="UTF-8"> <meta name="description" content="Rebane's Discord Colored Text Generator"> <meta name="author" content="rebane2001"> <style> /* * 2 files * 0 forks * 5 comments * 11 stars palashmon / Prettify.ts Created May 13, 2023 16:11 A super useful type helper in TypeScript by Matt Pocock from Twitter 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 Show hidden characters /** * A TypeScript type alias called `Prettify`. * It takes a type as its argument and returns a new type that has the same properties as the original type, * but the properties are not intersected. This means that the new type is easier to read and understand. */ type Prettify<T> = { [K in keyof T]: T[K]; } & {}; * 1 file * 2 forks * 0 comments * 6 stars StuartGordonReid / LinearComplexity.py Last active July 21, 2024 03:00 Python implementation of the linear complexity cryptographic test for randomness. This includes the Berklekamp Massey algorithm. 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 Show hidden characters def linear_complexity(self, bin_data, block_size=500): """ Note that this description is taken from the NIST documentation [1] [1] http://csrc.nist.gov/publications/nistpubs/800-22-rev1a/SP800-22rev1a.pdf The focus of this test is the length of a linear feedback shift register (LFSR). The purpose of this test is to determine whether or not the sequence is complex enough to be considered random. Random sequences are characterized by longer LFSRs. An LFSR that is too short implies non-randomness. :param bin_data: a binary string NewerOlder FOOTER © 2024 GitHub, Inc. FOOTER NAVIGATION * Terms * Privacy * Security * Status * Docs * Contact * Manage cookies * Do not share my personal information You can’t perform that action at this time.