Skip to content

Instantly share code, notes, and snippets.

TiliSleepStealer

Block or report user

Report or block TiliSleepStealer

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
@TiliSleepStealer
TiliSleepStealer / NemosMiner-v2.0.7EuroTrash.ps1
Last active Jul 19, 2017
NemosMiner EuroTrash euro/day with cleaner output window
View NemosMiner-v2.0.7EuroTrash.ps1
param(
[Parameter(Mandatory=$false)]
[String]$Wallet,
[Parameter(Mandatory=$false)]
[String]$UserName,
[Parameter(Mandatory=$false)]
[String]$WorkerName = "ID=NemosMiner-v2.0.7",
[Parameter(Mandatory=$false)]
[Int]$API_ID = 0,
[Parameter(Mandatory=$false)]
@TiliSleepStealer
TiliSleepStealer / Entity.h
Created Jul 7, 2017
single header entity component system
View Entity.h
#include <iostream>
#include <vector>
#include <memory>
#include <algorithm>
#include <bitset>
#include <array>
#include <cassert>
#include <type_traits>
// We will implement groups by giving a group bitset to every entity,
@TiliSleepStealer
TiliSleepStealer / DoomGlow.cs
Created Jun 13, 2017
Doom glow - fake volumetric light glow effect in Unity by Tili_us
View DoomGlow.cs
// This file is in the public domain. Where
// a public domain declaration is not recognized, you are granted
// a license to freely use, modify, and redistribute this file in
// any way you choose.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// Unity remake of a fake volumetric light glow effect
View triangleBinding.cpp
Matrix4 Md2Model::GetTrianglePos(int frameA, int frameB, float interp, int index, const Vector3& localOffset, const Vector3& localRot) {
Vector3 tri[3];
if(frameA == frameB) {
// not animating
Md2Frame_t *pFrame = &_frames[frameA];
for(int j = 0; j < 3; ++j) {
Md2Vertex_t *pVert = &pFrame->verts[_triangles[index].vertex[j]];
tri[j] = Vector3((pFrame->scale[0] * pVert->v[0] + pFrame->translate[0]) * _scale,
(pFrame->scale[1] * pVert->v[1] + pFrame->translate[1]) * _scale,
@TiliSleepStealer
TiliSleepStealer / CppCoroutine.cpp
Created Jun 23, 2014
C++ Coroutines kinda like Unity but shitier
View CppCoroutine.cpp
// c++ Coroutines by tim.tili.sabo@gmail.com
// using modified coroutines.hpp from boost
#include <stdio.h>
#include <string.h>
#include "SDL/SDL.h"
#include "CoroutineTest.h"
#include <boost/foreach.hpp>
namespace { // anonymous namespace
You can’t perform that action at this time.