Skip to content

Instantly share code, notes, and snippets.

View hww's full-sized avatar

Valery (h2w) hww

View GitHub Profile
@hww
hww / FLabelColorized.cs
Last active December 31, 2015 05:38
Dirty way add color tags like "Hello [FF0000]Wold[-]!" at the FLabel. Additionally this class have a 3D mesh builder. Which lets to make text attached to a 3D game object
using System;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
/*
*
* By: hww
*
* Use :
@hww
hww / FLabelWave.cs
Created December 13, 2013 10:59
Futile class FLabel which may have vertical animation per single character (looks like wave)
using System;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
/*
*
* By: hww
*
* Use:
@hww
hww / WaveEffect.cs
Last active December 31, 2015 05:39
using UnityEngine;
#pragma warning disable 414
/*
*
* By: hww
*
*/
@hww
hww / Label3D.cs
Last active December 31, 2015 16:59
using System;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
/*
* To use this object as 3D text mesh
*
* void AttachLabelToGameObject (GameObject obj, string font, string text) {
*
@hww
hww / FLabelAnimated.cs
Last active December 31, 2015 21:59
Futils extension
using UnityEngine;
using System.Collections;
/*
*
* By: hww
*
* Use:
*
* animatedLabel = new FLabelAnimated("Tondu");
@hww
hww / FTextEffect.cs
Last active December 31, 2015 21:59
Futils extension
using UnityEngine;
using System.Collections;
using System;
public class FTextEffect {
public class BaseSequence {
public bool enabled; // enimation enabled
public float duration; // duration of the animation
@hww
hww / install-gentoo-zfs-root.txt
Last active September 6, 2023 21:40
Install gentoo ZFS root
#
# Boot Linux Live CD with ZFS support
# fearedbliss maintains a variant of System Rescue CD that is highly recommended:
# https://wiki.gentoo.org/wiki/User:Fearedbliss
# Instruction for a USB key version
# http://www.sysresccd.org/Sysresccd-manual-en_How_to_install_SystemRescueCd_on_an_USB-stick
# To use ssh
# ssh -fN -R localhost:10099:localhost:22 name@server
@hww
hww / manjaro-17.1.2-zfs-root.bash
Last active May 29, 2023 19:52
nstalation of manjaro zfs root
# ===================================
# Origianly from https://forum.manjaro.org/t/solved-manjaro-16-06-01-zfs-root-installation-problem/4469
# ===================================
sudo -i
# ===================================
# Installed the system onto an USB drive, then
# ===================================
Step 1: Prepare The Install Environment
1.1 Boot the Ubuntu Live CD, select Try Linux, and open a terminal (press Ctrl-Alt-T).
1.2 Setup and update the repositories:
$ sudo apt-add-repository universe
$ sudo apt update
1.3 Optional: Start the OpenSSH server in the Live CD environment:
# -------------------------------------------------
# pacman -Qe | awk '{print $1}'
# -------------------------------------------------
accountsservice
acpi
acpid
alsa-firmware
alsa-plugins
alsa-utils
arandr