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
# solving issues on Xilinx Vivado in LMDE 7 Gigi base: Debian 13.0 trixie | |
echo "deb http://deb.debian.org/debian bookworm main" | sudo tee /etc/apt/sources.list.d/bookworm-temp.list | |
sudo apt update | |
sudo apt install libtinfo5 | |
# now vivado works like a charm. |
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
[[[0,[4,5]],[0,0]],[[[4,5],[2,6]],[9,5]]] | |
+ | |
[7,[[[3,7],[4,3]],[[6,3],[8,8]]]] | |
------------------- | |
after addition : [[[[0,[4,5]],[0,0]],[[[4,5],[2,6]],[9,5]]],[7,[[[3,7],[4,3]],[[6,3],[8,8]]]]] | |
reduction | |
after explosion : [[[[4,0],[5,0]],[[[4,5],[2,6]],[9,5]]],[7,[[[3,7],[4,3]],[[6,3],[8,8]]]]] | |
after explosion : [[[[4,0],[5,4]],[[0,[7,6]],[9,5]]],[7,[[[3,7],[4,3]],[[6,3],[8,8]]]]] | |
after explosion : [[[[4,0],[5,4]],[[7,0],[15,5]]],[7,[[[3,7],[4,3]],[[6,3],[8,8]]]]] | |
after explosion : [[[[4,0],[5,4]],[[7,0],[15,5]]],[10,[[0,[11,3]],[[6,3],[8,8]]]]] |
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
[[[0,[4,5]],[0,0]],[[[4,5],[2,6]],[9,5]]] | |
+ | |
[7,[[[3,7],[4,3]],[[6,3],[8,8]]]] | |
------------------- | |
after addition : [[[[0,[4,5]],[0,0]],[[[4,5],[2,6]],[9,5]]],[7,[[[3,7],[4,3]],[[6,3],[8,8]]]]] | |
reduction | |
after explosion : [[[[4,0],[5,0]],[[[4,5],[2,6]],[9,5]]],[7,[[[3,7],[4,3]],[[6,3],[8,8]]]]] | |
after explosion : [[[[4,0],[5,4]],[[0,[7,6]],[9,5]]],[7,[[[3,7],[4,3]],[[6,3],[8,8]]]]] | |
after explosion : [[[[4,0],[5,4]],[[7,0],[15,5]]],[7,[[[3,7],[4,3]],[[6,3],[8,8]]]]] | |
after explosion : [[[[4,0],[5,4]],[[7,0],[15,5]]],[10,[[0,[11,3]],[[6,3],[8,8]]]]] |
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
#include <iostream> | |
#include <fstream> | |
#include <sstream> | |
#include <string> | |
using namespace std; | |
class ProgramLoader { | |
public: | |
int mem[1024]; |
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
require 'gtk3' | |
require 'pp' | |
DELTA_X=20 | |
DELTA_Y=20 | |
RED = [0.7,0.0,0.1] | |
GREEN= [0.1,0.9,0.1] | |
BLUE = [0.1,0.0,0.7] | |
BLACK= [0.0,0.0,0.0] |
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
Foo=Struct.new(:t1) | |
Bar=Struct.new(:t2) | |
def generate_random n | |
h={} | |
kFoo="f0" | |
kBar="b0" | |
for i in 0..n-1 | |
t=rand(2) | |
if t==0 |