Skip to content

Instantly share code, notes, and snippets.

@Rassibassi
Rassibassi / relLinks.py
Last active October 16, 2017 10:16
HackYourFuture - change absolute links within the repository to relative links
@Rassibassi
Rassibassi / listFiles.m
Created June 1, 2018 00:36
List all files with certain extension from directory
function [ fileList ] = listFiles( path, ext )
if ( strcmp(path(end),'/') || strcmp(path(end),'\') )
sepper = '';
else
sepper = filesep;
end
dirList = dir([path sepper '*.' ext]);
fileList = cell(1,length(dirList));
for ii=1:length(dirList)
fileList{ii} = dirList(ii).name;
import React, { Component } from 'react';
import WaveSurfer from 'wavesurfer.js';
class Waveform extends Component {
state = {
playing: false,
};
componentDidMount() {
this.waveform = WaveSurfer.create({
@Rassibassi
Rassibassi / run_01.ipynb
Created December 5, 2024 07:24
adventofcode 2024 day 4 - in fourier domain
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.