Skip to content

Instantly share code, notes, and snippets.

View xjsender's full-sized avatar
🎯
Focusing

Hao Liu xjsender

🎯
Focusing
View GitHub Profile
@xjsender
xjsender / baidu-map-quick-custom-overlay.html
Created May 9, 2016 14:10 — forked from ufologist/baidu-map-quick-custom-overlay.html
百度地图 JavaScript API 极速版自定义覆盖物
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>百度地图 JavaScript API 极速版自定义覆盖物</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no" />
<style>
body,
html,
#mapdemo {
@xjsender
xjsender / multiple_ssh_setting.md
Last active August 29, 2015 14:27 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
@xjsender
xjsender / remoteObjectNodes.page
Last active August 29, 2015 14:16 — forked from peterknolle/remoteObjectNodes.page
JSTree sample used in SFDC
<apex:page >
<!-- download the jstree from jstree.com and upload the dist directory as a static resource -->
<link href="{!URLFOR($Resource.jsTree, 'themes/default/style.min.css')}" rel="stylesheet" />
<script src="{!URLFOR($Resource.jsTree, 'libs/jquery.js')}"></script>
<script src="{!URLFOR($Resource.jsTree, 'jstree.min.js')}"></script>
<script src="{!URLFOR($Resource.jsTree, 'jstree.min.js')}"></script>
<!--
Change the remoteObjectModel name="Account and
@xjsender
xjsender / ApexOrg2Org
Last active June 13, 2023 04:03 — forked from richardvanhook/ApexOrg2Org
Apex SOAP Login
/*
======================================================================
The following apex code demonstrates logging into another salesforce
org via the SOAP/XML web service api and then using session id to
query the standard REST API as well as the Chatter REST API.
To run this code, simply copy and paste into execute anonymous,
then replace the value of the first three variables accordingly.
NOTES:
(1) You'll need to create a remote site setting for both the login