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
-- test bench solution to ex09 | |
library IEEE; | |
use IEEE.Std_logic_1164.all; | |
use IEEE.Numeric_std.all; | |
entity Ram_TB is | |
end entity Ram_TB; | |
architecture Bench of Ram_TB is |
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
def base10toN(num,n): | |
"""Change a to a base-n number. | |
Up to base-36 is supported without special notation.""" | |
num_rep={10:'a', | |
11:'b', | |
12:'c', | |
13:'d', | |
14:'e', | |
15:'f', | |
16:'g', |
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
ffmpeg -y -i $1 -vf palettegen /tmp/palette.png | |
ffmpeg -y -i $1 -i /tmp/palette.png -filter_complex paletteuse -r 10 $2 |
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
git branch -vv | grep ': gone]'| grep -v "\*" | awk '{ print $1; }' | xargs -r git branch -D |