Skip to content

Instantly share code, notes, and snippets.

View Malex's full-sized avatar

Alex Marcat Malex

View GitHub Profile
.fullscreen {
box-shadow: 0 0 0 100% rgba(#000,0.3) !important;
width: 100% !important;
height: 100% !important;
position: absolute;
top: 30px; bottom: 8px; left: 16px; right: 16px;
z-index: 1;
& .mat-card-header .mat-card-header-text {
display: inline-flex;
@Malex
Malex / book.html
Created July 30, 2018 15:43
tmp-library-books
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="../../../../favicon.ico">
<title>My Library</title>
@Malex
Malex / trimmer.java
Created July 10, 2018 08:57
Method TrimBook and its test
/*
This was a method used to resize the array of books in library before switching to collections. Saving here in case in the future a need
to resize array in languages without dynamic collections
*/
/*Method to resize array after removing elements*/
void trimBooks() {
int count = 0,shift=0;
for (int i=0; i < this.books.length; i++) {
if(this.books[i]==null) { //Finding how many elements were removed, saving in count
@Malex
Malex / gist:346302
Created March 27, 2010 19:16
MyIRCBot
# -*- coding: utf-8 -*-
#!/usr/bin/python3
################################
# MyIRCBot v5
# Author: Malex
# Version: 5.0 Release Candidate 2
# Description: and idiot bot
# for irc idiots
# License: GNU/GPL3
# Propetrty of Malexprojects.com
@Malex
Malex / MalexBot.py
Created July 8, 2009 19:40
Il mio bot
# -*- coding: utf-8 -*-
#!/urs/bin/env python
#########################
# MalexBot v 0.1 Beta 2
# as known as
# MyIRCBot
# Author: Malex
# Malexprojects.com Software
# License: GNU/GPL 3
#########################