Skip to content

Instantly share code, notes, and snippets.

View samuraitruong's full-sized avatar

Truong Nguyen samuraitruong

View GitHub Profile
[{"name":"Bob","gender":"Male","age":23,"pets":[{"name":"Garfield","type":"Cat"},{"name":"Fido","type":"Dog"}]},{"name":"Jennifer","gender":"Female","age":18,"pets":[{"name":"Garfield","type":"Cat"}]},{"name":"Steve","gender":"Male","age":45,"pets":null},{"name":"Fred","gender":"Male","age":40,"pets":[{"name":"Tom","type":"Cat"},{"name":"Max","type":"Cat"},{"name":"Sam","type":"Dog"},{"name":"Jim","type":"Cat"}]},{"name":"Samantha","gender":"Female","age":40,"pets":[{"name":"Tabby","type":"Cat"}]},{"name":"Alice","gender":"Female","age":64,"pets":[{"name":"Simba","type":"Cat"},{"name":"Nemo","type":"Fish"}]}]
git config --global --add merge.tool kdiff3
git config --global --add mergetool.kdiff3.path "C:/Program Files/KDiff3/kdiff3.exe"
git config --global --add mergetool.kdiff3.trustExitCode false
git config --global --add diff.guitool kdiff3
git config --global --add difftool.kdiff3.path "C:/Program Files/KDiff3/kdiff3.exe"
git config --global --add difftool.kdiff3.trustExitCode false
https://github.com/ianstormtaylor/slate
https://github.com/zenoamaro/react-quill
https://github.com/jpuri/react-draft-wysiwyg
react-rte
https://jpuri.github.io/react-draft-wysiwyg/#/
https://github.com/nikgraf/awesome-draft-js
https://github.com/superRaytin/react-monaco-editor
https://github.com/globocom/megadraft
# Set the Azure Subscription in current PowerShell context.
function setAzureSubscription($basePath){
# run Get-AzurePublishSettingsFile to retrive the file
$path = '{0}/{1}' -f $basePath, 'samuraitruong.PublishSettings'
# write-host (Get-Content -path $path)
Import-AzurePublishSettingsFile -PublishSettingsFile $path | Out-Null
Select-AzureSubscription -SubscriptionName "Pay-As-You-Go" | Out-Null
Write-Host "$(Get-Date -f $timeStampFormat) - Set Azure subscription Completed " -foregroundcolor "green"
}
alexa.design/factskill
alexa.design/labs-local
alexa.design/codegenerator
alexa.design/labs-iot
alexa.design/memoryskill
http://samuraitruong.ddns.net/
http://samuraitruong.ddns.net/a-z
var Excel = require("exceljs")
var data = {
headers: ["name", "address", "age", "dbo","passed", "score"],
data: [
{name: "Truong", score: 4, dob: new Date()},
{name: "Truong1", age: 3, dob: new Date(), passed: false},
{name: "Truong1", score: 2, address: "123 xxx",age: 13, dob: new Date(), passed: true},
{name: "Truong1", score: 2, address: "123 xxx",age: 13, dob: new Date(), passed: true},
{name: "Truong1", score: 3, address: "123 xxx",age: 13, dob: new Date(), passed: true},
https://medium.com/burak-tasci/backend-development-on-azure-functions-with-typescript-56113b6be4b9
https://github.com/azure-seed/azure-functions-typescript/blob/master/src/some-function/some-function.ts
https://github.com/azure-seed/azure-functions-ts-essentials/blob/master/src/index.ts
settings put pointer_location 1
settings put pointer_location 1
https://repl.it
https://www.codercrunch.com/code/playground
https://code.sololearn.com/c39N9RN6b4Md/#cpp
http://www.programmr.com/zone/cpp