Skip to content

Instantly share code, notes, and snippets.

@WanderGink
WanderGink / HeaderAttribute.cs
Created December 2, 2021 15:36 — forked from CreatureSurvive/HeaderAttribute.cs
Better inspector headers in Unity
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
//using CS;
//[System.Serializable]
//public class HeaderExampleClass
//{
// [Header("My Fields", 3)]

SQL to MongoDB Mapping Chart

SQL to MongoDB Mapping Chart

In addition to the charts that follow, you might want to consider the Frequently Asked Questions section for a selection of common questions about MongoDB.

Executables

The following table presents the MySQL/Oracle executables and the corresponding MongoDB executables.

We couldn’t find that file to show.
@WanderGink
WanderGink / how-to-install-latest-gcc-on-ubuntu-lts.txt
Created September 27, 2017 12:05 — forked from application2000/how-to-install-latest-gcc-on-ubuntu-lts.txt
How to install latest gcc on Ubuntu LTS (12.04, 14.04, 16.04)
These commands are based on a askubuntu answer http://askubuntu.com/a/581497
To install gcc-6 (gcc-6.1.1), I had to do more stuff as shown below.
USE THOSE COMMANDS AT YOUR OWN RISK. I SHALL NOT BE RESPONSIBLE FOR ANYTHING.
ABSOLUTELY NO WARRANTY.
If you are still reading let's carry on with the code.
sudo apt-get update && \
sudo apt-get install build-essential software-properties-common -y && \
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \

Javascript

Values & Types

Javascript có các kiểu giá trị (không phải kiểu biến). Sau đây là các kiểu built-in sẵn có:

  • string
  • number
  • boolean
  • object
  • undefined & null
  • symbol (ES6)

Introduction Liquid

Basic

Object

Object trong Liquid bao gồm các thuộc tính (attribute) để xuất ra nội dung tương ứng và được biểu diễn bởi dấu ngoặc nhọn {{ và }}  

{{ page.title }}

Object Bizweb Theme: product, cart, collection, blog, article, page, custom..vv..

-> Add 'gem activemerchant' in gem file
-> bundle install
-> Go to "developer.paypal.com" and create an account(also known as Merchant Account) with US address details.
-> It will create two dummy test account for buyer and seller(alias facilitator) in "sandbox.paypal.com".
Ex:
    Seller account  --->  naveengoud-facilitator@gmail.com   Buyer account  --->  naveengoud-buyer@gmail.com
To see test accounts details Click on "Dashboard -> Accounts"
Now set the password for both test accounts by clicking on profile link

  1. Resource
  2. Debug Javascipt code
  3. Jquery selector
  4. CSS selector
  5. Ruby Nil Object
  6. Gem Setting
  7. Batch Update
  8. Transaction
  9. Rake task
  10. CSRF Protection

Muc dich cua router

Personalized Product Recommendations with Neo4j

Recommendations

Personalized product recommendations can increase conversions, improve sales rates and provide a better experice for users. In this Neo4j Browser guide, we’ll take a look at how you can generate graph-based real-time personalized product recommendations using a dataset of movies and movie ratings, but these techniques can be applied to many different types of products or content

Graph-Based Recommendations

Generating personalized recommendations is one of the most common use cases for a graph database. Some of the main benefits of using graphs to generate recommendations include

  • Performance. Index-free adjacency allows for calculating recommendations in real time, ensuring the recommendation is always relevant and reflecting up-to-date information.
  • Data model. The labeled propety graph model allows for easily combining datasets from multiple sources, allowing enterprises to unlock value from previously separated data silos. ![alt tex