Skip to content

Instantly share code, notes, and snippets.

@chrisbanes
chrisbanes / FloatLabelLayout.java
Last active September 4, 2024 05:58
FloatLabelLayout
/*
* Copyright 2014 Chris Banes
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
/*
* Copyright (C) 2014 Chris Banes
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@chrisbanes
chrisbanes / SystemUiHelper.java
Last active November 5, 2024 13:50
SystemUiHelper
/*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@stu43005
stu43005 / reclaimWindows10.ps1
Last active October 23, 2024 08:09 — forked from alirobe/reclaimWindows10.ps1
"Reclaim Windows 10" 關閉一堆不必要的Windows 10功能,刪除暴力和隱私侵犯。 此為客製化的版本,在執行前請先檢查和調整。請將檔案儲存為``BIG5``或``UTF-8 with BOM``編碼。 Fork via https://gist.github.com/alirobe/7f3b34ad89a159e6daa1
##########
# Win10 Initial Setup Script
# Author: Disassembler <[email protected]>
# Translator: Shiaupiau <[email protected]>
# Version: 1.7, 2016-08-15
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/
# alirobe's script: https://gist.github.com/alirobe/7f3b34ad89a159e6daa1
# THIS IS A PERSONALIZED VERSION
@ArnCarveris
ArnCarveris / hierarchy.hpp
Last active September 30, 2024 07:53
EnTT Hierarchy
#pragma once
#include <entt/entity/registry.hpp>
namespace entt
{
/*! @brief TODO */
template<typename Entity>
class Hierarchy final {
using traits_type = entt_traits<Entity>;