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 | |
echo -n "GitHub Repo (e.g. foo/bar): " | |
read REPO | |
# use this linke for the token https://github.com/settings/applications | |
TOKEN='' | |
REPO_USER=$(echo "$REPO" | cut -f1 -d /) | |
REPO_NAME=$(echo "$REPO" | cut -f2 -d /) | |
# Delete default labels |
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
1) src/Viserio/Component/HttpFactory/StreamFactory.php (fopen_flag_order) | |
---------- begin diff ---------- | |
--- Original | |
+++ New | |
@@ @@ | |
{ | |
- $stream = \fopen('php://memory', 'rb+'); | |
+ $stream = \fopen('php://memory', 'b+r'); | |
@@ @@ | |
if ($type === 'NULL') { |
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 bash | |
# How to use: | |
# | |
# Copy this to your travis file | |
# | |
# cache: | |
# directories: | |
# - ${HOME}/php-ext | |
# |
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 bash | |
# How to use: | |
# | |
# And add it to your bash file | |
# source ./tfold.sh | |
# | |
# tfold "fold name" "command to execute" | |
nanoseconds() { |
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 bash | |
# How to use: | |
# | |
# And add it to your bash file | |
# source ./try_catch.sh | |
# | |
# try | |
# ( | |
# your code |