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
| set nocompatible | |
| set history=500 | |
| filetype off | |
| set rtp+=~/.vim/bundle/Vundle.vim | |
| call vundle#begin() | |
| Plugin 'VundleVim/Vundle.vim' | |
| Plugin 'scrooloose/nerdtree' |
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
| ;(function (root, factory) { | |
| if (typeof exports === "object") { | |
| // CommonJS | |
| module.exports = exports = factory(); | |
| } | |
| else if (typeof define === "function" && define.amd) { | |
| // AMD | |
| define([], factory); | |
| } | |
| else { |
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
| #!/usr/bin/env bash | |
| set -e -o pipefail | |
| shopt -s extglob | |
| export LC_ALL=C | |
| CONTAINER="" | |
| INTER_GATEWAY="192.168.30.0/24" | |
| INTER_IP_HOST="192.168.30.1/32" | |
| INTER_IP_CONT="192.168.30.2/32" |
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
| #!/usr/bin/env bash | |
| set -x | |
| NS="ns1" | |
| VETH="veth1" | |
| VPEER="vpeer1" | |
| VETH_ADDR="10.200.1.1" | |
| VPEER_ADDR="10.200.1.2" |
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
| // In the future when Rust supports Rust#69268, | |
| // it might be possible to write 100% safe self-referencial structs with the help of generators. | |
| #![feature(generic_associated_types)] | |
| #![allow(incomplete_features)] | |
| use core::marker::{PhantomData, PhantomPinned}; | |
| use core::pin::Pin; | |
| use core::ptr; |
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
| mkdir rootfs | |
| cd rootfs | |
| mkdir old_rootfs | |
| mkdir tmp | |
| mkdir usr | |
| mkdir proc | |
| mkdir root |
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
| (function () { | |
| function fixMobileGithub(document) { | |
| Array.from(document.getElementsByClassName("pr-toolbar")).forEach(toolbar => { | |
| toolbar.classList.remove("js-sticky", "js-position-sticky", "is-stuck"); | |
| toolbar.style.position = "unset"; | |
| toolbar.style.top = ""; | |
| toolbar.style.padding = ""; | |
| }); | |
| Array.from(document.getElementsByClassName("file-header")).forEach(header => { | |
| header.classList.remove("sticky-file-header", "js-position-sticky"); |
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 <stdlib.h> | |
| #include <stdio.h> | |
| #include <unistd.h> | |
| #include <errno.h> | |
| #include <string.h> | |
| #include <cstdint> | |
| #include <sys/types.h> | |
| #include <sys/stat.h> |
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 "llvm/Support/SHA256.h" | |
| #include "llvm/ADT/ArrayRef.h" | |
| #include "llvm/ADT/StringRef.h" | |
| #include "llvm/Support/Endian.h" | |
| #include "llvm/Support/Host.h" | |
| #include <string.h> | |
| namespace llvm { | |
| #define ROTR(x,n) (((x) >> n) | ((x) << (32 - (n)))) |
OlderNewer