git fetch origin my-branch
Aliasing Commands
| PS1="${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \[\033[01;33m\]\$(__git_ps1) \n~λ\[\033[00m\] " |
| Plugins | |
| ------- | |
| minimap | |
| todo-show | |
| highlight-selected | |
| minimap-highlight-selected | |
| file-icons | |
| open-recent | |
| save-session | |
| merge-conflicts |
| #include <hidef.h> /* common defines and macros */ | |
| #include "derivative.h" /* derivative-specific definitions */ | |
| #define ST_ID_100 0x100 | |
| #define ACC_CODE_ID100 0x2000 | |
| #define ACC_CODE_ID100_HIGH ((ACC_CODE_ID100 & 0xFF00)>>8) | |
| #define ACC_CODE_ID100_LOW (ACC_CODE_ID100 & 0x00FF) | |
| /* Mask Code Definitions */ |
| #include <hidef.h> /* common defines and macros */ | |
| #include "derivative.h" /* derivative-specific definitions */ | |
| #include "can.h" | |
| void canInit(void); | |
| void main(void) | |
| { | |
| unsigned char errorflag; | |
| unsigned char txbuff[] = "abcd"; |
| #!/bin/bash | |
| # install can-utils | |
| git clone https://github.com/linux-can/can-utils.git | |
| cd can-utils | |
| ./autogen.sh | |
| ./configure | |
| make | |
| sudo make install |
| # | |
| # Genetic algorithm example from http://www.ai-junkie.com/ga/intro/gat1.html | |
| # | |
| # @author Natesh Narain | |
| # @date July 9 2016 | |
| # Rule are encoded in the genes | |
| # Long string of genes make up chromosomes | |
| # Solution must have a way of being encoded into a chromosome |
| # | |
| # Script to bump version number in a git repo | |
| # | |
| # @author Natesh Narain <[email protected]> | |
| # | |
| import subprocess | |
| from argparse import ArgumentParser | |
| import os |
| # Generate version.h using data from git repository | |
| # | |
| # @author Natesh Narain | |
| # @date Oct 15 2016 | |
| # | |
| find_package(Git) | |
| function(generate_version_info) |
| #include <iostream> | |
| #include <string> | |
| #include <vector> | |
| #include <array> | |
| #include <list> | |
| #include <cmath> | |
| #include <opencv2/opencv.hpp> |