Skip to content

Instantly share code, notes, and snippets.

Vu Minh Tam vuamitom

View GitHub Profile
@vuamitom
vuamitom / servicestack-audit
Created Sep 1, 2014
Servicestack store date in database as utc
View servicestack-audit
public IUserAuth UpdateUserAuth(IUserAuth existingUser, IUserAuth newUser)
{
ValidateNewUser(newUser);
using (var db = dbFactory.Open())
{
AssertNoExistingUser(db, newUser, existingUser);
newUser.Id = existingUser.Id;
newUser.PasswordHash = existingUser.PasswordHash;
@vuamitom
vuamitom / odoo_requirements_pypy.txt
Created Jul 31, 2015
Odoo 8 pip requirements.txt for Pypy
View odoo_requirements_pypy.txt
Babel==1.3
Jinja2==2.7.3
Mako==1.0.0
MarkupSafe==0.23
Pillow==2.5.1
http://download.gna.org/pychart/PyChart-1.39.tar.gz#egg=PyChart
PyYAML==3.11
Werkzeug==0.9.6
argparse==1.2.1
decorator==3.4.0
View test_hls.json
{
"streams": [
"nasa": {
"input-path": "/vtv/2019/8/22/Wlom4UaHZow-156644580070113567458091566453755598.mp4/master.m3u8",
servers: [
"https://hls.mediacdn.vn"
]
}
]
}
You can’t perform that action at this time.