git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| #!/usr/bin/env bash | |
| set -e | |
| git checkout master | |
| git pull --rebase | |
| git remote add remote-$1 [email protected]:ebanx/$1.git | |
| git fetch remote-$1 | |
| git checkout -b package/$1 remote-$1/master |
| <?php | |
| use GuzzleHttp\Client; | |
| require __DIR__ . '/../vendor/autoload.php'; | |
| class EngZapAuth | |
| { | |
| private static $token; |
| <?php | |
| /** | |
| * Created by PhpStorm. | |
| * User: pedromazala | |
| * Date: 14/02/2019 | |
| * Time: 23:18 | |
| */ | |
| $base_url = 'http://localhost:8000'; |
| using System; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Net.Http; | |
| using System.Net.Http.Headers; | |
| namespace TetsteCSharp | |
| class Program | |
| { | |
| static void Main(string[] args) |
| <?php | |
| function getPassword(int $pass_length = 6): string | |
| { | |
| $possible_keys = str_split("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890@#$%&_.,;?!"); | |
| $last_key = null; | |
| $pass = ''; | |
| while (strlen($pass) <= $pass_length) { | |
| $key = rand(0, count($possible_keys) - 1); |
| <?php | |
| /** | |
| * Copyright (c) 2007, Roger Veciana | |
| * All rights reserved. | |
| * | |
| * Redistribution and use in source and binary forms, with or without | |
| * modification, are permitted provided that the following conditions are met: | |
| * | |
| * Redistributions of source code must retain the above copyright notice, this |
| <?php | |
| function qualquer() { | |
| $array = []; | |
| for ($i = 1; $i <= 12; $i++) | |
| $array[str_pad($i, 2, "0", STR_PAD_LEFT) . '/' . date('Y')] = 0; | |
| } | |
| // faz a query que tu tem que fazer... |
| version: "2.0" | |
| services: | |
| foo: | |
| image: "nginx:alpine" | |
| volumes: | |
| - "arbitrary-repo-name:/one" | |
| - "arbitrary-repo-namee:/two" | |
| volumes: |
| class Child extends Father | |
| { | |
| public function entrypoint() | |
| { | |
| } | |
| } |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream