Skip to content

Instantly share code, notes, and snippets.

View Ultraspider's full-sized avatar

Sebastien Lemmens Ultraspider

View GitHub Profile
loridaz@Sleipnir:~/dev/scikits.image$ sudo python setup.py install
[sudo] password for loridaz:
cython -o /home/loridaz/dev/scikits.image/scikits/image/opencv/opencv_backend.c.new /home/loridaz/dev/scikits.image/scikits/image/opencv/opencv_backend.pyx
Cython (http://cython.org) is a compiler for code written in the
Cython language. Cython is based on Pyrex by Greg Ewing.
Usage: cython [options] sourcefile.pyx ...
Options:
@Ultraspider
Ultraspider / ShaderReplacer.cs
Created October 26, 2022 16:36 — forked from dimmduh/ShaderReplacer.cs
automatic replace shader in unity from pc to mobile
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
public class ShaderReplacer : MonoBehaviour {
private static readonly Dictionary<string, Shader> replaceTo = new Dictionary<string, Shader>()
{
{"Legacy Shaders/Diffuse", Shader.Find("Mobile/Diffuse") },