Skip to content

Instantly share code, notes, and snippets.

View jhosoume's full-sized avatar
:shipit:

Juliana Hosoume jhosoume

:shipit:
View GitHub Profile
@jhosoume
jhosoume / calculateFeatures.py
Last active March 11, 2021 03:59
Meta-features calculation
from os import listdir
from os.path import isfile, join
import sys
import pandas as pd
import numpy as np
import typing as t
from sklearn import preprocessing
from scipy.io import arff as arff_io
from pymfe.mfe import MFE
from multiprocessing import Pool
@jhosoume
jhosoume / css-media-queries-cheat-sheet.css
Created February 22, 2021 23:58 — forked from bartholomej/css-media-queries-cheat-sheet.css
CSS Media Query Cheat Sheet (with Foundation)
/*------------------------------------------
Responsive Grid Media Queries - 1280, 1024, 768, 480
1280-1024 - desktop (default grid)
1024-768 - tablet landscape
768-480 - tablet
480-less - phone landscape & smaller
--------------------------------------------*/
@media all and (min-width: 1024px) and (max-width: 1280px) { }
@media all and (min-width: 768px) and (max-width: 1024px) { }
@jhosoume
jhosoume / modelsim_installation.md
Created October 23, 2018 17:20 — forked from robodhruv/modelsim_installation.md
Sorting ModelSim installation issues

ModelSim Installation issues

Ubuntu 14.xx and above

Ignore this if you have not encountered any issue with the installation and running of ModelSim and Quartus on your system. You are very lucky. (Just Kidding! You have surely had this issue, only sorted.)

Hence assuming you have been following the procedure given in this guide. Most certainly, Quartus will install jsut fine, and so will ModelSim. The issue is in launching due to inappropriate linking etc.

Stage 1

This is the simplest error you would encounter. Navigate to the modelsim_ase folder and run:

function arrayOfLight(num) {
if (Number(num) !== num && num % 1 !== 0) throw new Error("Argument must be an integer");
var arrayOfLight = [];
for (var indx = 0; indx <= num; indx ++) arrayOfLight.push(indx);
return arrayOfLight;
}
console.log(arrayOfLight(5));
@jhosoume
jhosoume / history_ruby101.rb
Created May 24, 2016 18:13
Trying some Ruby (Ruby Practice)
def double(num)
num*2
end
double(3)
double(4)
arr1 = [1, 1, 1, 1]
arr1
double(arr1)
arr1
arr2 = [2, 3, 4, 5]