Skip to content

Instantly share code, notes, and snippets.

View AslamPangestu's full-sized avatar
💭
I may be slow to respond.

Muhammad Aslam Pangestu Idham AslamPangestu

💭
I may be slow to respond.
View GitHub Profile
@AslamPangestu
AslamPangestu / objectToFormData.ts
Last active September 23, 2025 09:45
Converting Object to FormData
const objectToFormData = (
obj: Record<string, unknown>,
parentKey = "",
): FormData => {
const formData = new FormData();
for (const key in obj) {
const fullKey = parentKey ? `${parentKey}[${key}]` : key;
if (
@AslamPangestu
AslamPangestu / README.md
Created January 16, 2023 03:24 — forked from lopspower/README.md
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

Download This sample on Google Play Store

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PipeSpawner : MonoBehaviour
{
//Global variables
[SerializeField] private Bird bird;
[SerializeField] private Pipe pipeUp, pipeDown;
[SerializeField] private float spawnInterval = 1;
<?xml version="1.0"?>
<soap:Envelope
xmlns:soap="http://kerudung.merah/2018/11/soap-envelope/"
soap:encodingStyle="http://kerudung.merah/2018/11/soap-encoding">
<soap:Header>
<m:Trans xmlns:m="http://kerudung.merah/transaction/"
soap:actor="http://kerudung.merah/code/"
soap:mustUnderstand="1">234
</m:Trans>