Skip to content

Instantly share code, notes, and snippets.

View conanak99's full-sized avatar

Phạm Huy Hoàng conanak99

View GitHub Profile
<html>
<body>
<script src="/base.js"></script>
<script src="/util.js"></script>
<script src="/register.js"></script>
</body>
<html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Tài liệu học tập</title>
</head>
<body ng-app="javApp" ng-controller="javController">
<ul>
<!-- Template trong view -->
<li ng-repeat="video in learningVideos">
<a href="{{video.link}}">{{video.name}}</a>
</li>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Tài liệu học tập</title>
</head>
<body>
<ul>
<li><a href="http://jav.av">Tài liệu Nhật</a></li>
<li><a href="http://kav.av">Tài liệu Hàn</a></li>
<li><a href="http://vav.av">Tài liệu Việt</a></li>
</ul>
$('#jav > .inner').text('Do not watch JAV')
document.getElementById('jav')
.getElementByClass('inner')[0].innerText = 'Do not watch JAV';
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Tài liệu học tập</title>
</head>
<body>
<ul>
<li><a href="http://jav.av">Tài liệu Nhật</a></li>
<li><a href="http://kav.av">Tài liệu Hàn</a></li>
<li><a href="http://vav.av">Tài liệu Việt</a></li>
</ul>
# sample importing from your own library
#from samplelib.lib1 import print_something
from zipline.api import order_target, record, symbol, symbols, history
from zipline import run_algorithm
from time import time
import datetime
import pytz
import matplotlib.pyplot as plt
{
"extends": "airbnb-base"
}
npm init
npm install -D eslint eslint-plugin-import eslint-config-airbnb-base
# Cài đặt eslint và các plugin
(async () => {
const imageUrl = 'http://storage.vpopfan.com/sontungmtp.jpg';
const detectResult = await detectImage(imageUrl);
addFlower(imageUrl, detectResult, 'jav_flower.jpg');
})();
async function addFlower(url, detectResult, output) {
// Tính toán vị trí và khuôn mặt
const face = detectResult[0]; // Hình chỉ nhận được 1 khuôn mặt