Skip to content

Instantly share code, notes, and snippets.

View ducc's full-sized avatar

Joe Burnard ducc

  • UK
View GitHub Profile
@ducc
ducc / 1README.md
Last active March 15, 2019 15:49
ducclang with js syntax formatting

ducclang is a revolutionary lang!!!!!!

its based on arrays embedded in arrays

simple program

[
    "hello world"
]

this program is just a string that says hello world. it is now at location [0]

i = 0
i.something = 51
i.doIt = {
// print hello world
}
i.doIt.myProperty = 913
@ducc
ducc / discrimfarmer.go
Last active January 9, 2018 05:19
Changes your discord username to get a sweet mf discrim cunt
package main
import (
"github.com/bwmarrin/discordgo"
"flag"
log "github.com/Sirupsen/logrus"
"fmt"
"time"
"errors"
)
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Dab {
private enum State {
DO_YOU_LIKE_TO_DAB, HOW_OFTEN_DO_YOU_DAB, END
}
public static void main(String[] args) {
try (BufferedReader reader = new BufferedReader(new InputStreamReader(System.in))) {
import (
"fmt
"net/http"
"bytes"
)
type statsForm struct {
ServerCount int `json:"server_count"`
}
// we have a school which has 10 teachers
school
teachers = [10]
// each lesson requires a teacher
lesson
teacher
// when the lesson starts get an available teacher
on start

Keybase proof

I hereby claim:

  • I am ducc on github.
  • I am sponges (https://keybase.io/sponges) on keybase.
  • I have a public key whose fingerprint is 61CA 9260 0F91 EA95 A4B4 DA4E BBD7 7FAD ABE2 B9EA

To claim this, I am signing this object:

#include <stdio.h>
#include <stdlib.h>
typedef struct node {
int value;
struct node * next;
} node_t;
node_t * node_new(void) {
node_t * new_node = NULL;
@ducc
ducc / ! FROG LANG !
Last active October 17, 2017 02:03
froglang?!?!??!
:)