This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ksh --argument-names args | |
kitty +kitten ssh -Cx $args | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function set-analyzer --argument toolchain | |
echo "INFO :: Adding rust-analyzer for $toolchain" | |
rustup component add rust-analyzer --toolchain $toolchain | |
set analyzer_path (rustup which rust-analyzer --toolchain $toolchain) | |
echo "INFO :: rust-analyzer for $toolchain at $analyzer_path" | |
echo "INFO :: Adding symbolic link to $HOME/.cargo/bin/rust-analyzer" | |
ln -fP $analyzer_path $HOME/.cargo/bin/rust-analyzer | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zip: | |
for i in */; do zip -9 -r "${i%/}.zip" "$i" -x ".DS_Store" -x "__MACOSX"; done | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo launchctl unload /System/Library/LaunchDaemons/ssh.plist | |
sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::io::{BufWriter, Write}; | |
use std::process::{Command, Stdio}; | |
use std::path::Path; | |
fn main() { | |
let args = std::env::args().skip(1).collect::<Vec<String>>(); | |
if args.len() == 1 && Path::new(&args[0]).exists() { | |
let path = Path::new(&args[0]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from lxml import html | |
import requests | |
elements = list() | |
date = False | |
user = 'AOx0' | |
pagina: requests.Response = requests.get(f'https://github.com/{user}') | |
tree: html.HtmlElement = html.fromstring(pagina.content) |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2150088600465323113033827987821094477819663193627786633457649064518119410030316487373883495234415349173277403190745167355618261933938416179229303768550319979891687670220088032632876874067244550288689828855477093150746366037812049542610739008398751118680184636310930387741226778235599403021768352738855336146598069101102642273054819720219205295410866961563675785626323271176401641955661888792412011645282219390169765499872695725079432326150881508633194294835245090903595434938079717069440921241391011045762352501026902094431809668902133495650650524670862619891889615763987718634118689570919932539715530888675279242645976380101942720447773268828244928849301662594960148693731729276675952286368244296541661609980648639021097263686974394399995808624166168976182210653488671704887961843903820104220772204502608884731681627205580536755200095652743621745143045318848204346067818994560509729434285827717428046022114290286652621511599652832755045989626291483631356793302781553130835017254375862402955218573175942584158521020476515286 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn main() { | |
for n in 1..=100 { | |
println!("{}", get_fizz_buzz(n)) | |
} | |
} | |
trait MultiplePush { | |
fn push_strs(&mut self, strs: &[&str]); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mono path[0] = '/Users/alejandro/Applications/RimWorld.app/Contents/Resources/Data/Managed' | |
Mono config path = '/Users/alejandro/Applications/RimWorld.app/Contents/MonoBleedingEdge/etc' | |
Initialize engine version: 2019.2.17f1 (8e603399ca02) | |
[XR] Discovering subsystems at path /Users/alejandro/Applications/RimWorld.app/Contents/Resources/Data/UnitySubsystems | |
GfxDevice: creating device client; threaded=1 | |
Initializing Metal device caps: Intel(R) UHD Graphics 617 | |
Begin MonoManager ReloadAssembly | |
- Completed reload, in 0.168 seconds | |
UnloadTime: 2.676833 ms | |
Metal RecreateSurface[0x7f9aa197c560]: surface size 2880x1800 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ContentView.swift | |
// | |
// | |
// Created by Alejandro D on 22/03/20. | |
// Copyright © 2020 Alejandro D. All rights reserved. | |
// | |
import SwiftUI | |
import Combine |