I hereby claim:
- I am adelowo on github.
- I am lanreadelowo (https://keybase.io/lanreadelowo) on keybase.
- I have a public key ASDdfblT8r393nFDW4h6wstD7UJOSwJJGXJ7cfOT5pGNHQo
To claim this, I am signing this object:
<?php | |
namespace Gbowo\Contract\Plugin; | |
use Gbowo\Contract\Adapter\AdapterInterface; | |
interface PluginInterface | |
{ | |
public function getPluginAccessor() : string; |
I hereby claim:
To claim this, I am signing this object:
This list has the goal of helping developers interested in contributing to the Go language but are unsure of where to start. This was not generated manually so some functions and methods here may not require examples (maybe because they are too simple, e.g .String()) and some of these may only make sense in a package level example (which are not considered for this list yet). Use your best judgment and check the documentation before you open up a CL to add an example.
You should also search in gerrit for open CLs that are already adding examples.
I will try to keep this list as up to date as possible. If you find any mistakes, please comment below and I will try to fix it.
FROM golang:1.11 as build-env | |
WORKDIR /go/src/github.com/adelowo/project-with-go-mod | |
ADD . /go/src/github.com/adelowo/project-with-go-mod | |
ENV GO111MODULE=on | |
RUN go mod download | |
RUN go mod verify | |
RUN go install ./cmd |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
HTTP transfer protocols | |
======================= | |
Git supports two HTTP based transfer protocols. A "dumb" protocol | |
which requires only a standard HTTP server on the server end of the | |
connection, and a "smart" protocol which requires a Git aware CGI | |
(or server module). This document describes both protocols. | |
As a design feature smart clients can automatically upgrade "dumb" | |
protocol URLs to smart URLs. This permits all users to have the |
Here's what I ended up doing - it worked perfectly. Note that I was moving from my old host (Bitbucket) to my new one (Gitlab). My comments are above the commands: | |
# First, shallow-clone the old repo to the depth we want to keep | |
git clone --depth=50 https://...@bitbucket.org/....git | |
# Go into the directory of the clone | |
cd clonedrepo | |
# Once in the clone's repo directory, remove the old origin | |
git remote remove origin |
Ever wanted to delete all your likes/favorites from Twitter but only found broken/expensive tools? You are in the right place.
setInterval(() => {
for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
d.click()
}
package main | |
import ( | |
"bytes" | |
"crypto/rand" | |
"encoding/gob" | |
"fmt" | |
"io/ioutil" | |
"os" | |
"time" |