Try to fit all content on to one page.
Don't really mind about gaps in years between experienxe in your CV. It can easilly be explained in an interview.
Make sure your links are clickabl e.
% Bob lab 1 | |
clear all | |
%% Load and plot gfun | |
load('gfun.mat'); | |
plot(gfun) | |
figure | |
plot(2.^gfun) | |
tic | |
clear all | |
load('gfun.mat'); | |
ffun= (2.^gfun); | |
finalpic(:,:,:) = zeros(683,1024,3); | |
for i=1:14 | |
value = imread(strcat('Img', int2str(i), '.tiff')); | |
if value > 127 | |
value = 255-value; | |
end |
%% A | |
cWhite = imread('CWhite1.jpg'); | |
hWhite = imread('HWhite1.jpg'); | |
N = 512 | |
cWhite512 = imresize(cWhite, [512 512]); | |
hWhite512 = imresize(hWhite, [512 512]); | |
[X,Y] = meshgrid((1:N)); | |
[T,R] = cart2pol(X-N/2, Y-N/2); | |
plot(R(N/2, :)); |
[ | |
{ "keys": ["ctrl+tab"], "command": "next_view" }, | |
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" }, | |
{ "keys": ["ctrl+alt+o"], "command": "prompt_open_folder" }, | |
{ "keys": ["ctrl+'"], "command": "toggle_comment", "args": { "block": false } }, | |
{ "keys": ["ctrl+shift+'"], "command": "toggle_comment", "args": { "block": true } }, | |
{ "keys": ["super+r"], "command": "build", "context": | |
[ | |
{ "key": "selector", "operator": "equal", "operand": "source.pde" } |
<%= link_to image_tag(image.public_thumb_url, alt: t('.view_big')), image.public_url, title: "#{album.title}<small>#{image.user.name}, MTD 2015</small>" %> |
function makeFat(el){ | |
el.style.fontWeight = "bold"; | |
el.style.border = "10px solid"; | |
if(typeof(el.childNodes) === "array"){ | |
el.childNodes.forEach(function(elem){ | |
makeFat(elem); | |
}); | |
} | |
} | |
makeFat(document.body); |
Ett hashtabell har en hash function som mappar ett element till ett index där det bör sparas i tabellen. En bra hash function distibuerar elementen jämnt över tabellen för att inte orsaka kollisioner, den ska även vara enkel att beräkna. Så att medelkostnaden blir O(1).
Detta exempel lämpar sig för tabeller som inte är allt för stora.
Translation = (config)-> | |
if typeof config != "object" | |
throw 'Error, config is not an object' | |
paths = [] | |
iterate = (obj, parent, paths)-> | |
for property of obj | |
if obj.hasOwnProperty(property) | |
if parent != '' | |
new_parent = parent + '-' + property |