Skip to content

Instantly share code, notes, and snippets.

View opdo's full-sized avatar

Vinh Pham opdo

  • Vietnam
View GitHub Profile
@opdo
opdo / AutoSaySorry_200times.au3
Last active December 31, 2015 02:09
Source Code Auto Say Sorry - Eck Op
#cs
Tool Auto Say Sory - Opensource
Code by Ếck Ộp
Blog: http://eckop.tk
Thanks for using
#ce
#NoTrayIcon
#include <GUIConstantsEx.au3>
#include <ListViewConstants.au3>

Keybase proof

I hereby claim:

  • I am opdo on github.
  • I am vinhpham (https://keybase.io/vinhpham) on keybase.
  • I have a public key ASDv7-Clsq77fk1j_q8-WzOlTxZf0LayuCWygDqtyxvRLwo

To claim this, I am signing this object:

@opdo
opdo / DemoJson.cs
Last active September 17, 2019 17:24
Demo lưu danh sách sản phẩm
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
// Nhớ vào Nuget package console cài cái này
// install-package Newtonsoft.Json
namespace DemoJson
{
@opdo
opdo / DemoThread.cs
Last active September 24, 2019 16:50
DemoThread.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace TestThread
@opdo
opdo / sql
Created February 12, 2020 04:32
Hash Password by Trigger SQL SERVER
-- trigger trên table USER
create trigger [dbo].[trg_AutoCryptPassword] on [dbo].[USER]
for insert, update
as
begin
if UPDATE([Password])
begin
declare @id int
declare @Password varchar(256)
select @Password = [Password], @id = IdUser from inserted
@opdo
opdo / Test.js
Created July 3, 2021 13:47
Test.js
fetch("https://ai.marketing/service/api/v1/user/robot/stat/sales/", {
"headers": {
"accept": "application/json, text/plain, */*",
"accept-language": "en-US,en;q=0.9,vi;q=0.8",
"content-type": "application/json;charset=UTF-8",
"sec-ch-ua": "\" Not;A Brand\";v=\"99\", \"Microsoft Edge\";v=\"91\", \"Chromium\";v=\"91\"",
"sec-ch-ua-mobile": "?0",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-origin"