We install certutil
and pk12util
if necessary:
sudo apt install libnss3-tools
On Linux, Chromium uses the NSS Shared DB. Check if you have the ~/.pki/nssdb
directory:
ls $HOME/.pki/nssdb
data class Place( | |
val name: String, | |
val resId: Int | |
) |
We install certutil
and pk12util
if necessary:
sudo apt install libnss3-tools
On Linux, Chromium uses the NSS Shared DB. Check if you have the ~/.pki/nssdb
directory:
ls $HOME/.pki/nssdb
import ReactSelect from 'react-select' | |
export const REACT_SELECT_CUSTOM_STYLES = { | |
control: (provided) => ({ | |
...provided, | |
fontSize: '0.875rem', | |
lineHeight: '1.25rem' | |
}), | |
valueContainer: (provided) => ({ | |
...provided, |
# Example config file for ansible -- https://ansible.com/ | |
# ======================================================= | |
# Nearly all parameters can be overridden in ansible-playbook | |
# or with command line flags. Ansible will read ANSIBLE_CONFIG, | |
# ansible.cfg in the current working directory, .ansible.cfg in | |
# the home directory, or /etc/ansible/ansible.cfg, whichever it | |
# finds first | |
# For a full list of available options, run ansible-config list or see the |
To rename your Git master branch to main, you must do the following steps:
Navigate to your repository in the command line and issue the following commands:
- git branch -m master main
- git push -u origin main
Change your default branch on GitHub by going to your GitHub repository in your browser, and navigate to Settings > Branches
and click on the dropdown and switch from master
to main
and click Update
(this will only show if you have two or more branches). The main
branch is now your default branch.
Update the tracking of the branch from your command line with the following command:
- git branch -u origin/main main
<?php | |
class QueryBuilder { | |
const QUERY_SELECT = 1; | |
const QUERY_INSERT = 2; | |
const QUERY_UPDATE = 3; | |
const QUERY_DELETE = 4; | |
const QUERY_REPLACE = 5; | |
const PARAMETER_STRING = 1; |
#!/bin/bash | |
for i in *psd | |
do | |
name=${i%.psd} | |
convert "$name.psd[0]" -resize 100% "$name.png" | |
done |