Boot up with an Fedora Live USB stick.
- Run
vgsto check if there's any space:
$ sudo vgs
VG #PV #LV #SN Attr VSize VFree
fedora 1 3 0 wz--n- <237.28g 0 | pragma solidity ^0.4.19; | |
| /** | |
| * @title NonFungibleTokenLib | |
| * @author Ghilia Weldesselasie | |
| * SHAMELESS SELF-PLUG: https://github.com/ERC-ME/Whitepaper | |
| * | |
| * version 1.2.1 | |
| * Copyright (c) 2018 Ghilia Weldesselasie | |
| * The MIT License (MIT) |
| /*** | |
| * Shoutouts: | |
| * | |
| * Bytecode origin https://www.reddit.com/r/ethereum/comments/6ic49q/any_assembly_programmers_willing_to_write_a/dj5ceuw/ | |
| * Modified version of Vitalik's https://www.reddit.com/r/ethereum/comments/6c1jui/delegatecall_forwarders_how_to_save_5098_on/ | |
| * Credits to Jorge Izquierdo (@izqui) for coming up with this design here: https://gist.github.com/izqui/7f904443e6d19c1ab52ec7f5ad46b3a8 | |
| * Credits to Stefan George (@Georgi87) for inspiration for many of the improvements from Gnosis Safe: https://github.com/gnosis/gnosis-safe-contracts | |
| * | |
| * This version has many improvements over the original @izqui's library like using REVERT instead of THROWing on failed calls. | |
| * It also implements the awesome design pattern for initializing code as seen in Gnosis Safe Factory: https://github.com/gnosis/gnosis-safe-contracts/blob/master/contracts/ProxyFactory.sol |
| #+BEGIN_SRC emacs-lisp :results output silent :exports none | |
| (setq | |
| org-latex-minted-options '(("breaklines" "true")) | |
| org-latex-listings 'minted | |
| org-latex-packages-alist '(("" "minted" "parskip" "hypersetup")) | |
| org-latex-to-pdf-process | |
| '("pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f" | |
| "pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f" | |
| "pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f") | |
| org-latex-pdf-process org-latex-to-pdf-process) |
| #!/usr/bin/env bash | |
| # TODO: Look at nixpkgs/pkgs/build-support/setup-hooks/auto-patchelf.sh | |
| # https://ms-vsliveshare.gallery.vsassets.io/_apis/public/gallery/publisher/MS-vsliveshare/extension/vsliveshare/0.3.423/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage | |
| set -eu | |
| TOOLS="patchelf xsel" | |
| DEPS="utillinux.out openssl.out icu zlib curl.out lttng-ust libsecret libkrb5" |
| # Baseed on previous attempts of others: https://github.com/NixOS/nixpkgs/issues/41189 | |
| { lib, vscode-utils, autoPatchelfHook, bash, file, makeWrapper, dotnet-sdk | |
| , curl, gcc, icu, libkrb5, libsecret, libunwind, libX11, lttng-ust, openssl, utillinux, zlib | |
| , enableDiagnosticsWorkaround ? false, gccStdenv | |
| }: | |
| with lib; | |
| let | |
| # https://docs.microsoft.com/en-us/visualstudio/liveshare/reference/linux#install-prerequisites-manually |