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
# KEEP UBUNTU OR DEBIAN UP TO DATE | |
sudo apt-get -y update | |
sudo apt-get -y upgrade | |
sudo apt-get -y dist-upgrade | |
sudo apt-get -y autoremove | |
# INSTALL THE DEPENDENCIES |
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
function [C r] = BlahutArimoto(p) | |
disp('BlahutArimoto') | |
% Capacity of discrete memoryless channel | |
% Blahut-Arimoto algorithm | |
% Input | |
% p: m x n matrix | |
% p is the transition matrix for a channel with m inputs and n outputs |
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
@startuml | |
sprite $businessProcess [16x16/16] { | |
FFFFFFFFFFFFFFFF | |
FFF000000000FFFF | |
FFFFFFFFFFFFFFFF | |
FFFFFFFFFFFFFFFF | |
FFFFFFFFFF0FFFFF | |
FFFFFFFFFF00FFFF | |
FF00000000000FFF | |
FF000000000000FF |
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
scrolling: yes | |
license: MIT |
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
import bpy | |
import math | |
class flower(object): | |
def __init__(self): | |
# mesh arrays | |
verts = [] | |
faces = [] |
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
-- Import packages | |
require 'torch' | |
require 'gnuplot' | |
-------------------------------------- | |
-- Define the Kalman filter 'class' -- | |
-------------------------------------- | |
-- Constructor | |
Kalman = {} | |
Kalman.__index = Kalman |
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
clear all; | |
close all; | |
% Mean and Covariance | |
avg = [ 0 0 ] | |
covariance = [ 15.1607 4.0102 | |
4.0102 4.8819 ] | |
[eigenvec, eigenval] = eig(covariance) |
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
import bpy | |
from random import randint | |
class Monkey(object): | |
def __init__(self, location=(0,0,0)): | |
self.location = location |
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
import bpy | |
class Robot(object): | |
def __init__(self): | |
pass | |
def addBody(self, value=(0, 0, 0)): | |
#body |
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
sqlite3 | |
.read schema.sql | |
.read insert.sql | |
.tables | |
.schema | |
.save sakila.db | |
.quit | |
SELECT name FROM sqlite_master WHERE type='table' ORDER BY name; |
NewerOlder