Skip to content

Instantly share code, notes, and snippets.

Avatar

Eric Dattore ELD

View GitHub Profile
@ELD
ELD / ksp_mods.md
Last active Aug 29, 2015
ELD's Space Program Mod List
View ksp_mods.md

KSP Mod List

No links, yet, but they will be added in the future

  • Adjustable Landing Gear
  • Animate Emissive Module
  • Animated Decouplers
  • Atmospheric Sound Enhancement
  • BahamutoD Animation Modules
  • Chatterer
  • Collision FX
  • Community Resource Pack
View Recursive Data Filter.php
<?php
/**
* This function recursively searches the JSON API and picks out the
* specified items based on the parameters passed into the function
*
* @param array $data
* @param string $needle
* @param string $catNeedle
* @return array
View Boost_VM_Files.cpp
std::vector<std::string> getVmFiles(const boost::filesystem::path& dirToSearch)
{
std::vector<std::string> files;
for (const auto& file : boost::make_iterator_range(boost::filesystem::recursive_directory_iterator{dirToSearch}, {})) {
std::regex vmFile{R"((?:.*).vm)"};
if (boost::filesystem::is_regular_file(file) && std::regex_search(file.path().string().begin(), file.path().string().end(), vmFile)) {
files.emplace_back(file.path().string());
}
}
View keybase.md

Keybase proof

I hereby claim:

  • I am eld on github.
  • I am edattore (https://keybase.io/edattore) on keybase.
  • I have a public key whose fingerprint is 587B AB64 E1DA 9102 2A70 4EF6 612B BD5F DD72 163B

To claim this, I am signing this object:

@ELD
ELD / laravel-dusk-on-laradock.md
Created Jul 9, 2017
A short guide on how to get Laravel Dusk working on Laradock. This will hopefully make it into the Laradock official docs sometime down the line.
View laravel-dusk-on-laradock.md

Getting Laravel Dusk working on Laradock

System Setup

Laradock Setup

@ELD
ELD / playground.rs
Last active Mar 1, 2018 — forked from anonymous/playground.rs
Rust code shared from the playground
View playground.rs
// NOTE: THIS DOES NOT COMPILE
//
// Just a proof of concept of the code I have written and how I'd like to be
// able to use it.
pub extern crate r2d2;
#[cfg(feature = "diesel_sqlite")]
pub extern crate diesel;
You can’t perform that action at this time.