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
#!/bin/bash | |
lsblk -io KNAME,TYPE,SIZE,MODEL |
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 display_param(fn, param) { | |
console.log(fn(param)); | |
} | |
function add_x_to_param(param) { | |
return param+"x"; | |
} | |
display_param(add_x_to_param, "yolo_swag_"); |
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
extern crate serde_qs as qs; | |
#[macro_use] extern crate serde_json; | |
#[macro_use] extern crate serde_derive; | |
#[derive(Debug, Deserialize, Serialize, PartialEq)] | |
pub struct Person { | |
pub firstname: String, | |
pub lastname: String, | |
pub checkboxes: Vec<u32>, | |
} |
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 nginx:alpine | |
COPY nginx.conf /etc/nginx/nginx.conf |