Skip to content

Instantly share code, notes, and snippets.

View ryukinix's full-sized avatar
☢️
IN RESEARCH

Manoel V. Machado ryukinix

☢️
IN RESEARCH
View GitHub Profile
(require 'package)
(setq packages-archives '("melpa" . "https://melpa.org/packages/"))
(defvar *my-packages* '(company
slime-company
doom-themes
powerline
airline-themes)
"My wonderful packages")
@ryukinix
ryukinix / quickproject-cli.lisp
Created February 25, 2019 23:46
A Quickproject CLI, portable script for Linux
#!/usr/bin/sbcl --script
#|
Manoel Vilela © 2018
This script helps me building a simple ASDF project for Common Lisp
based in the library quickproject.
|#
@ryukinix
ryukinix / lock.sh
Last active March 24, 2023 13:46
How lock your system before suspend with openrc init via elogind using slock
#!/bin/sh
#
# /lib/elogind/system-sleep/lock.sh
# Lock before suspend integration with elogind
username=lerax
userhome=/home/$username
export XAUTHORITY="$userhome/.Xauthority"
export DISPLAY=":0.0"
#!/bin/sh
#
# /lib/elogind/system-sleep/lock.sh
# Lock before suspend integration with elogind
username=lerax
userhome=/home/$username
export XAUTHORITY="$userhome/.Xauthority"
export DISPLAY=":0.0"
/**
* ================================================
*
* Copyright 2018 Manoel Vilela
*
* Author: Manoel Vilela
* Contact: manoel_vilela@engineer.com
* Organization: UFC
*
* ===============================================
@ryukinix
ryukinix / dateparser_lark.py
Last active February 4, 2022 15:35
An EBNF grammar based in the Lark Parser designed to parse multivariate date formats. (PT_BR)
#!/usr/bin/env python3
# coding: utf-8
#
# Copyright © Neoway Business Solutions
#
# @project: Diário Oficial
# @author: Manoel Vilela
#
"""
@ryukinix
ryukinix / linked.py
Created September 9, 2018 09:47
A LinkedList implementation using Object Orientation in Python
from dataclasses import dataclass
from typing import T
"""
A naive Linked List implementation using dataclass as node.
"""
@dataclass
class Node:
#|
MANOEL VILELA © 2018
MULTIPLE LINEAR REGRESSION ALGORITHM FROM SCRATCH.
FOR EDUCATIONAL PURPOSES.
|#
@ryukinix
ryukinix / keybase.md
Created March 1, 2018 18:58
keybase.md

Keybase proof

I hereby claim:

  • I am ryukinix on github.
  • I am lerax (https://keybase.io/lerax) on keybase.
  • I have a public key whose fingerprint is FE71 E643 E21B 1A2D 05B8 311F B0D0 EC75 0061 E91C

To claim this, I am signing this object:

@ryukinix
ryukinix / hello.rs
Last active October 20, 2017 08:13
Hello world in Rust ASM generated
pub fn main() {
println!("Hello world!");
}