Skip to content

Instantly share code, notes, and snippets.

View jessiepathfinder's full-sized avatar
🏠
Working from home

Jessie Pathfinder jessiepathfinder

🏠
Working from home
View GitHub Profile
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by OpenJDK configure openjdk, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ /cygdrive/c/openjdkbuildatmp2/jdk15u/configure --enable-option-checking=fatal
## --------- ##
## Platform. ##
pragma solidity ^0.4.16;
//second revision: enhanced SafeMath, added dedicated burn address, refactored event emits
//4th revision: hard reviewed code, fixed 1 bug
//5th revision: added token unlocking period
//7th revision: modified DEFI settings
//8th revision: fixed multiple DeFi-related bugs, and two instances where I forgot to use SafeMath
//Also, added SafeSend, my very own transaction failure and reentrancy protection system
//9 and 10th revision: changed SafeSend behavior - added insufficient balance protection
//11th revision: changed SafeSend behavior - weakened insufficient balance protection
//12th revision: upgraded EUBIDEFI and added ERC-223 forward compatibility
/* **********************************************************
* Copyright (c) 2014-2018 Google, Inc. All rights reserved.
* Copyright (c) 2003-2008 VMware, Inc. All rights reserved.
* **********************************************************/
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
pragma solidity ^0.4.16;
contract Token {
function totalSupply() constant returns (uint256 supply) {}
function balanceOf(address _owner) constant returns (uint256 balance) {}
function transfer(address _to, uint256 _value) returns (bool success) {}
function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {}
pragma solidity ^0.4.16;
contract Token {
/// @return total amount of tokens
function totalSupply() constant returns (uint256 supply) {}
/// @param _owner The address from which the balance will be retrieved
/// @return The balance
function balanceOf(address _owner) constant returns (uint256 balance) {}
@jessiepathfinder
jessiepathfinder / fastsharedpointer.h
Last active September 20, 2021 13:54
A very fast shared pointer implementation (faster than the standard one)
#include <atomic>
using namespace std;
//those OpenJDK people should better use this for their next garbage collector
namespace jessielesbian::fast_shared_pointer{
template<typename T> struct single_thread_shared_pointer{
private:
//pointer
T* ptr;
//reference count
int* refcount;
@jessiepathfinder
jessiepathfinder / ikvmaotc.cs
Created November 10, 2020 07:14
IKVM.NET AOT Compiler
using System.Collections;
using System.Reflection;
using System.IO;
using IKVM.Internal;
using java.lang;
using java.util.zip;
using java.io;
using jessielesbian.IKVM;
using Console = System.Console;
using File = java.io.File;
@jessiepathfinder
jessiepathfinder / IKVMAdvertisement.txt
Created November 24, 2019 12:19
The Advertisement For IKVM.NET
IKVM.NET
Do you have a Java library and want to use it in c#?
Do you need a Java to EXE converter?
Well, there are very few open source options for things of this sort and IKVM.NET one of those options.
IKVM.NET is the best known open source Java to EXE converter and Java/Microsoft.NET interop tool.
https://github.com/jessielesbian/ikvm