- PHP >= 5.6.4
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
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
git status | |
git add . | |
git commit -m "initial commit" | |
git push -u origin master |
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 Vuforia; | |
public class FocusManager : MonoBehaviour { | |
private void Start() | |
{ | |
BackToAuto(); | |
} |
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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class QuitOnBack : MonoBehaviour { | |
// Update is called once per frame | |
void Update () { | |
if (Input.GetKeyDown(KeyCode.Escape)) | |
Application.Quit(); |
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
function cekDiskonAsli(string){ | |
var diskon_asli = 0; | |
var a = string.split('+'); | |
for(var i=0;i<a.length;i++) | |
{ | |
var x = 100; | |
if(i != 0) | |
{ |
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
function getRealDiscount(stringDiscount){ | |
var real_discount = 0; | |
var a = stringDiscount.split('+'); | |
for(var i=0;i<a.length;i++) | |
{ | |
var x = 100; | |
if(i != 0) | |
{ |
git push origin [local-branch] -o merge_request.create -o merge_request.target=[target-branch]
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
let a = document.createElement('a'); | |
a.href = "data:application/octet-stream,"+encodeURIComponent([url_image_or_document]); | |
a.download = 'myFile.json';//filename | |
a.click(); | |
//source | |
//https://stackoverflow.com/questions/2897619/using-html5-javascript-to-generate-and-save-a-file |
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
adb connect localhost:21503 |
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
from flask import Flask, request | |
import re, json | |
from face_util import compare_faces, face_rec | |
app = Flask(__name__) | |
@app.route('/face_match', methods=['POST']) | |
def face_match(): | |
if request.method == 'POST': | |
# check if the post request has the file part |
OlderNewer