Skip to content

Instantly share code, notes, and snippets.

View audacioustux's full-sized avatar
🐧

Tanjim Hossain audacioustux

🐧
View GitHub Profile
ipam:
operator:
clusterPoolIPv4PodCIDRList: "10.42.0.0/16"
kubeProxyReplacement: "strict"
ingressController:
enabled: true
loadbalancerMode: "dedicated"
default: true
local docker_auth=`echo -n ${DOCKER_USERNAME:?}:${DOCKER_TOKEN:?} | base64 -w 0`
local docker_config=`cat <<EOF
{
"auths": {
"https://index.docker.io/v1/": {
"auth": "${docker_auth}"
}
}
}
EOF
defmodule Philopets.Repo.Migrations.CreateEmails do
use Ecto.Migration
def change do
create table(:emails) do
# :citext for case-insensitivity
add :email, :citext, null: false
add :is_primary, :boolean, default: false, null: false
add :is_public, :boolean, default: false, null: false
# can be used for password recovery. default set to false, as weak
@audacioustux
audacioustux / daemon.json
Created August 31, 2023 12:07
local /etc/docker/daemon.json
{
"features": {
"buildkit": true
},
"dns": ["1.1.1.1", "8.8.8.8", "192.168.0.1"],
"log-driver": "local",
"log-opts": {
"max-size": "1m"
}
}
#!/usr/bin/env bash
__usage() {
cat <<EOF
Exponential BackOff and Re-Try (EBORT)
Re-try a command with exponential backoff. The command is re-tried until it
either succeeds, or the maximum number of attempts is reached, or the maximum
wait time is reached.
@audacioustux
audacioustux / hello.txt
Created February 28, 2022 11:58 — forked from pifafu/hello.txt
° .::' *
* ::: DREAM ° -
° `:: ° *
- `':.. *

যারা এবার জাভা বা এডভান্স জাভা করতেছেন...
জেটব্রেইন এর প্রোডাক্ট গুলা আপনি যতদিন স্টুডেন্ট ততদিন ফ্রি চালাইতে পারবেন...
apply for the student license with university mail ([email protected]): https://www.jetbrains.com/community/education/#students
install the toolbox app: https://www.jetbrains.com/toolbox-app/

কিন্তু প্রথমত,

  • জেটব্রেইন কি জিনিস? ... জেটব্রেইন আসলে কম্পানিটার নাম, যারা মূলত
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.ArrayList;
import org.graalvm.polyglot.*;
import org.graalvm.polyglot.io.ByteSequence;
class WasmModule {
private Context ctx;
// TODO: move to to github/audacioustux/dotfiles
" install vim-plug if needed.
if empty(glob('~/.local/share/nvim/site/autoload/plug.vim'))
silent !curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source ~/.config/nvim/init.vim
endif
" Specify a directory for plugins
" - For Neovim: stdpath('data') . '/plugged'
This file has been truncated, but you can view the full file.
initial: 1024 KByte
after isolates 1: 1024 KByte (difference: 0 KByte)
after isolates 2: 1024 KByte (difference: 0 KByte)
after isolates 3: 1024 KByte (difference: 0 KByte)
after isolates 4: 1024 KByte (difference: 0 KByte)
after isolates 5: 1024 KByte (difference: 0 KByte)
after isolates 6: 1024 KByte (difference: 0 KByte)
after isolates 7: 1024 KByte (difference: 0 KByte)
after isolates 8: 1024 KByte (difference: 0 KByte)
after isolates 9: 1024 KByte (difference: 0 KByte)