Skip to content

Instantly share code, notes, and snippets.

View mattcarberry's full-sized avatar

Matt Carberry mattcarberry

  • Berlin, Germany
View GitHub Profile
@mattcarberry
mattcarberry / .vimrc
Created December 6, 2021 13:36
vimrc
call plug#begin()
Plug 'preservim/nerdtree'
Plug 'itchyny/lightline.vim'
Plug 'junegunn/seoul256.vim'
call plug#end()
" Start NERDTree. If a file is specified, move the cursor to its window
autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * NERDTree | if argc() > 0 || exists("s:std_in") | wincmd p | endif
=> ls mmc :1 /boot
<DIR> 4096 .
<DIR> 4096 ..
8886912 vmlinuz-4.4.91-ti-r133
159552 config-4.4.91-ti-r133
5416133 initrd.img-4.4.91-ti-r133
3486996 System.map-4.4.91-ti-r133
<DIR> 4096 uboot
<DIR> 4096 dtbs
2045 uEnv.txt
\documentclass[letterpaper]{letter}
\usepackage[letterpaper, margin=1.5in]{geometry}
\signature{Matt Carberry \\ carberry.matt@gmail.com}
\address{}
\begin{document}
\begin{letter}{ Analog Devices \\
One Technology Way \\
% LaTeX resume using res.cls
\documentclass[line,margin]{res}
%\usepackage{helvetica} % uses helvetica postscript font (download helvetica.sty)
%\usepackage{newcent} % uses new century schoolbook postscript font
\begin{document}
\name{\Huge Matt Carberry}
% \address used twice to have two lines of address
\address{carberry.matt@gmail.com}
close all;
clear all;
inclination = 0:0.001:pi/2;
azimuth = 0:0.001:pi/2;
power_fraction = zeros(length(inclination),length(azimuth));
for i = 1:length(inclination)
for j = 1:length(azimuth)

Keybase proof

I hereby claim:

  • I am mattcarberry on github.
  • I am mcarberry (https://keybase.io/mcarberry) on keybase.
  • I have a public key whose fingerprint is E942 4380 BC54 CC73 D358 15B9 F324 7FBE 8279 8B48

To claim this, I am signing this object:

@mattcarberry
mattcarberry / hcoopletter.cls
Created April 11, 2014 01:51
HCoop Letterhead
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{hcoopletter}[2014/04/08 HCoop Business Letter]
\RequirePackage{graphicx}
\RequirePackage{fancyhdr}
\RequirePackage{epstopdf}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{letter}}
\ProcessOptions\relax
\LoadClass{letter}
@mattcarberry
mattcarberry / highlight_ext_gen.pl
Created April 4, 2014 18:41
Convert Highlight Languages to Gitweb %ext_highlight Syntax
#!/usr/bin/perl
use strict;
use warnings;
my @high_in = `highlight --list-scripts=langs`;
foreach(@high_in){
my @l = split(/:\s([[:ascii:]]+?)( \( ([\s,[:ascii:]]*) \))*$/, $_);