-
Find the Discord channel in which you would like to send commits and other updates
-
In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe!
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
/** | |
* | |
* WITHOUT NESTING | |
*/ | |
// An asynchronous function that performs a task on each item | |
/* async function performAsyncTask(item) { | |
// Simulating an asynchronous task with a delay | |
await delay(1000); | |
console.log(`Task completed for item: ${item}`); |
Simulador para examen Scrum Master
1. ¿Quién debe hacer el trabajo requerido para los elementos del Producto Backlog, para crear un Incremento potencialmente liberable?
- El equipo Scrum.
- El Scrum Master.
- El Equipo de Desarrollo.
- El Product Owner.
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 php:5.6-apache | |
RUN apt-get update && apt-get install -y libpq-dev && docker-php-ext-install pdo pdo_pgsql | |
COPY src/ /var/www/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\Providers; | |
use Illuminate\Support\Collection; | |
use Illuminate\Pagination\LengthAwarePaginator; | |
class AppServiceProvider extends ServiceProvider | |
{ | |
public function boot() |
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
<customMapSource> | |
<name>Google Maps</name> | |
<minZoom>0</minZoom> | |
<maxZoom>20</maxZoom> | |
<tileType>PNG</tileType> | |
<tileUpdate>IfNoneMatch</tileUpdate> | |
<url>http://mt{$serverpart}.google.com/vt/lyrs=m@176103410&hl=en-EN&x={$x}&y={$y}&z={$z}&s=Galileo&scale=1</url> | |
<serverParts>0 1 2 3</serverParts> | |
</customMapSource> |
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
# remove specific file from git cache | |
git rm --cached filename | |
# remove all files from git cache | |
git rm -r --cached . | |
git add . | |
git commit -m ".gitignore is now working" |
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
export const isValidEmail = (email: string): boolean => { | |
const match = String(email) | |
.toLowerCase() | |
.match( | |
/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/ | |
); |
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
class SnakeUpperCaseTransformer(): | |
def __init__(self, string_param): | |
self.string_param = string_param | |
def showString(self): | |
print(self.string_param) | |
def convertToUpperCase(self): | |
rez = [] |
NewerOlder