Skip to content

Instantly share code, notes, and snippets.

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

Fire FireMario211

🏠
Working from home
  • 127.0.0.1
  • 17:58 (UTC -04:00)
View GitHub Profile
@L0ry-git
L0ry-git / main.rs
Last active April 26, 2021 19:52
Joke tool that allows you to write and compile Rust code as folder names. The syntax for every folder name is <line number> <code> (for example "11 let a = 1;"). See lines 46-55 for the other syntax rules. Crate name is supposed to be "folderustc". Usage: folderustc <source folder> <rust compiler args>.
use std::{
fs::{self, DirEntry, File},
io::{prelude::*, Error, Result},
process::Command
};
//Default temp file name
const FILE_NAME: &'static str = "source.rs";
fn main() -> Result<()> {
@subfuzion
subfuzion / curl.md
Last active April 23, 2024 14:44
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active April 24, 2024 12:19
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname