React Fundamental | Summary |
---|---|
React |
|
JSX |
|
Components |
|
User-Defined Component | May be defined as a function or class but must be n |
Discover gists
{ | |
"objects": [ | |
{ | |
"operation": "Insert", | |
"externalId": "Id", | |
"mockFields": [], | |
"updateWithMockData": false, | |
"mockCSVData": false, | |
"deleteOldData": true, | |
"allRecords": true, |
This is a guide on how to send a properly formatted multipart email. Multipart email strings are MIME encoded, raw text email templates. This method of structuring an email allows for multiple versions of the same email to support different email clients.
// Example Multipart Email:
From: sender@example.com
To: recipient@example.com
Subject: Multipart Email Example
Content-Type: multipart/alternative; boundary="boundary-string"
@tool | |
class_name EditorIconTexture | |
extends AtlasTexture | |
var icon :String: | |
set(val): | |
icon = val | |
_update_icon.call_deferred() | |
func _init(): |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
- Follow standard conventions.
- Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
- Boy scout rule. Leave the campground cleaner than you found it.
- Always find root cause. Always look for the root cause of a problem.
#!/bin/sh | |
FLASH_TIME=$(opkg info busybox | grep '^Installed-Time: ') | |
for i in $(opkg list-installed | cut -d' ' -f1) | |
do | |
if [ "$(opkg info $i | grep '^Installed-Time: ')" != "$FLASH_TIME" ] | |
then | |
echo $i | |
fi |
This install is pretty different from previous versions of psql install instructions for windows. This install uses the WSL and Ubuntu shell.
We are installing this through the Ubuntu command line which is different from the other Ubuntu install instructions because those instructions use Ubuntu's GUI, which we don't have access to here.
using System; | |
using System.Runtime.InteropServices; | |
using System.Runtime.CompilerServices; | |
using Unity.Burst; | |
using Unity.Mathematics; | |
public static class CameraMath | |
{ | |
/// <summary> |
public static bool IntersectsBox( Vector3 a, Vector3 b, Vector3 c, Vector3 boxCenter, Vector3 boxExtents ) | |
{ | |
// From the book "Real-Time Collision Detection" by Christer Ericson, page 169 | |
// See also the published Errata at http://realtimecollisiondetection.net/books/rtcd/errata/ | |
// Translate triangle as conceptually moving AABB to origin | |
var v0 = ( a - boxCenter ); | |
var v1 = ( b - boxCenter ); | |
var v2 = ( c - boxCenter ); |