Skip to content

Instantly share code, notes, and snippets.

View nidelson's full-sized avatar
:octocat:
Coffee in, code out

Nidelson Gimenez nidelson

:octocat:
Coffee in, code out
View GitHub Profile

Keybase proof

I hereby claim:

  • I am nidelson on github.
  • I am nidelson (https://keybase.io/nidelson) on keybase.
  • I have a public key ASDXqTII_G3dnVyf2SBSh5kOuvpiunJERc0FZSurfjWyTQo

To claim this, I am signing this object:

@nidelson
nidelson / settings.json
Last active August 8, 2020 22:36
VS Code Settings
{
"terminal.integrated.shell.osx": "/bin/zsh",
"terminal.integrated.fontSize": 14,
"workbench.colorTheme": "Omni",
"workbench.iconTheme": "material-icon-theme",
"workbench.startupEditor": "newUntitledFile",
"workbench.editor.labelFormat": "short",
"workbench.editor.enablePreviewFromQuickOpen": false,
@nidelson
nidelson / .zshrc
Last active February 12, 2024 14:44
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
After install zsh
- brew update
- brew install nvm
- mkdir ~/.nvm
after in your ~/.zshrc or in .bash_profile if your use bash shell:
export NVM_DIR=~/.nvm
source $(brew --prefix nvm)/nvm.sh
@nidelson
nidelson / movePrivateRepository.sh
Last active January 18, 2019 16:06
Move a Private Repository from Bitbucket to Github
// 1. Create Github repository
// First, create a new private repository on Github.com.
// It’s important to keep the repository empty, e.g. don’t check option Initialize this repository with a README when creating the repository.
// 2. Move existing content
// 2.1 Check out the existing repository from Bitbucket
$ git clone https://[email protected]/USER/PROJECT.git
// 2.2 Add the new Github repository as upstream remote of the repository checked out from Bitbucket
$ cd PROJECT
<?php
namespace Psr\Http\Message;
interface ServerRequestInterface extends RequestInterface
{
public function getServerParams();
public function getCookieParams();
public function withCookieParams(array $cookies);
public function getQueryParams();
public function withQueryParams(array $query);
<?php
namespace Psr\Http\Message;
interface RequestInterface extends MessageInterface
{
public function getRequestTarget();
public function withRequestTarget($requestTarget);
public function getMethod();
public function withMethod($method);
public function getUri();
<?php
namespace Psr\Http\Message;
interface MessageInterface
{
public function getProtocolVersion();
public function withProtocolVersion($version);
public function getHeaders();
public function hasHeader($name);
public function getHeader($name);