Developers/projects that have proven, by past actions in their repositories, to be untrustworthy
This file contains hidden or 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
| # As a condition of accessing this website, you agree to abide by the following | |
| # content signals: | |
| # (a) If a content-signal = yes, you may collect content for the corresponding | |
| # use. | |
| # (b) If a content-signal = no, you may not collect content for the | |
| # corresponding use. | |
| # (c) If the website operator does not include a content signal for a | |
| # corresponding use, the website operator neither grants nor restricts | |
| # permission via content signal with respect to the corresponding use. |
This file contains hidden or 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
| * text=auto eol=lf | |
| *.blade.php diff=html | |
| *.css diff=css | |
| *.html diff=html | |
| *.md diff=markdown | |
| *.php diff=php | |
| # Path-based git attributes | |
| # https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html |
This file contains hidden or 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 |
This file contains hidden or 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 | |
| ## Git | |
| alias git-add="git add ." | |
| alias git-commit="git commit -a -m" | |
| alias git-push="git push origin master" | |
| alias git-pull="git pull origin master" | |
| alias git-s="git status" | |
| alias git-d="git diff" |
This file contains hidden or 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
| <?php | |
| namespace App\Http\Controllers\Web; | |
| use App\Http\Controllers\Controller; | |
| use Illuminate\Support\Facades\Blade; | |
| use Illuminate\Support\Str; | |
| use Spatie\RouteAttributes\Attributes\Fallback; | |
| use Spatie\RouteAttributes\Attributes\Get; | |
| use Spatie\RouteAttributes\Attributes\Where; |
This file contains hidden or 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
| #include <memory> | |
| template <class T, class Deleter = std::default_delete<T>> | |
| class owning_ptr { | |
| private: | |
| T* ptr; | |
| Deleter deleter; | |
| explicit owning_ptr(T* rawPtr, Deleter d = {}) : ptr{rawPtr}, deleter{d} {} | |
This file contains hidden or 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
| # Fixing weird encoding issues from foreign files | |
| ffmpeg -i ./video.mp4 -acodec copy -vcodec copy ./video.fixed.mp4 | |
| # Remove audio | |
| ffmpeg -i ./render.mp4 -an -vcodec copy ./render.opti.mp4 | |
| # Good enough compression, exact same audio | |
| ffmpeg -i ./render.mp4 -acodec copy -vcodec libx264 -crf 20 ./render.opti.mp4 | |
| # Transcode to NVENC (HEVC flavor). Good enough compression, exact same audio |
This file contains hidden or 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
| -- Install packer | |
| local install_path = vim.fn.stdpath 'data' .. '/site/pack/packer/start/packer.nvim' | |
| local is_bootstrap = false | |
| if vim.fn.empty(vim.fn.glob(install_path)) > 0 then | |
| is_bootstrap = true | |
| vim.fn.system { 'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path } | |
| vim.cmd [[packadd packer.nvim]] | |
| end | |
| require('packer').startup(function(use) |
This file contains hidden or 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
| /** | |
| * Quite the hack-ish mixin, allows to have reactive computed properties that | |
| * depend on data from `$refs` despite not being reactive itself | |
| */ | |
| export const reactiveRefsHackMixin = { | |
| data() { | |
| return { | |
| /** | |
| * Flag used to trigger computation of reactive data (do not edit manually) | |
| * @private |
NewerOlder