Skip to content

Instantly share code, notes, and snippets.

Avatar

Nguyễn Thế Trung thetrung

View GitHub Profile
View RSASHA256.cpp
// Copyright 2020 The Defold Foundation
// Licensed under the Defold License version 1.0 (the "License"); you may not use
// this file except in compliance with the License.
//
// You may obtain a copy of the License, together with FAQs at
// https://www.defold.com/license
//
// Unless required by applicable law or agreed to in writing, software distributed
// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
// CONDITIONS OF ANY KIND, either express or implied. See the License for the
@thetrung
thetrung / database.rules.json
Created Sep 24, 2020 — forked from codediodeio/database.rules.json
Common Database Rules for Firebase
View database.rules.json
// No Security
{
"rules": {
".read": true,
".write": true
}
}
@thetrung
thetrung / run_server.sh
Created Sep 8, 2020
Start SimpleHTTPServer in Background
View run_server.sh
#!/usr/bin/env bash
# Create a page in the current dir
echo "Init server..."
# Start server
python -m SimpleHTTPServer 8000 &> /dev/null &
pid=$!
You can’t perform that action at this time.