gitflow | git |
---|---|
git flow init |
git init |
git commit --allow-empty -m "Initial commit" |
|
git checkout -b develop master |
This file contains hidden or 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
package main | |
import ( | |
"context" | |
"fmt" | |
"github.com/prometheus/client_golang/prometheus" | |
"github.com/prometheus/client_golang/prometheus/collectors" | |
"github.com/prometheus/client_golang/prometheus/promauto" | |
"log" | |
"net/http" |
This file contains hidden or 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
const { | |
aceVimMap, | |
mapkey, | |
imap, | |
imapkey, | |
getClickableElements, | |
vmapkey, | |
map, | |
unmap, | |
cmap, |
This file contains hidden or 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 | |
class ArgsMerger | |
{ | |
/** | |
* @param mixed[] $args | |
* @param ReflectionMethod $reflectionMethod | |
* | |
* @return array | |
*/ |
This file contains hidden or 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
--TEST-- | |
Verifies that generated remote object will pass default parameters in method declaration to Adapter. | |
--FILE-- | |
<?php | |
require_once __DIR__ . '/init.php'; | |
use ProxyManager\Factory\RemoteObject\AdapterInterface; | |
interface FooServiceInterface |
This file contains hidden or 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
{ | |
"keymaps": { | |
"0": { "type": "scroll.home" }, | |
":": { "type": "command.show" }, | |
"o": { "type": "command.show.open", "alter": false }, | |
"O": { "type": "command.show.open", "alter": true }, | |
"t": { "type": "command.show.tabopen", "alter": false }, | |
"T": { "type": "command.show.tabopen", "alter": true }, | |
"w": { "type": "command.show.winopen", "alter": false }, | |
"W": { "type": "command.show.winopen", "alter": true }, |
This file contains hidden or 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 | |
$fmt = datefmt_create( | |
'en_US', | |
IntlDateFormatter::FULL, | |
IntlDateFormatter::FULL, | |
'UTC', | |
IntlDateFormatter::GREGORIAN, | |
"y-MM-dd'T'H:mm:ssX" | |
); |
This file contains hidden or 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 | |
if (!isset(static::$_formatters[$key])) { | |
if ($timezone === '+00:00' || $timezone === 'Z') { | |
$timezone = 'UTC'; | |
} elseif ($timezone[0] === '+' || $timezone[0] === '-') { | |
$timezone = 'GMT' . $timezone; | |
} | |
static::$_formatters[$key] = datefmt_create( | |
$locale, | |
$dateFormat, |
This file contains hidden or 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 | |
####### DISCLAIMER: ############################################################### | |
# Use this script at your own risk, I DO NOT HOLD RESPONSABILITIES FOR DAMAGES! # | |
# READ EVERYTHING BEFORE RUNNING! YOU'VE BEEN WARNED! # | |
################################################################################### | |
## Config ## |
This file contains hidden or 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 | |
################################ | |
######### VARIABLES ############ | |
################################ | |
EMAIL="[email protected]" | |
AUTHOR="Pedro Tanaka" | |
################################ | |
# Update pacman and install keyring to avoid signature problems |
NewerOlder