To push container images to ghcr, you need peronal access token (PAT) - see how to create PAT
- Get PAT (personal access token)
Personal Settings > Developer settings > Personal access tokens
To push container images to ghcr, you need peronal access token (PAT) - see how to create PAT
Personal Settings > Developer settings > Personal access tokens
| import boto3 | |
| import botocore | |
| import time | |
| def handler(event=None, context=None): | |
| client = boto3.client('ssm') | |
| instance_id = 'i-07362a00952fca213' # hard-code for example | |
| response = client.send_command( | 
| colors: | |
| # Default colors | |
| primary: | |
| background: '0x1e2127' | |
| foreground: '0xabb2bf' | |
| # Bright and dim foreground colors | |
| # | |
| # The dimmed foreground color is calculated automatically if it is not present. | 
| const mix = require('laravel-mix'); | |
| const s3Plugin = require('webpack-s3-plugin'); | |
| /* | |
| |-------------------------------------------------------------------------- | |
| | Mix Asset Management | |
| |-------------------------------------------------------------------------- | |
| | | |
| | Mix provides a clean, fluent API for defining some Webpack build steps | |
| | for your Laravel application. By default, we are compiling the Sass | 
| import { Module, Global, DynamicModule } from '@nestjs/common' | |
| import { EnvModule } from './env.module' | |
| import { EnvService } from './env.service' | |
| import { TypeOrmModule } from '@nestjs/typeorm' | |
| function DatabaseOrmModule (): DynamicModule { | |
| const config = new EnvService().read() | |
| return TypeOrmModule.forRoot({ | |
| type: config.DB_TYPE, | 
Jadilah pengguna yang berguna.
Gunakan channel yang patut.
#general untuk kepentingan umum
#random jika ingin bercanda
#rpl atau #mppl untuk diskusi mata kuliah dan tugas terkait
#channel_kelompok untuk diskusi masing-masing kelompok.
Kaji ulang setiap pesan yang akan dibuat.
Pesan singkat dan langsung pada intinya.
| add_action( 'elementor/editor/after_enqueue_styles', function() { | |
| echo '<style type="text/css"> | |
| .elementor-panel .panel-elements-category-items { | |
| display: flex; | |
| flex-wrap: wrap; | |
| justify-content: flex-start; | |
| } | |
| .elementor-panel .elementor-element-wrapper { | 
| const linkEl = document.createElement('link'); | |
| linkEl.rel = 'prefetch'; | |
| linkEl.href = urlWithYourPreciousData; | |
| document.head.appendChild(linkEl); | 
| function logColor(color, args) { | |
| console.log(`%c ${args.join(' ')}`, `color: ${color}`); | |
| } | |
| const log = { | |
| aliceblue: (...args) => { logColor('aliceblue', args)}, | |
| antiquewhite: (...args) => { logColor('antiquewhite', args)}, | |
| aqua: (...args) => { logColor('aqua', args)}, | |
| aquamarine: (...args) => { logColor('aquamarine', args)}, | |
| azure: (...args) => { logColor('azure', args)}, | 
| git checkout my-new-feat | |
| git rebase master | |
| git checkout master | |
| git merge my-new-feat --ff |