Skip to content

Instantly share code, notes, and snippets.

import { Pass } from "three/examples/jsm/postprocessing/Pass";
import { Color, WebGLRenderTarget } from "three";
class RenderPass2 extends Pass {
constructor(scene, camera, overrideMaterials, overrideMesh) {
super();
this.scene = scene;
this.camera = camera;
I am attesting that this GitHub handle samhains is linked to the Tezos account tz1V4eCNuSVh6Txj4HprXmj9JYCo6N97TAdt for tzprofiles
sig:edsigtcSPjyMdA6vsK1vXJSKmrxK5r2xLRB87PErkaPRxvqMatzii7bCp9M1pGoiHvvY3dSAS2vst3gvWYFoUy6GfhXrA64FdF9
using GTA;
using System;
using GTA.Native;
using System.Windows.Forms;
public class ScriptTutorial : Script
{
bool isBotEngaged = true;
public ScriptTutorial()
/// ---------------------------------------------
/// Ultimate Character Controller
/// Copyright (c) Opsive. All Rights Reserved.
/// https://www.opsive.com
/// ---------------------------------------------
using UnityEngine;
using Opsive.UltimateCharacterController.Game;
using Opsive.UltimateCharacterController.Events;
using Opsive.UltimateCharacterController.Traits;
Welcome to Paradise Town
The worlds longest running automated Reality Television series
Today we will be following the life of automaton, Judy Egerton, a light-skinned woman with long brown hair.
Judy Egerton, has a partner and their name is Bernard Allemand.
Bernard Allemand, a light-skinned man with glasses and long brown hair from 100 block of Christian Avenue.
Judy Egerton spark levels are at around 9, while Bernard Allemand spark levels are at around 6.
Neither of them are into eachother.
Judy Egerton wipes her eyeballs and wanders to 6th Street Apartments.
Irritatingly, as Judy Egerton continues to go to the 6th Street Apartments, they hear their stranger Geoff Wymer waiting for them by the escalator.
I bet there are a lot of automaton boys that would spend long evenings with you, Judy Egerton. Are you curious about anyone?
"The Garden of Live Flowers" by Sam Hains
[This is a comment.]
The House is a room."You are at the door to your house. If you head north there is a path that leads to the top of a hill in the distance.". The Garden is a room. “The path gives to a sudden twist and shakes itself, the next moment you find yourself walking in at the door. There is nothing to be done but to start again. However, this time there is a large flower-bed, with a willow-tree growing in the middle.” .The Corkscrew Path is a room."How curiously the path twists! It is more like a corkscrew than a path! Well, THIS turn goes to the hill, I suppose- no, it doesn't!". The Dark Garden is a room."The garden has been covered in a cloak of darkness. There are many sets of eyes in the night sky, and you can hear the sound of television static and canned laughter. You feel paranoid.". The Corkscrew Path is north of The House.
Following is an action applying to nothing.
Understand “follow” or "follow path" as following.
Release along with an inter
#version 150
#extension GL_ARB_texture_rectangle : enable
uniform sampler2DRect tex, mask;
uniform vec2 direction;
in vec2 texCoordVarying;
out vec4 outputColor;
uniform int k;
void main() {
vec2 pos = texCoordVarying;
#include "OpenFrameworksTOP.h"
#include <windows.h>
#include <gl/glew.h>
#include <cstdio>
#include <assert.h>
#include <stdio.h>
#include <string.h>
#include "OpenFrameworksTOP.h"
#include <windows.h>
#include <gl/glew.h>
#include <cstdio>
#include <assert.h>
#include <stdio.h>
#include <string.h>
@samhains
samhains / getFaceKeypoints.py
Created April 18, 2018 14:46
FaceSwap-DAN modifications for multiple faces
def getFaceKeypoints(img, detector, predictor, inputLandmarks=None, frameCounter=0):
shapes2D = []
# if inputLandmarks is None or frameCounter % 10 == 0:
#detekcja twarzy
dets = detector(img, 1)
if len(dets) == 0:
return None