Discover gists
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
import androidx.compose.ui.tooling.preview.PreviewParameterProvider | |
import kotlin.reflect.KClass | |
/** | |
* Creates a [PreviewParameterProvider] based on the classes of two existing providers. | |
* | |
* You can create your own easily with Kotlin delegation: | |
* ``` | |
* class ExampleProvider : PreviewParameterProvider<Pair<Type1, Type2>> | |
* by compositeProvider(Type1ParameterProvider::class, Type2ParameterProvider::class) |
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
# train_grpo.py | |
# | |
# See https://github.com/willccbb/verifiers for ongoing developments | |
# | |
import re | |
import torch | |
from datasets import load_dataset, Dataset | |
from transformers import AutoTokenizer, AutoModelForCausalLM | |
from peft import LoraConfig | |
from trl import GRPOConfig, GRPOTrainer |
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
{ | |
"estados": [ | |
{ | |
"sigla": "AC", | |
"nome": "Acre", | |
"cidades": [ | |
"Acrelândia", | |
"Assis Brasil", | |
"Brasiléia", | |
"Bujari", |
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
# delete local tag '12345' | |
git tag -d 12345 | |
# delete remote tag '12345' (eg, GitHub version too) | |
git push origin :refs/tags/12345 | |
# alternative approach | |
git push --delete origin tagName | |
git tag -d tagName |
-
Awesome Web Hacking: A list of web application security
https://github.com/infoslack/awesome-web-hacking -
Awesome Web Security: A curated list of Web Security materials and resources
https://github.com/qazbnm456/awesome-web-security -
Yet Another Awesome Web Hacking - 1 https://github.com/carpedm20/awesome-hacking?tab=readme-ov-file#web
-
iOSRE: Useful and updated tools and knowledge on iOS reverse engineering and exploitation
https://github.com/kpwn/iOSRE -
I want to be a jailbreak developer: Where do I start? What do I need to get started?
https://reddit.com/r/jailbreak/comments/5zzgmo/question_i_want_to_be_a_jailbreak_developer -
iOS Guide: A complete iOS jailbreaking guide, from stock to jailbroken https://ios.cfw.guide
NewerOlder