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
+ verbose=on | |
+ shift | |
+ [[ -n '' ]] | |
+ get_distro | |
+ get_bold | |
+ case "$ascii_bold" in | |
+ case "$bold" in | |
+ get_distro_colors | |
+ case "$ascii_distro" in | |
+ set_colors 2 1 |
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
+ verbose=on | |
+ shift | |
+ [[ -n '' ]] | |
+ get_distro | |
+ get_bold | |
+ case "$ascii_bold" in | |
+ ascii_bold='\033[1m' | |
+ case "$bold" in | |
+ bold='\033[1m' | |
+ get_distro_colors |
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
// List.c | |
// Callum Howard, 2017 | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include "List.h" | |
typedef struct _node *NodePointer; | |
typedef struct _node { |
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
/* | |
* This sample illustrates how to get audio data from an input device, such as a microphone, | |
* with audio::InputDeviceNode. It then visualizes the input in the frequency domain. The frequency | |
* spectrum analysis is accomplished with an audio::MonitorSpectralNode. | |
* | |
* The plot is similar to a typical spectrogram, where the x-axis represents the linear | |
* frequency bins (0 - samplerate / 2) and the y-axis is the magnitude of the frequency | |
* bin in normalized decibels (0 - 100). | |
* | |
* author: Richard Eakin (2014) |
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
// allEven.c | |
// Callum Howard, 2017 | |
#include <stdbool.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
// function prototypes | |
bool allEven(int numbers[], int left, int right); | |
bool isEven(int input); |
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 <assert.h> | |
#include <stdbool.h> | |
#include <stdlib.h> | |
#include "Graph.h" | |
bool isAdjacentEdge(Edge a, Edge b); | |
bool isPath(Edge path[], int pathSize); | |
bool hasDuplicates(Edge edges[], int numEdges); | |
bool sameEdge(Edge a, Edge b); |
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
// mergeSort.c | |
// Based on Sedgwick's code | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <assert.h> | |
typedef int Item; | |
// prototypes |
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
xcodebuild -configuration Release | |
=== BUILD TARGET XVim2 OF PROJECT XVim2 WITH CONFIGURATION Release === | |
Check dependencies | |
PhaseScriptExecution Write\ git\ revision build/XVim2.build/Release/XVim2.build/Script-ED1286541F90B268007B6FC7.sh | |
cd /Users/callumhoward/git/XVim2 | |
export ACTION=build | |
export ALTERNATE_GROUP=staff | |
export ALTERNATE_MODE=u+w,go-w,a+rX |
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
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang=""> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Transparency Test</title> | |
<style> | |
div { | |
height: 100px; |
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
// for.cpp | |
// Callum Howard, 2018 | |
#include <iostream> | |
#include <vector> | |
class F { | |
public: | |
F() : mItems{3, 1, 4, 1, 5, 9, 2} {} |