~/.profile
if [[ "$(umask)" = "0000" ]]; then
umask 0022
fi
~/.bashrc
if [ -z "$(pgrep ssh-agent)" ]; then
~/.profile
if [[ "$(umask)" = "0000" ]]; then
umask 0022
fi
~/.bashrc
if [ -z "$(pgrep ssh-agent)" ]; then
Add
export GPG_TTY=$(tty)
to .bashrc
> adb reboot bootloader
> .\flash-all.bat
#!/bin/bash | |
current_branch=$(git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/') | |
if [ "$current_branch" != "master" ]; then | |
echo "WARNING: You are on branch $current_branch, NOT master." | |
fi | |
echo -e "Fetching merged branches...\n" | |
git remote update --prune | |
remote_branches=$(git branch -r --merged | grep -v '/master$' | grep -v "/$current_branch$") |
[user] | |
name = Name Surname | |
email = email@example.com | |
[alias] | |
ad = add . | |
ci = commit | |
co = checkout | |
br = branch | |
pl = pull | |
ps = push |
### Keybase proof | |
I hereby claim: | |
* I am alexamiryan on github. | |
* I am alexamiryan (https://keybase.io/alexamiryan) on keybase. | |
* I have a public key ASCbaxaM7GRoNUOkA_YbaONKgwnRLHuqYhqB7rxjgXkJ3wo | |
To claim this, I am signing this object: |
yum install broadcom-wl kmod-wl |
mdadm --detail --scan >> /etc/mdadm.conf |
#!/bin/sh | |
openssl genrsa -out client.key 1024 | |
openssl req -new -key client.key -out client.csr | |
openssl x509 -req -days 365 -CA ca.crt -CAkey ca.key -CAcreateserial -in client.csr -out client.crt | |
openssl pkcs12 -export -clcerts -in client.crt -inkey client.key -out client.p12 | |
rm -f client.crt client.csr client.key |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} -s [OR] | |
RewriteCond %{REQUEST_FILENAME} -l [OR] | |
RewriteCond %{REQUEST_FILENAME} -d | |
RewriteRule ^.*$ - [NC,L] | |
RewriteRule ^.*$ index.php [NC,L] |