This file contains 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
diff -rupN Makefile Makefile | |
--- Makefile 2012-07-26 14:20:21.179058001 -0700 | |
+++ Makefile 2012-07-26 14:45:18.667563466 -0700 | |
@@ -1,6 +1,6 @@ | |
include Makefile.include | |
-CFLAGS+=-DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -Wno-psabi -I$(SDKSTAGE)/opt/vc/include/ | |
+CFLAGS+=-DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODE |
This file contains 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
diff -ru Makefile Makefile | |
--- Makefile 2012-07-27 13:41:32.149454618 -0700 | |
+++ Makefile 2012-07-27 13:42:17.221419499 -0700 | |
@@ -1,6 +1,6 @@ | |
include Makefile.include | |
-CFLAGS+=-DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST -Wno-psabi -I$(SDKSTAGE)/opt/vc/include/ | |
+CFLAGS+=-DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODEC_ |
This file contains 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
diff -rupN Makefile.ffmpeg Makefile.ffmpeg | |
--- Makefile.ffmpeg 2012-12-12 23:20:04.000000000 -0800 | |
+++ Makefile.ffmpeg 2012-12-12 23:22:48.000000000 -0800 | |
@@ -8,11 +8,11 @@ all: checkout configure compile | |
copy: | |
find ffmpeg -name '*.so*' -exec cp {} . \; | |
- $(HOST)-strip *.so* | |
+ strip *.so* | |
This file contains 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
#!/bin/bash | |
# waitdone | |
############################################################################### | |
# A simple bash script to sleep until another process is done. This is handy | |
# if you have an executable running in another tab/session/etc and want to | |
# automatically run a dependent command when the first finishes, or if you | |
# want to queue up another command that will make use of the same system | |
# resources being locked by the currently executing process. | |
############################################################################### | |
# VERSION HISTORY |
This file contains 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
#!/bin/csh | |
# Override default login C shell to use bash, unless we explicitly call | |
# the shell. This allows it to be used if truly desired. | |
if ($SHELL != "/bin/bash") then | |
if ($?prompt) then | |
setenv SHELL /bin/bash | |
exec $SHELL | |
endif | |
exit | |
endif |
This file contains 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
set(groot,'defaultAxesFontName','Proxima Nova Rg'); | |
set(groot,'defaultPolaraxesFontName','Proxima Nova Rg'); | |
set(groot,'defaultLegendFontName','Proxima Nova Rg'); | |
set(groot,'defaultTextFontName','Proxima Nova Rg'); | |
set(groot,'defaultTextarrowshapeFontName','Proxima Nova Rg'); | |
set(groot,'defaultTextboxshapeFontName','Proxima Nova Rg'); | |
set(groot,'defaultLegendBox','off') | |
%set(groot,'defaultLegendLocation','best') |
This file contains 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/env python3 | |
################################################################################ | |
# Define the prefered plotting defaults. | |
# These generally translate to how I want stuff to show up in IEEE papers. | |
# Note that when I do my debugging, I override figure.figsize in my testing | |
# enviornment. | |
################################################################################ | |
import matplotlib | |
import matplotlib.font_manager as FM |
This file contains 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
set-option -g mouse on | |
set-window-option -g mode-keys vi | |
bind r source-file ~/.tmux.conf \; display "reloaded ~/.tmux.conf" | |
bind \" split-window -v -c "#{pane_current_path}" | |
bind % split-window -h -c "#{pane_current_path}" | |
bind c new-window -c "#{pane_current_path}" | |
#set -g @ttm-window-mode vertical |
This file contains 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/env python3 | |
import click | |
from random import randint | |
from random import random | |
#################################################### | |
##### Example Execution | |
# $ pip3 install click | |
# $ chmod +x ./obfuscate.py |
This file contains 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
#!/bin/bash | |
echo "=====" | |
echo "== Test #1" | |
echo "== Working in bash 4, broken in bash 5" | |
echo "=====" | |
# Test Case 1 | |
startTime=$(date +"%s") | |
recheckSleepTime=0.2 |
OlderNewer