A quick proposal example for a preprocessor.
Input file "some-sql.pwn":
stock doSomeSQL() {
@SQL(mysql_pqueryf, 10, 20) {
SELECT *
FROM table
WHERE x=yA 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' - |
Server Information
Canonical Invite Link: https://discord.gg/samp Spread the word!
- Rules -
Staff have the right to kick/ban if they believe such action is justified. In general, warnings will be issued and discussed with users first.
| { | |
| "ld": { | |
| "@context": "http://schema.org", | |
| "@type": "Person", | |
| "email": "mailto:[email protected]", | |
| "image": "https://southcla.ws/static/Southclaw-icon-vec-final-square-0500.png", | |
| "name": "Barnaby Keene", | |
| "birthDate": "1994-12-04", | |
| "gender": "male", | |
| "nationality": "British", |
| class App extends React.Component<{}, AppState> { | |
| // IfLoggedIn is a TypeScript version of: | |
| // https://reacttraining.com/react-router/web/example/auth-workflow | |
| // it's just a stateless component that takes path and component (similar to <Route>) | |
| // and renders the component if the user is logged in, if not, it redirects to /login | |
| IfLoggedIn = (thisProps: { path: string; component: Function }) => { | |
| return ( | |
| <Route | |
| render={props => |
| class App extends React.Component<{}, AppState> { | |
| // IfLoggedIn is a TypeScript version of: | |
| // https://reacttraining.com/react-router/web/example/auth-workflow | |
| // it's just a stateless component that takes path and component (similar to <Route>) | |
| // and renders the component if the user is logged in, if not, it redirects to /login | |
| IfLoggedIn = (thisProps: { path: string; component: Function }) => { | |
| return ( | |
| <Route | |
| render={props => |
It's now a Pawn package that you can run easily with sampctl to check your own times.
| ### Keybase proof | |
| I hereby claim: | |
| * I am Southclaws on github. | |
| * I am southclaws (https://keybase.io/southclaws) on keybase. | |
| * I have a public key whose fingerprint is E0C0 AE2C 4072 A0C8 45BE 1F44 EA80 DFDE FBFC 03D2 | |
| To claim this, I am signing this object: |
| /* | |
| Southclaw's "Object Oriented" modular coding style for Pawn. This documents | |
| the basics of structuring a create/destroy type entity. This method can be | |
| used for almost any kind of "thing" that can be created, destroyed and | |
| modified within its life cycle. | |
| */ | |
| #include <YSI\y_hooks> | |
| /* |
| #define FILTERSCRIPT | |
| #include <a_samp> | |
| #include <sscanf2> | |
| #include <md-sort> | |
| stock Float:Distance2D(Float:x1, Float:y1, Float:x2, Float:y2) | |
| return floatsqroot( ((x1-x2)*(x1-x2)) + ((y1-y2)*(y1-y2)) ); | |
| #define MAX_DATA (2117) | |
| #define MAX_BLOCK (199) |