Skip to content

Instantly share code, notes, and snippets.

@blackcoper
blackcoper / CompleteDiscordQuest.md
Created November 7, 2025 01:24 — forked from aamiaa/CompleteDiscordQuest.md
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@blackcoper
blackcoper / gist:40b3ae1f98c016af72720be8fc0998bd
Last active July 12, 2025 10:10
Laravel Octane Benchmark

Laravel Octane Benchmark Tutorial

This guide helps you benchmark a Laravel application using three different runtime scenarios:

  1. PHP-FPM (no Octane, no pooling)
  2. Laravel Octane with Swoole (no persistent connections)
  3. Laravel Octane with Swoole and MySQL persistent connections

@blackcoper
blackcoper / VueSelectRemote.vue
Last active June 13, 2025 17:00
vue-select feature Remote infinity scroll
<template>
<vSelect
ref="v_select_remote"
:options="config.data"
@open="onOpen"
@close="onClose"
append-to-body
:searchable="true"
@input="onSearch">
<template #list-footer class="vue-select-loader">
@blackcoper
blackcoper / AndroidManifest.xml
Created January 9, 2025 01:20 — forked from Venryx/AndroidManifest.xml
Record audio on Android in the background (even when screen is off)
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.myapp">
<application android:allowBackup="true" android:icon="@mipmap/ic_launcher android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme">
<service android:name=".ForegroundService" android:enabled="true" android:exported="true"></service>
<activity
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale"
@blackcoper
blackcoper / vscodeext.md
Last active January 28, 2019 09:52 — forked from mandaputtra/vscodeext.md
my vscode extension

INSTALLING

code --install-extension <copy here and wait>

Copy this

code --install-extension ahmadawais.shades-of-purple
code --install-extension anseki.vscode-color
code --install-extension bradlc.vscode-tailwindcss