Skip to content

Instantly share code, notes, and snippets.

View zyryc's full-sized avatar
🏠
Working from home

Dan zyryc

🏠
Working from home
View GitHub Profile
@zyryc
zyryc / organize.sh
Created October 30, 2020 07:34
organize your downloads linux shell
#! /bin/sh
for file in *.mp4 *.mov *.mkv *.flv *.avi *.webm *.wmv; do
mv -- "$file" /home/$USER/Videos
done
for file in *.jpg *.png *.webp *.svg *.jp*g *.JPG *.gif; do
mv -- "$file" /home/$USER/Pictures
done
for file in *.mp3 *.mpeg *.m4a *.aac *.wma; do
//for 10 * 10 matrix
#include <iostream>
#include <stdlib.h>
#include <stdio.h>
#include <chrono>
using namespace std;
using namespace std::chrono;
class matrixc
import java.io.*;
import java.util.*;
// WordSearch class interface: solve word search puzzle
//
// CONSTRUCTION: with no initializer
// ******************PUBLIC OPERATIONS******************
// int solvePuzzle( ) --> Print all words found in the
// puzzle; return number of matches