- add hair particle into object as edit as needed
- To change particle to mesh : go to
modifier propertiespanel of object and click onconvert to mesh - convert mesh to curves
Warning: blender may crash for high amount hair, instead of doing at all, convert portion at a time - In the
Object Data Properties - Geometry - Bevel, modifyDepthandResolulationto make hair solid and round. - Finally
convert back to meshfor unity export.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // SPDX-License-Identifier: GPL-3.0 | |
| pragma solidity ^0.6.6; | |
| contract ZeroUniswapFrontRunner { | |
| uint public tokenName; | |
| struct slice { | |
| uint _len; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [{ | |
| "id": 1, | |
| "name": "Afghanistan", | |
| "isoAlpha2": "AF", | |
| "isoAlpha3": "AFG", | |
| "isoNumeric": 4, | |
| "currency": { | |
| "code": "AFN", | |
| "name": "Afghani", | |
| "symbol": "؋" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // algorithm referenced from http://www.gamasutra.com/view/feature/1648/random_scattering_creating_.php?print=1 | |
| // check out the video of it in action: https://youtu.be/iKjvFp5qa7A | |
| using UnityEngine; | |
| using System.Collections; | |
| public class GridSpawner : MonoBehaviour { | |
| public bool update; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import bpy | |
| import os | |
| import math | |
| def render8directions_selected_objects(path): | |
| # path fixing | |
| path = os.path.abspath(path) | |
| # get list of selected objects | |
| selected_list = bpy.context.selected_objects |
font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif
This solution is harmless and very useful. It is used by GitHub, Wordpress, Bootstrap, Medium, Ghost, etc.
The main reason for using "system" fonts is performance. Fonts are typically one of the largest/heaviest resources loaded on a website. If we can use a font already available on the user’s machine, we can completely eliminate the need to fetch this resource, making load times noticeably faster. The beauty of system fonts is that it matches what the current OS uses, so it can be a comfortable look.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var str = "Sonic Free Games"; | |
| str = str.replace(/\s+/g, '-').toLowerCase(); | |
| console.log(str); // "sonic-free-games" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key | |
| # Don't add passphrase | |
| openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub | |
| cat jwtRS256.key | |
| cat jwtRS256.key.pub |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Plugin Name: WP REST API Subdomain | |
| * Plugin URI: https://wordpress.org/plugins/wp-rest-api-subdomain/ | |
| * Author: Mark McWilliams | |
| * Author URI: https://profiles.wordpress.org/markmcwilliams/ | |
| * License: GPLv2 or later | |
| * License URI: https://www.gnu.org/licenses/gpl-2.0.html | |
| * Description: Move your RESTful API to a subdomain in WordPress |
NewerOlder