A data structure is a group of data organized in the computer's memory by certain specific rules defining predictable relationships between the data. Arrays, hashes and relational databases are all examples of data structures.
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
throw new Error("The sky is falling!"); |
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
#ifndef SLURP_H | |
#define SLURP_H | |
class Slurp { | |
void *begin_{ nullptr }; | |
void *end_; | |
public: | |
Slurp() = delete; | |
Slurp(const Slurp &) = delete; | |
Slurp &operator=(Slurp) = delete; |
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/python | |
# | |
# Version 2 | |
# 9 July 2013 | |
# | |
# Modified to use xml format output from timegenie instead of text file | |
# | |
# Version 3 | |
# 7 March 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
░▒▓▓▓▒░ | |
░░▒▓▓▓▓▓▓▓▓▓▓▓▒░░ | |
░▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒░ | |
░▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒░ | |
░▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ | |
░▓▓▓▓▓▓▓▓▓▓▓▓░░░░▓░░░░▓▓▓▓▓▓▓▓▓▓▓▓░ dd | |
░▓▓▓▓▓▓▓▓▒░░░▓▓▓▓▓▓▓▓▓░░░▒▓▓▓▓▓▓▓▓░ 88 | |
░▓▓▓▓▓░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ 8b,dPPYba, MM88MMM ,adPPYba, | |
░▓▓░░░▒▒▒▒▒▒░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ 88P' "8a 88 a8" "" | |
░░▒▒▒▒▒▒▒▒▒▒▒▒▒░░░▓▓▓▓▓▓▓▓▓▓▓▓▓░░ 88 d8 88 8b |
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/python | |
# | |
# Version 2 | |
# 9 July 2013 | |
# | |
# Modified to use xml format output from timegenie instead of text file | |
# | |
# Version 3 | |
# 7 March 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
/* https://wandbox.org/permlink/69aE7gIqBcWonJB0 */ | |
constexpr auto operator""_times(unsigned long long i) noexcept | |
{ | |
return [i](auto &&f) { | |
for (auto n{i}; --n; f()); | |
return f(); | |
}; | |
} |
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 <algorithm> | |
#include <array> | |
#include <chrono> | |
#include <cstddef> | |
#include <cstdint> | |
#include <iostream> | |
#include <iterator> | |
#include <random> | |
#if !defined(__GNUC__) && !defined(__attribute__) |
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
$ brew doctor | |
Your system is ready to brew. | |
$ brew config | |
HOMEBREW_VERSION: 1.6.1-18-g714bf51 | |
ORIGIN: https://github.com/Homebrew/brew.git | |
HEAD: 714bf51524eb9c56b189d0d4f5a7a1cfe8b9d6d3 | |
Last commit: 11 hours ago |