Check battery status on terminal
$ sudo apt-get install acpi $ acpi
$ sudo apt-get install acpi $ acpi
Set root password MySQL for the first time: $ mysqladmin -u root password NEWPASSWORD Change your existing root password: $ mysqladmin -u root -p’oldpassword’ password newpass
sudo dnf install gstreamer-ffmpeg
When you install google chrome in fedora, you probably must have seen this error: $ sudo rpm -i google-chrome-stable_current_x86_64.rpm warning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY error: Failed dependencies: /usr/bin/lsb_release is needed by google-chrome-stable-68.0.3440.106-1.x86_64 [muffat@localhost Downloads]$ sudo rpm -i google-chrome-stable_current_x86_64.rpm warning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY error: Failed … Read more
Before you begin, you might want to add your ssh key into your github account. // push master branch $ cd /repo-directory $ git remote rename origin bitbucket $ git remote add origin https://github.com/username/awesome-new-repo.git $ git push origin master $ git remote rm bitbucket // push another branch $ git checkout develop $ git push … Read more
withCredentials([usernamePassword(credentialsId: ‘my-creds’, usernameVariable: ‘USERNAME’, passwordVariable: ‘PASSWORD’)]) { // available as an env variable, but will be masked if you try to print it out any which way // note: single quotes prevent Groovy interpolation; expansion is by Bourne Shell, which is what you want sh ‘echo $PASSWORD > tmp’ // also available as a Groovy … Read more
Try this: -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
Tested on vagrant centos 6.9 In your vagrant machine: $ sudo yum install samba samba-common samba-client Setup samba config, place this config at the bottom of the file: $ sudo vim /etc/samba/smb.conf … … [foobar] browseable = yes path = /srv/foobar guest ok = yes public = yes read only = no create mask = … Read more
find . -type d -exec bash -c ‘cd “$0” && terraform fmt’ {} \;
Datadog $ terraform import module.timeboard_system.datadog_timeboard.system 111xxx SQS $ terraform import module.resource-name.aws_sqs_queue.main https://sqs.ap-southeast-1.amazonaws.com/123xxx/xxxx Notes: If you cannot find the resource address, try: $ terraform plan