A script that takes the svg icons from boostrap and generate a jinja template file with all the icons.
Repository: https://github.com/twbs/icons
{# | |
The MIT License (MIT) | |
Copyright (c) 2019-2024 The Bootstrap Authors | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
A script that takes the svg icons from boostrap and generate a jinja template file with all the icons.
Repository: https://github.com/twbs/icons
// MIT License | |
// | |
// Copyright (c) 2017 Nikolay Govorov | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: |
#include "graphics/RIDescriptorSetAllocator.h" | |
#include "system/stb_ds.h" | |
#include <cassert> | |
struct RIDescriptorSetSlot *AllocDescriptorsetSlot( struct RIDescriptorSetAlloc *alloc ) | |
{ | |
if( alloc->blocks == NULL || alloc->blockIndex == RESERVE_BLOCK_SIZE ) { | |
struct RIDescriptorSetSlot *block = (struct RIDescriptorSetSlot*)calloc( RESERVE_BLOCK_SIZE, sizeof( struct RIDescriptorSetSlot ) ); | |
alloc->blockIndex = 0; | |
arrpush( alloc->blocks, block ); |
use core::str; | |
use std::{fmt::Display, hash::Hash, u64}; | |
// unique id salt | |
const UNQ_ID_SALT: u64 = 10393820183; | |
pub type UidBuf = [u8; 10]; | |
#[derive(Clone)] | |
pub struct UnqID { | |
id: u32, |
#!/bin/bash | |
# Get the process name as an argument | |
process_name="wf_steam.x86_64" | |
# Loop until the process is found | |
while true; do | |
# Use pgrep to find the PID of the process | |
pid=$(pgrep -f "$process_name") |
#include "Forge/Config.h" | |
#include "Common_3/OS/Interfaces/IOperatingSystem.h" | |
#include "Common_3/Utilities/Interfaces/IFileSystem.h" | |
#include "Forge/Graphics/TF_GPUConfig.h" | |
#include <X11/Xlib.h> | |
#ifdef TF_TARGET_LINUX |
# Copyright (c) Meta Platforms, Inc. and affiliates. | |
# | |
# This source code is licensed under both the MIT license found in the | |
# LICENSE-MIT file in the root directory of this source tree and the Apache | |
# License, Version 2.0 found in the LICENSE-APACHE file in the root directory | |
# of this source tree. | |
load( | |
"@prelude//cxx:comp_db.bzl", | |
"CxxCompilationDbInfo", | |
) |
/* | |
* Copyright (c) Contributors to the Open 3D Engine Project. | |
* For complete copyright and license terms please see the LICENSE at the root of this distribution. | |
* | |
* SPDX-License-Identifier: Apache-2.0 OR MIT | |
* | |
*/ | |
#pragma once |
/* Copyright (c) 2021 Hans-Kristian Arntzen | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining | |
* a copy of this software and associated documentation files (the | |
* "Software"), to deal in the Software without restriction, including | |
* without limitation the rights to use, copy, modify, merge, publish, | |
* distribute, sublicense, and/or sell copies of the Software, and to | |
* permit persons to whom the Software is furnished to do so, subject to | |
* the following conditions: | |
* |