- Apache:
https://httpd.apache.org/docs/current/mod/mod_rewrite.html
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
<?php | |
namespace App\Console\Commands; | |
use Illuminate\Console\Command; | |
use Illuminate\Support\Facades\DB; | |
class ConvertImagesToWebp extends Command | |
{ | |
/** |
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
<?php | |
/** | |
* Does indeed merge arrays, but it converts values with duplicate keys to arrays | |
* rather than overwriting the value in the first array with the duplicate | |
* value in the second array, as array_merge does. | |
* | |
* @param array $leftArray | |
* @param array $rightArray | |
* |
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
/* | |
gcc morse_encode.c -o morse && ./morse | |
*/ | |
#include <stdio.h> | |
#define ALPHABET_TOTAL_LETTERS (26) | |
#define ALPHABET_LINE_SIZE (10) | |
const char ALPHABET[ALPHABET_TOTAL_LETTERS][ALPHABET_LINE_SIZE] = { |
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 <stdlib.h> | |
#define ROOT 1.21 | |
#define POTENCY 2 | |
#define PHASES 60 | |
#define PRECISION 15 | |
double* find_root(double *, double, int, int); | |
double potency_by(double, int); |
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
""" | |
Installing Packages: | |
pip install threading argparse pynput | |
Run example: | |
python auto_clicker.py -d 1.0 -b right -s . -f , | |
""" | |
import threading | |
import argparse |
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
#!/usr/bin/env zsh | |
# to deactivate double rm verification in zsh: | |
# echo "setopt rm_star_silent" >> ~/.zshrc | |
# | |
# to install: | |
# cd ~/.oh-my-zsh/custom/plugins | |
# mkdir trash && cd trash && (clone this raw) | |
# source trash.plugin.zsh | |
# |
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 time import sleep | |
hours = minutes = seconds = 0 | |
try: | |
while(True): | |
if(seconds == 60): | |
seconds = 0 | |
minutes += 1 | |
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 <string.h> | |
#include <unistd.h> | |
#include <sys/wait.h> | |
#define MAX_LINE 100 | |
int main(void) { | |
char *args[MAX_LINE]; |
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
""" | |
[!] testes.py: excluded 02 / 03 / 2022 | |
- content: # NULL | |
""" | |
class DECIMAL(): | |
def __init__(self, num) -> None: | |
self.num: int = num | |
self.dictionary = { |
NewerOlder