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
| # use Debug or Release | |
| : ${BUILD_TYPE:=Debug} | |
| : ${CMAKE_MAKE:=""} | |
| : ${MAKE:="make -j4"} | |
| # use this for ninja instead of make | |
| #: ${CMAKE_MAKE:="-G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DLLVM_PARALLEL_COMPILE_JOBS=4 -DLLVM_PARALLEL_LINK_JOBS=1"} | |
| #: ${MAKE:="ninja"} |
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
| #allow reload of this file with PRE r | |
| bind r source-file ~/.tmux.conf \; display "Reloaded." | |
| # switch prefix to control-a, unmap b, allow double-a to go through | |
| set -g prefix C-a | |
| unbind C-b | |
| bind C-a send-prefix | |
| # -r repeat time (Default 500 millis) | |
| set -g repeat-time 2000 |
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
| // A simple Lexer meant to demonstrate a few theoretical concepts. It can | |
| // support several parser concepts and is very fast (though speed is not its | |
| // design goal). | |
| // | |
| // J. Arrieta | |
| // (C) 2018 Nabla Zero Labs | |
| #include <string> | |
| class Token { |
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
| /** | |
| * Author: Asif Ahmed | |
| * Site: http://quickgrid.blogspot.com | |
| * Description: Inputting and Representing an Weighted Directed graph | |
| * in adjacency list vector of vector using C++ STL. | |
| */ | |
| #include<bits/stdc++.h> | |
| using namespace std; |
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 _PID_SOURCE_ | |
| #define _PID_SOURCE_ | |
| #include <iostream> | |
| #include <cmath> | |
| #include "pid.h" | |
| using namespace std; | |
| class PIDImpl |
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
| *.out |
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
| -- Put it in a folder named Geometry | |
| module Geometry.Cube | |
| ( volume | |
| , area | |
| ) where | |
| import qualified Geometry.Cuboid as Cuboid | |
| volume :: Float -> Float | |
| volume side = Cuboid.volume side side side |