For example, you want to set 40% alpha transparence to #000000
(black color), you need to add 66
like this #66000000
.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/python | |
# -*- coding: utf-8 -*- | |
import json | |
import sys | |
# Constant vars | |
if len(sys.argv) != 2: | |
print('Error!! -- No file specified ') | |
print('\t get_composer_deps.py <path/to/vendor/composer/installed.json>') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function showcolors256() { | |
local row col blockrow blockcol red green blue | |
local showcolor=_showcolor256_${1:-bg} | |
local white="\033[1;37m" | |
local reset="\033[0m" | |
echo -e "Set foreground color: \\\\033[38;5;${white}NNN${reset}m" | |
echo -e "Set background color: \\\\033[48;5;${white}NNN${reset}m" | |
echo -e "Reset color & style: \\\\033[0m" | |
echo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# put the podman sock like docker sock | |
ln -s /var/run/user/1000/podman/podman.sock /var/run/docker.sock | |
# OR | |
export DOCKER_HOST=unix:///run/user/1000/podman/podman.sock | |
# sart the service of podman | |
podman system service -t 0 --log-level=debug & | |
# in case to error in invere proxy | |
sudo sysctl net.ipv4.ip_unprivileged_port_start=23 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Version=1.0 | |
Name=Firefox Developer Edition | |
Comment=Browse the Web | |
Exec=~/Documents/executables/firefox-103.0b6/firefox/firefox --class="firefox-developer" -P dev-edition-default %u | |
StartupNotify=true | |
StartupWMClass=firefox-developer | |
Icon=/opt/firefox/browser/icons/mozicon128.png | |
Terminal=false |
Gen
ssh-keygen -t rsa -b 4096 -C "[email protected]"
Test connection
ssh -T [email protected]
ssh -T [email protected]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# use it like adebig api server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
#... | |
# app/Mail/ResetPassword.php | |
#... | |
class GeneralMail extends Mailable{ | |
#... | |
public function build() | |
{ |
OlderNewer