- S = Speaker View
- Escape = Zoom Out View
- Alt + Click = Zoom/Unzoom Into a Slide
- B = (Un)Pause presentation (Black Screen)
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEditor; | |
static class LoadAllMaterials | |
{ | |
static readonly string title = "Load All Materials"; | |
static GameObject obj; |
import math | |
node = hou.pwd() | |
geo = node.geometry() | |
def pt(angle, dist): | |
return(math.cos(angle * 3.1415926535)*dist, math.sin(angle * 3.1415926535)*dist,0) | |
p1 = geo.createPoint() | |
p1.setPosition(pt(0,1)) |
// Flames live wallpaper (c)2021 thomas iche | |
// for use with android shader editor (https://github.com/markusfisch/ShaderEditor) | |
// LICENSE : WTF Public License (http://www.wtfpl.net/) | |
#ifdef GL_FRAGMENT_PRECISION_HIGH | |
precision highp float; | |
#else | |
precision mediump float; | |
#endif |
# BSD License | |
# ----------- | |
# | |
# Copyright (c) 2022 Thomas Iché (peeweek.net) 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, this | |
# list of conditions and the following disclaimer. | |
# * Redistributions in binary form must reproduce the above copyright notice, this |
# ----------------------------------------- | |
# PS1 Shells | |
# ----------------------------------------- | |
# Two-line monochrome | |
export PS1="╭[\@] [\u@\h] [\W]\n╰ $ " | |
# Single-line multicolor | |
export PS1="\[\033[38;5;231m\]\t\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;85m\]\u@\h\[$(tput sgr0)\]\[\033[38;5;15m\]:\[$(tput sgr0)\]\[\033[38;5;195m\][\w]\[$(tput sgr0)\]\[\033[38;5;17m\]:\[$(tput sgr0)\]\[\033[38;5;15m\]\[$(tput sgr0)\]" |
#!/bin/bash | |
# Comments are like that | |
# First line is the shebang with #, !, then path to the executable (meaning it can be /bin/python) | |
##################### | |
## STATEMENTS | |
##################### | |
# One Statement per line |
// Some code that adds a few new custom counters in the unity profiler | |
// Not perfect, generates a few garbage, possible inaccurate values in forwarders | |
using UnityEngine; | |
using UnityEngine.Profiling; | |
using Unity.Profiling; | |
using UnityEngine.VFX; | |
using System.Collections.Generic; | |
public class VFXProfilerCounters : MonoBehaviour | |
{ |
I didn´t plan on writing from a blank slate tonight, but today I stumbled upon an interesting case over the internets.
A bit of context first, I was delving into my X360 in order to move few saves from my dying disk to the cloud, and, interestingly, I booted my console with my profile disconnected. Interestingly too, I was not able to log in anymore. Due to some 8-digit hex random error code that only Microsoft has secrecy.
A bit disappointed, I replaced the network cable, disabled my ad-blocking DNS... still nothing. Then I started searching online for this error code : namely the dreaded 8015D086