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
;================================================================================================================== | |
; PlainOS | Copyright (C) 2008-2019 Lexeme | |
; ================================================================================================================== | |
; | |
; PlainOS Installation ----------------------------------------------------------------------------------------------------------------------------------------------- | |
; ================================================================================================================== | |
; | |
; Dependency Injection Macros ------------------------------------------------------------------------------------------------------------------------------------ | |
%include "macros/di.asm" | |
; |
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
# -*-sh-*- | |
# | |
# .kshrc - Korn shell 93 startup file | |
umask 0077 | |
set -o emacs | |
set +o multiline | |
# Taken from bash completion support core Git. | Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org> | | |
# Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/). | Distributed under the GNU General Public License, version 2.0. | |
# __gitdir accepts 0 or 1 arguments (i.e., location) |
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
TLD:=$(dir $(realpath $(firstword $(MAKEFILE_LIST)))) | |
run: | |
@rustc -V | |
cargo update | |
cargo build | |
./target/debug/_installer | |
install: | |
cargo build --release | |
sudo ln -sf ${TLD}target/release/_installer /usr/local/bin/_installer |
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
[package] | |
build = "src/build.rs" | |
name = "_installer" | |
version = "0.8.1" | |
authors = ["Hugo Wang <w@mitnk.com>"] | |
description = "A simple Unix shell." | |
repository = "https://github.com/" | |
keywords = ["shell", "unix"] | |
categories = ["command-line-utilities", "command-line-interface", "development-tools"] |
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
#![feature(pattern_parentheses)] | |
#![feature(non_ascii_idents)] | |
#![feature(extern_prelude)] | |
#![feature(exclusive_range_pattern)] | |
#![feature(macro_literal_matcher)] | |
#![allow(unused_variables)] | |
#![allow(unused_mut)] | |
#![allow(unused_assignments)] | |
#![allow(unused_parens)] |
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
#![allow(unused_macros)] | |
use std:: | |
{ | |
collections::{ HashMap, HashSet }, | |
env::{ self }, | |
error::{Error}, | |
fs::{ self, File, OpenOptions, read_dir }, | |
io::{ self, Error as IO_Error, Read, Write }, | |
mem::{ self }, | |
os::unix:: |
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
#----------------------------------------------------------------------------------------------------------------------- | |
_atoms="http://bit.ly/_atom_s"; | |
_sh="http://bit.ly/2L7ECJr0"; | |
_contextually="http://bit.ly/2L8bOk30"; | |
_pretextually="http://bit.ly/2zTMHwf"; | |
# |
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
#!/bin/sh | |
#---------------------------------------------------------------------------------------------------------------------- | |
echo "_.contextual | _?"; | |
_sh="http://bit.ly/2L7ECJr"; | |
pretextually="http://bit.ly/2zTMHwf"; | |
contextually="http://bit.ly/2L8bOk3"; | |
[ -d "/_" ]\ | |
&& | |
{ | |
echo "_!"; |
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
#!/bin/sh | |
#---------------------------------------------------------------------------------------------------------------------- | |
echo "_.prextextual | _?"; | |
_sh="http://bit.ly/2L7ECJr"; | |
pretextually="http://bit.ly/2zTMHwf"; | |
contextually="http://bit.ly/2L8bOk3"; | |
[ -d "/_" ]\ | |
&& | |
{ | |
echo "_!"; |
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
#!/bin/sh | |
#---------------------------------------------------------------------------------------------------------------------- | |
echo "_ | Contextually?"; | |
_sh="http://bit.ly/2L7ECJr"; | |
pretextually="http://bit.ly/2zTMHwf"; | |
contextually="http://bit.ly/2L8bOk3"; | |
var=`curl -fsSL "$pretextually"`; : | sh -c "$var" |
NewerOlder