This file contains hidden or 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
# Estimated amount of the cost for fine-tuning GPT models | |
# Common | |
''' requirements.txt | |
httpx | |
numpy | |
openai | |
tiktoken | |
urllib3 |
This file contains hidden or 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
{ | |
"domainConfig": "http://192.168.0.123", | |
"listDMBK": [ | |
"http://192.168.0.456", | |
"http://192.168.0.789" | |
] | |
} |
This file contains hidden or 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
// ==UserScript== | |
// @name GitHub - Fork State | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description To let you know immediately that you already forked the visiting repository or not | |
// @author Vic P. @ https://vic.onl/ | |
// @match https://github.com/*/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=github.com | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js | |
// @run-at document-start |
This file contains hidden or 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
- lấy bài hát liên quan: | |
http://mp3.zing.vn/xhr/recommend?type=audio&id=ZW67OIA0 | |
- lấy data thông qua key: | |
http://mp3.zing.vn/xhr/media/get-source?type=audio&key=kmJHTZHNCVaSmSuymyFHLH | |
http://mp3.zing.vn/html5xml/song-xml/kmJHTZHNCVaSmSuymyFHLH | |
- lấy info bài hát | |
https://mp3.zing.vn/xhr/media/get-info?type=audio&id=ZW8I7AAI |
This file contains hidden or 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
typedef struct _IMAGE_DOS_HEADER | |
{ | |
_WORD e_magic; | |
_WORD e_cblp; | |
_WORD e_cp; | |
_WORD e_crlc; | |
_WORD e_cparhdr; | |
_WORD e_minalloc; | |
_WORD e_maxalloc; | |
_WORD e_ss; |
This file contains hidden or 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
# Simple script to disable ASLR and make .nv_fatb sections read-only | |
# Requires: pefile ( python -m pip install pefile ) | |
# Usage: fixNvPe.py --input path/to/*.dll | |
import argparse | |
import pefile | |
import glob | |
import os | |
import shutil |
This file contains hidden or 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
// ==UserScript== | |
// @name GitHub - Header Sticky On Top | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author Vic P. @ https://vic.onl/ | |
// @match https://github.com | |
// @match https://github.com/*/* | |
// @match https://gist.github.com/* | |
// @exclude https://gist.github.com/*/* |
This file contains hidden or 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
// ==UserScript== | |
// @name Reddit - Hide More Posts Section | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author Vic P. @ https://vic.onl/ | |
// @match https://www.reddit.com/r/*/comments/* | |
// @icon https://www.google.com/s2/favicons?domain=reddit.com | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js | |
// @run-at document-start |
This file contains hidden or 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
import React, { useState } from 'react'; | |
import { | |
Text, | |
View, | |
TouchableOpacity, | |
} from 'react-native'; | |
// npm i react-native-progress | |
import * as Progress from 'react-native-progress'; |
This file contains hidden or 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
#include <windows.h> | |
#include <iostream> | |
#include "ntddk.h" | |
bool enum_processes() | |
{ | |
ULONG retLen = 0; | |
// check length: |
NewerOlder