I hereby claim:
- I am renepardon on github.
- I am renepardon (https://keybase.io/renepardon) on keybase.
- I have a public key ASCZt1ZWckUMCpY-ftQ2V08usU26HolWraXwTiw3S6qe4Ao
To claim this, I am signing this object:
| import sys | |
| import os | |
| def xor_bytes(data: bytes, key: bytes) -> bytes: | |
| """ | |
| Performs a repeating-key XOR operation on the given data using the key. | |
| XOR decryption is the same as encryption. | |
| If the key is shorter than the data, it is cycled. | |
| """ |
| import json | |
| import sys | |
| import requests | |
| class OSVClient: | |
| """Client for the OSV.dev API.""" | |
| BASE_URL = "https://api.osv.dev/v1/query" | |
| def check_vulnerability(self, package_name, version): |
I hereby claim:
To claim this, I am signing this object:
| { | |
| "_comment": "This file is used to trick IntelliJ/Webstorm/PHPStorm to use the correct alias as defined in vite.config.js", | |
| "compilerOptions": { | |
| "baseUrl": ".", | |
| "paths": { | |
| "@/*": ["resources/js/*"] | |
| } | |
| } | |
| } |
| FROM node:16-alpine3.16 as build | |
| WORKDIR /app | |
| COPY package.json /app/package.json | |
| COPY yarn.lock /app/yarn.lock | |
| RUN yarn install --silent | |
| COPY . /app |
| <?php | |
| namespace App\GraphQL\Entities; | |
| use App\Models\Tenant; | |
| use GraphQL\Client; | |
| use GraphQL\Query; | |
| class User | |
| { |
Warning: Due to Homebrew/php tap being deprecated at the end of March 2018, and the moving of all PHP formulas to Homebrew/core, the installation of PHP versions we currently use is going to change. Currently PHP 7.2 is available in the core, but we are waiting on previous versions to be made available and will update this guide as soon as we can. Thanks!
Note: This is an updated version of our prior OS X development series. The newly released macOS 10.13 High Sierra and the accompanying updates to Brew require significant changes compared to prior releases, necessitating a thorough revamp in the process. Since 10.12 we now use Homebrew's Apache, rather than the built-in version, but this new appraoch is more flexible and should continue to work on prior OS X versions.
Developing web applications on macOS is a real joy. There are plenty of options for setting up your develop
| <?xml version="1.0" encoding="UTF-8"?> | |
| <phpunit backupGlobals="false" | |
| backupStaticAttributes="false" | |
| bootstrap="bootstrap/test.php" | |
| colors="true" | |
| cacheResult="true" | |
| convertErrorsToExceptions="true" | |
| convertNoticesToExceptions="true" | |
| convertWarningsToExceptions="true" | |
| processIsolation="false" |
| version: "3.8" | |
| services: | |
| keycloak: | |
| image: jboss/keycloak | |
| env_file: | |
| - ./.env | |
| environment: | |
| JDBC_PARAMS: "useSSL=false" | |
| DB_VENDOR: "h2" |
| <?php | |
| namespace Modules\Whatever\Http\Controllers\Api; | |
| use Illuminate\Routing\Controller; | |
| class UploadController extends Controller | |
| { | |
| public function handleUpload() | |
| { |