Skip to content

Instantly share code, notes, and snippets.

View giraffesyo's full-sized avatar
☁️
Building world class software and infrastructure to democratize HPC

Michael McQuade giraffesyo

☁️
Building world class software and infrastructure to democratize HPC
View GitHub Profile
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNKKNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMN0xodONMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWKkooood0WMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWXOdolooookNMWWWMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNK0OxdolllllloOKOkx0WMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Internet : MonoBehaviour
{
static private string baseURL = "http://localhost:3000/";
static private string getallpath = baseURL + "/getall";
static private string adduserpath = baseURL + "/adduser";
# Use nano
export EDITOR=nano
# Bash autocompletion
[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion
# macOS Colors
export CLICOLOR=1
# Useful aliases
clear *; close all; clc;
x = [2,3,2,3]';
y = [4, 6, 6, 8]';
plot(x,y, '*'), hold on;
axis([0,4,0,10]);
sx = sum(x);
sy = sum(y);

Keybase proof

I hereby claim:

  • I am giraffesyo on github.
  • I am giraffesyo (https://keybase.io/giraffesyo) on keybase.
  • I have a public key ASBW9bNIzvet_kcK5dVe0QsKPQlSLGnBoAYSgpmiXOGoYwo

To claim this, I am signing this object:

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
//q = b/a
division(int a, int b)
{
q = 0; //quotient
r = b; //remainder
bit = 1;
while ( a < r)
{
a = a << 1;
//http://lear.cs.okstate.edu/robot_sim.html
import java.io.IOException;
import java.io.PrintWriter;
import java.net.Socket;
import java.util.Scanner;
public class Robot {
private static final String serverIP = "lear.cs.okstate.edu";
private static final int serverPort = 9095;
@giraffesyo
giraffesyo / evenFibonacciSum.cpp
Created October 25, 2015 05:16
By considering the terms in the Fibonacci sequence whose values do not exceed four million, find the sum of the even - valued terms.
/*
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be:
1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ...
*/
#include <iostream>
using namespace std;