Skip to content

Instantly share code, notes, and snippets.

View HopperMCS's full-sized avatar

G. F. Hopper HopperMCS

View GitHub Profile
/*
* The second revision to polish up the code a bit more.
* (c) 2015 MGage Morgan
*/
import Foundation
public class bmi {
public static func pounds(weight: Double, height: Double) {
let Height = height * height
let thirds = weight / Height
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
set_term_title(){
echo -en "\033]0;$1\a"
}
set_term_title "CHRISTOFFEN CORPORATION (TM) Termlink"
bash ./.welcome "Welcome to CHRISTOFFEN CORPORATION (TM) Termlink"
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
echo "Welcome to CHRISTOFFEN CORPORATION TeamLink"
#!/bin/bash
clear
while :
do
clear
scriptreplay timing.out script.out
clear
scriptreplay timing1.out script1.out
clear
sleep 1
arg=${@}
for (( i=0; i < ${#arg}; i+=1 )) ; do
echo -n "${arg:$i:1}"
sleep 0.05
done
echo
@HopperMCS
HopperMCS / main.c
Last active December 18, 2015 22:26
./lgm >> logs.txt
#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
int
main (int argc, char *argv[])
{
printf("The Christoffen Corporation Logo Generator\n");
@HopperMCS
HopperMCS / testingops.c
Last active December 19, 2015 03:15
export $user="elijah"
#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
int
main (int argc, char *argv[])
{
printf("The Christoffen Corporation Logo Generator\n");
@HopperMCS
HopperMCS / timing.out
Created December 27, 2015 02:51
timing.out for use on Pi
0.606945 1
0.054686 1
0.052334 1
0.052482 1
0.052559 1
0.052398 1
0.052556 1
0.052465 1
0.052295 1
0.052429 1
@HopperMCS
HopperMCS / script.out
Created December 27, 2015 02:53
script.out for Pi
Script started on Tue 15 Dec 2015 04:39:21 PM EST
Welcome to CHRISTOFFEN CORPORATION (TM) Termlink
> sudo apt-get update
[sudo] password for mgage:
0% [Working]
Hit http://us.archive.ubuntu.com wily InRelease
@HopperMCS
HopperMCS / timing1.out
Created December 27, 2015 02:54
timing1.out for the Pi
0.706714 1
0.052183 1
0.052155 1
0.051977 1
0.052146 1
0.052195 1
0.052225 1
0.052250 1
0.052463 1
0.052457 1