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
#![warn(boxed_slice_into_iter)] | |
#![warn(dependency_on_unit_never_type_fallback)] | |
#![warn(deprecated_safe_2024)] | |
#![warn(edition_2024_expr_fragment_specifier)] | |
#![warn(if_let_rescope)] | |
#![warn(impl_trait_overcaptures)] | |
#![warn(keyword_idents_2024)] | |
#![warn(missing_unsafe_on_extern)] | |
#![warn(never_type_fallback_flowing_into_unsafe)] | |
#![warn(rust_2024_guarded_string_incompatible_syntax)] |
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 | |
set -e | |
walls() { | |
mkdir -p Pictures/Wallpapers | |
cd Pictures/Wallpapers || exit 1 | |
for f in $(curl "$endpoint:8000/walls" | grep '<a ' | cut -d\" -f2) | |
do | |
wget --quiet "$endpoint:8000/$f" | |
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
#!/bin/bash | |
if [[ "$1" = *-h* ]] | |
then | |
cat <<EOF | |
Usage: | |
Server: $0 | |
Client: $0 SERVER_IP | |
EOF | |
exit | |
fi |
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
#include <stdio.h> | |
#include <unistd.h> | |
#define kElements 1250000 | |
const char *progress = "-\\|/"; | |
void initArray(int *p, int num){ | |
int i; | |
for (i = 0; i < num; ++i) | |
{ |
Estes resumos foram movidos para um repositorio.
Este gist não vai ser mais updated.
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
# Created by .ignore support plugin (hsz.mobi) | |
### Java template | |
# Compiled class file | |
*.class | |
# Log file | |
*.log | |
# BlueJ files | |
*.ctxt |