Skip to content

Instantly share code, notes, and snippets.

var ref = require('ref-napi')
var ffi = require('ffi-napi')
var Struct = require('ref-struct-napi')
var ArrayType = require('ref-array-napi')
var LongArray = ArrayType(ref.types.longlong)
var GoSlice = Struct({
data: LongArray,
len: 'longlong',
cap: 'longlong'
})
@Heath123
Heath123 / test.go
Created July 27, 2020 14:46
Go file
package main
import "C"
import (
"github.com/sandertv/gophertunnel/minecraft"
// "io/ioutil"
// "log"
// "os"
// "encoding/json"
@Heath123
Heath123 / c.c
Created April 15, 2020 12:26
Pull requestsIssuesMarketplaceExplore@Heath123 SettingsDeveloper settings GitHub AppsOAuth AppsPersonal access tokensPersonal access tokensTokens you have generated that can be used to access the GitHub API.
static void __init fixrange_init(unsigned long start, unsigned long end,
pgd_t *pgd_base)
{
pgd_t *pgd;
p4d_t *p4d;
pud_t *pud;
pmd_t *pmd;
int i, j;
unsigned long vaddr;
@Heath123
Heath123 / c.c
Created April 15, 2020 12:26
Pull requestsIssuesMarketplaceExplore@Heath123 SettingsDeveloper settings GitHub AppsOAuth AppsPersonal access tokensPersonal access tokensTokens you have generated that can be used to access the GitHub API.
static void __init fixrange_init(unsigned long start, unsigned long end,
pgd_t *pgd_base)
{
pgd_t *pgd;
p4d_t *p4d;
pud_t *pud;
pmd_t *pmd;
int i, j;
unsigned long vaddr;
@Heath123
Heath123 / c.c
Created April 15, 2020 12:26
Pull requestsIssuesMarketplaceExplore@Heath123 SettingsDeveloper settings GitHub AppsOAuth AppsPersonal access tokensPersonal access tokensTokens you have generated that can be used to access the GitHub API.
static void __init fixrange_init(unsigned long start, unsigned long end,
pgd_t *pgd_base)
{
pgd_t *pgd;
p4d_t *p4d;
pud_t *pud;
pmd_t *pmd;
int i, j;
unsigned long vaddr;
@Heath123
Heath123 / c.c
Created April 15, 2020 12:26
Pull requestsIssuesMarketplaceExplore@Heath123 SettingsDeveloper settings GitHub AppsOAuth AppsPersonal access tokensPersonal access tokensTokens you have generated that can be used to access the GitHub API.
static void __init fixrange_init(unsigned long start, unsigned long end,
pgd_t *pgd_base)
{
pgd_t *pgd;
p4d_t *p4d;
pud_t *pud;
pmd_t *pmd;
int i, j;
unsigned long vaddr;
@Heath123
Heath123 / c.c
Created April 15, 2020 12:26
Pull requestsIssuesMarketplaceExplore@Heath123 SettingsDeveloper settings GitHub AppsOAuth AppsPersonal access tokensPersonal access tokensTokens you have generated that can be used to access the GitHub API.
static void __init fixrange_init(unsigned long start, unsigned long end,
pgd_t *pgd_base)
{
pgd_t *pgd;
p4d_t *p4d;
pud_t *pud;
pmd_t *pmd;
int i, j;
unsigned long vaddr;
@Heath123
Heath123 / c.c
Created April 15, 2020 12:26
Pull requestsIssuesMarketplaceExplore@Heath123 SettingsDeveloper settings GitHub AppsOAuth AppsPersonal access tokensPersonal access tokensTokens you have generated that can be used to access the GitHub API.
static void __init fixrange_init(unsigned long start, unsigned long end,
pgd_t *pgd_base)
{
pgd_t *pgd;
p4d_t *p4d;
pud_t *pud;
pmd_t *pmd;
int i, j;
unsigned long vaddr;
@Heath123
Heath123 / c.c
Created April 15, 2020 12:26
Pull requestsIssuesMarketplaceExplore@Heath123 SettingsDeveloper settings GitHub AppsOAuth AppsPersonal access tokensPersonal access tokensTokens you have generated that can be used to access the GitHub API.
static void __init fixrange_init(unsigned long start, unsigned long end,
pgd_t *pgd_base)
{
pgd_t *pgd;
p4d_t *p4d;
pud_t *pud;
pmd_t *pmd;
int i, j;
unsigned long vaddr;
@Heath123
Heath123 / c.c
Created April 15, 2020 12:26
Pull requestsIssuesMarketplaceExplore@Heath123 SettingsDeveloper settings GitHub AppsOAuth AppsPersonal access tokensPersonal access tokensTokens you have generated that can be used to access the GitHub API.
static void __init fixrange_init(unsigned long start, unsigned long end,
pgd_t *pgd_base)
{
pgd_t *pgd;
p4d_t *p4d;
pud_t *pud;
pmd_t *pmd;
int i, j;
unsigned long vaddr;