This file contains 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
# Prepare order number | |
ordernum = "NWHK-#{_data[:hook].id}" | |
params = { | |
ip_address: _data[:visitor_ip], # User's IP | |
idev_saleamt: [_data[:price], _data[:months]*5].max , # Sales Amount | |
idev_ordernum: ordernum # Order Number | |
} | |
# Add Coupone Code if Exist |
This file contains 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
<div id="genie-component" style="width: 450px;margin: auto;"></div> <!-- the HTML DOM to replace with the Genie Search Bar --> | |
<!-- Add the following inside the <body> tag --> | |
<script src="https://genie-ai.fra1.digitaloceanspaces.com/js/genie.js"></script> | |
<script> | |
initGenie("genie-component") // pass the DOM id | |
</script> |
This file contains 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
using UnityEngine; | |
using System.Collections; | |
public class QuadTreeTest : MonoBehaviour { | |
public class TestObject : IQuadTreeObject{ | |
private Vector3 m_vPosition; | |
public TestObject(Vector3 position){ | |
m_vPosition = position; | |
} | |
public Vector2 GetPosition(){ |
This file contains 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
<ul id="ul" data-name="name"> | |
<li data-value="1">1</li> | |
<li data-value="2">2</li> | |
<li data-value="3">3</li> | |
</ul> | |
<script type="text/javascript"> | |
$.extend($.fn, { | |
radioNizer: function () { | |
this.each(function () { |