Skip to content

Instantly share code, notes, and snippets.

View Extraltodeus's full-sized avatar

Extraltodeus

View GitHub Profile
@Extraltodeus
Extraltodeus / Cutwallpaper - Read me
Last active January 22, 2016 01:02
This script was made for triple monitor users, to automatically cut a picture in 3 equal parts, with good proportions
As far as I know you can put the .desktop file in ~/.local/share/kservices5/ServiceMenus/ if you're on Plasma 5
Don't forget to edit the commented lines if you want it to work as you wish.
The right-click function does not seem to work when there is a space in the path. Yet.
@thestonefox
thestonefox / ViveCursor.cs
Last active June 5, 2019 20:54
A basic implementation of a laser pointer for the HTC Vive controllers in Unity3D
using UnityEngine;
using System.Collections;
public class ViveCursor : MonoBehaviour {
public enum AxisType
{
XAxis,
ZAxis
}
@gunderson
gunderson / FlyCamera.cs
Last active June 27, 2024 15:18
Unity Script to give camera WASD + mouse control
using UnityEngine;
using System.Collections;
public class FlyCamera : MonoBehaviour {
/*
Writen by Windexglow 11-13-10. Use it, edit it, steal it I don't care.
Converted to C# 27-02-13 - no credit wanted.
Simple flycam I made, since I couldn't find any others made public.
Made simple to use (drag and drop, done) for regular keyboard layout
import matplotlib.pyplot as plt
from PyQt5 import QtCore
import numpy as np
import time
import math
class VisualiseFrequency(QtCore.QThread):
def __init__(self, song, canvas, player):