Skip to content

Instantly share code, notes, and snippets.

Bobby DeVeaux bobbydeveaux

Block or report user

Report or block bobbydeveaux

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@bobbydeveaux
bobbydeveaux / main.go
Created Oct 3, 2017
try-cb-golang example
View main.go
package main
import (
"encoding/json"
"errors"
"fmt"
"github.com/couchbase/gocb"
"github.com/couchbase/gocb/cbft"
"github.com/dgrijalva/jwt-go"
"github.com/gorilla/mux"
View keybase.md

Keybase proof

I hereby claim:

  • I am bobbydeveaux on github.
  • I am bobbydeveaux (https://keybase.io/bobbydeveaux) on keybase.
  • I have a public key ASAtWL4fa6wn2it-eIgOpEbDf5Dp_xFN8DcWNoUPk_vw8wo

To claim this, I am signing this object:

View car garage.go
package main
import (
"fmt"
)
type IDoor interface {
OpenDoor() string
CloseDoor() string
}
View process.php
<?php
function parseWord($wordDoc)
{
$fileHandle = fopen($wordDoc, "r");
$line = @fread($fileHandle, filesize($wordDoc));
$lines = explode(chr(0x0D),$line);
$outtext = '';
foreach($lines as $line) {
View website.html
<html>
<head>
<title>This is my title</title>
<style type="text/css">
ul {
background-color: #ff6600;
}
ul li{
list-style-type: none;
display: inline-block;
View robots.txt
# This rule means it applies to all user-agents
User-agent: *
# Disallow go.php as this is a redirection
Disallow: /go.php$
View go.php
<?php
/**
* File to handle redirection and cloak links.
*
* @version 0.0.1
* @author Bobby DeVeaux (me@bobbyjason.co.uk)
**/
class Redirector
{
View Bubble.java
public class Bubble
{
public static void main(String[] args)
{
for (int c = 0; c < 1000000; c++) {
bubbleSort();
}
}
public static void bubbleSort()
View bubble.go
package main
// import "fmt"
func main() {
for c := 0; c < 1000000; c++ {
bubble();
}
}
View bubble.js
function main() {
for (var c = 0; c < 1000000; c++) {
bubble();
}
}
function bubble() {
var array = [3,4,1,3,5,1,92,2,4124,424,52,12];
You can’t perform that action at this time.