- Message yourself
/slackdevtools
- In the DevTools console:
function addStyle (styleString) {
const style = document.createElement('style');
style.textContent = styleString;
document.head.append(style);
}
addStyle(`
# | |
# REQUIRES: | |
# - server (the forge server instance) | |
# - event (the forge event instance) | |
# - sudo_password (random password for sudo) | |
# - db_password (random password for database user) | |
# - callback (the callback URL) | |
# |
<?php | |
namespace App\Http\Controllers\Auth; | |
use App\Http\Controllers\Concerns\ThrottlesRequests; | |
use App\Http\Requests\Auth\SignInRequest; | |
use App\Http\Requests\Auth\SignUpRequest; | |
use App\Models\User; | |
use Illuminate\Auth\Events\Registered; | |
use Illuminate\Http\RedirectResponse; |
// custom style using sass & tailwindcss | |
.vscomp-ele { | |
max-width: 100% !important; | |
.vscomp-toggle-button { | |
@apply mt-1 border-gray-300 transition block w-full duration-150 rounded-md shadow-inner bg-gray-100 py-3; | |
&:focus { | |
@apply border border-info ring-info ring-opacity-25; |
<?php | |
namespace App\Support; | |
use InvalidArgumentException; | |
class Bytes | |
{ | |
// Most modern systems use base-1000 rather than base-1024 for file size now | |
protected const BASE = 1000; |
Want to release a new binary on Github for every new git tag (e.g. v1.2.7
)? Here is a simple Github Actions yaml config file that should get you started.
This script will automatically checkout your code, setup the correct version of go as defined in your go.mod
file
and build your go binary (in this case using a Makefile
default target), then upload it to a new Github Release.
# .github/workflows/release.yml
name: Build and release Go Project