A quick proposal example for a preprocessor.
Input file "some-sql.pwn":
stock doSomeSQL() {
@SQL(mysql_pqueryf, 10, 20) {
SELECT *
FROM table
WHERE x=y
#!/usr/bin/env sh | |
# https://jqplay.org/s/CpDPlGueMM | |
# usage: `github-release-downloads.sh Username/Repository` | |
curl -s https://api.github.com/repos/$1/releases | | |
jq '[.[].assets | .[].download_count] | add' - |
A quick proposal example for a preprocessor.
Input file "some-sql.pwn":
stock doSomeSQL() {
@SQL(mysql_pqueryf, 10, 20) {
SELECT *
FROM table
WHERE x=y
build: | |
image: | |
name: southclaws/sampctl:latest | |
entrypoint: [""] | |
tags: [pawn] | |
artifacts: | |
paths: | |
- gamemodes/barp.amx | |
cache: | |
paths: |
# Uncrustify-0.68-59-5813ad32 | |
# | |
# General options | |
# | |
# The type of line endings. | |
# | |
# Default: auto | |
newlines = auto # lf/crlf/cr/auto |
#open.mp Individual Contributor License Agreement
Thank you for your interest in contributing to open.mp ("We" or "Us").
This contributor agreement ("Agreement") documents the rights granted by contributors to Us. To make this document effective, please sign it and send it to Us by electronic submission, following the instructions at https://cla-assistant.io/openmultiplayer/homepage. This is a legally binding document, so please read it carefully before agreeing to it. The Agreement may cover more than one software project managed by Us.
The preferred way of invoking a system call is determined by the kernel at boot time, and evidently this box uses
sysenter
. On an older machine you may see int 0x80
being used instead. In case you
are struggling to make sense of that jump (like I was the first time I saw it) you might be interested to learn
that it's there because
Welcome to dakyskye's Discord guild.
Rules:
To propose a change to this message, make a pull request to this file: https://gist.github.com/dakyskye/cc1ee2ebef5b98c4fcf396e9694c0d24
#include <a_samp> | |
#include <rotations.inc> | |
main() {} | |
// for debug | |
static PlayerText:MessageTextdraw[MAX_PLAYERS]; | |
static bool:AP = false; | |
static TargetAlt = 1000; // 1000ft - low altitude cruise |
type TypeWriterProps = { | |
targets: string[]; | |
}; | |
type TypeWriterState = { | |
target: number; | |
text: string; | |
character: number; | |
increment: number; | |
pausedFor: number; |
import React, { Component, useState } from "react"; | |
type Props = { | |
// The tags to show the component with when it's created | |
initialTags: string[]; | |
// Callback to fire when the user adds a new tags | |
onAdd: (text: string) => void; | |
// Callback to fire when the user removes a tag either by backspace or click |