Skip to content

Instantly share code, notes, and snippets.

View andoniabedul's full-sized avatar

Andoni Abedul andoniabedul

View GitHub Profile
@andoniabedul
andoniabedul / .tmux.conf
Created January 17, 2024 18:13
.tmux.conf
set -g default-terminal "xterm-256color"
set -ga terminal-overrides ",*256col*:Tc"
bind-key Right next-window\; display-message "next-window"
bind-key Left previous-window\; display-message "previous window"
bind-key c new-window\; display-message "new window opened"
@andoniabedul
andoniabedul / calculator.rs
Last active January 14, 2024 17:27
Simple calculator in Rust
use regex::Regex;
const OPERATIONS: [&str; 4] = ["MULTIPLICATION", "DIVISION", "SUM", "SUBTRACTION"];
fn main(){
println!("Calculadora");
let regex_add: Regex = Regex::new(r"(\d+)\s?\+\s?(\d+)").unwrap();
let regex_multiply: Regex = Regex::new(r"(\d+)\s?\*\s?(\d+)").unwrap();
let regex_subtraction: Regex = Regex::new(r"(\d+)\s?\-\s?(\d+)").unwrap();
@andoniabedul
andoniabedul / .vimrc
Last active January 17, 2024 18:12
VIM Config
"############################
"######## THEME #############
"############################
set termguicolors
set background=dark
colorscheme solarflare-contrast-customized
{
"Print to console": {
"prefix": "log",
"body": [
"console.log('$0');"
],
"description": "Log output to console"
},
"Print JSON":{
"prefix": "gify",
set nocompatible " be iMproved, required
filetype off " required
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'amiorin/vim-project'
Plugin 'mattn/emmet-vim'
const response = {
"name": "Andoni Abedul",
"social": {
"github": "https://github.com/andoniabedul",
"linkedin": "https://www.linkedin.com/in/andoniabedul"
},
"langs":{
"es_ES": {
"description": "Nacido en Caracas, Venezuela. Desarrollador FullStack. Apasionado por la tecnología, y lo que podemos crear desarrollando software. En mis tiempos libres me gusta jugar en la PS4, ver películas/series y leer.",
"location": {
{
"settings": {
"editor.wordWrap": "wordWrapColumn",
"debug.inlineValues": true,
"editor.snippetSuggestions": "top",
"window.zoomLevel": 0,
"workbench.colorTheme": "Juicy Light (rainglow)",
"explorer.openEditors.visible": 0,
"editor.tokenColorCustomizations":{
"functions": "#FF0000",

Keybase proof

I hereby claim:

  • I am andoniabedul on github.
  • I am abedul (https://keybase.io/abedul) on keybase.
  • I have a public key ASBuMZIZ61uOXkYGpfZVytQMsv_4yVLhrgHU05MIGl75UAo

To claim this, I am signing this object:

Verifying my Blockstack ID is secured with the address 1LH2ynzPHB2dLAXoc4Rv9aYT6f4mUCnfTK https://explorer.blockstack.org/address/1LH2ynzPHB2dLAXoc4Rv9aYT6f4mUCnfTK