Refer: http://www.ubuntu.com/info/release-end-of-life $ ubuntu-support-status
Convert MP4 to MP3 on Ubuntu 14.04 Trusty and Tag Meta Data Software
There is a program available on Ubuntu youtube-dl, that can download videos from youtube.com or other video platforms. But it stores the file in mp4, since it contains video. But sometimes you do not want the video and only the audio. To extract only the audio part, you can use the pacpl comamnd line tool.
Use "Sound Converter" Application for simple conversion
Usage:
$ youtube-dl -f mp4 --output "yourfilename.%(ext)s" https://youtu.be/your-link-here
$ youtube-dl --extract-audio --audio-format mp3 --audio-quality 256 --output "yourfilename.%(ext)s" https://youtu.be/your-link-here
Older Method:
pacpl --to mp3 -v -r -bitrate 256 targetfile.mp4
Ubuntu Software: EasyTAG to modify MP3 MetaData
Update MP3 tags with the command line:
$ sudo apt-get install id3v2
Some useful commands
List all of the tags or specific for a particular file without wild card
$ id3v2 -l *.mp3
Example of how to update title, album, year
$ id3v2 -t "My Title" file-to-update.mp3
$ id3v2 -a "My Album"
$ id3v2 -y 2016
Regex looking for scripts without a /
Looking for bash script includes which use a period but NOT a preceding slash. Slick little regex example:
$ grep "^\. [^/]*sh" *
Fixing a failed update in Ubuntu, such as failed grup-pc
Refer: http://ubuntuforums.org/showthread.php?t=1632528
Run the three commands:
$ sudo apt-get install -f
$ sudo dpkg --configure -a
$ sudo apt-get update && sudo apt-get upgrade
Install SQL Developer in Ubuntu 14 in VirtualBox
When launching the SQL Developer bash script it asked for the Java location, could not find it.
If you’ve installed Java 7, and you launch SQL Developer, use this as the path, or the equivalent:
/usr/lib/jvm/java-7-oracle
You can set your java_home but this does not help the above:
sudo nano /etc/environment
JAVA_HOME=/usr/lib/jvm/java-7-oracle
SQL Developer that works with Java 7:
http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/sqldev-downloads-403-2529784.html
sqldeveloper-4.0.3.16.84-no-jre.zip
Bonus:
Use Filter: WEB% for HAL
Flush DNS Without Rebooting
Mac El Capitan 10.11.1
$ sudo killall –HUP mDNSResponder;say flushed
Mac Yosemite 10.10.4+
$ sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder;say cache flushed
Mac Yosemite 10.10.3-
$ sudo discoveryutil mdnsflushcache;sudo discoveryutil udnsflushcaches;say flushed
Ubuntu:
Note: Ubuntu doesn't cache DNS by default unless you install a DNS cache service manually.
$ sudo /etc/init.d/dns-clean restart
Windows:
Right-click Command Prompt and select Run as Administrator.
Run the following command: ipconfig /flushdns
Important:
Don't forget to change your host file's IP to 10.57.225.54 for halprdgit01.hq.halw.com if you use a Mac or Linux machine and hard-coded the IP into the host file.
List mount points
$ less /etc/mtab
Refer: http://unix.stackexchange.com/questions/24182/how-to-get-the-complete-and-exact-list-of-mounted-filesystems-in-linux
Chromium / Chrome Menu is Black
Go into drop-down menu top-right corner, and click "Settings", "Show Advanced"
And uncheck "Use hardware acceleration when available."
mc Midnight Command Toggle
Use Ctrl+[o] to toggle between terminal and mc program
Minecraft Server and Direct Connect
Refer: http://gaming.stackexchange.com/questions/133658/how-do-you-make-a-local-lan-server-in-minecraft
Five steps for Direct Connect - No Server Needed
- Open to LAN
- It will give you a cache numb er (5 numbers)
- Find your IPv4 Address using ipconfig in Command prompt (search CMD in search bar)
- combine to make something like 123.456.7.8:89072
- use direct connect and go on
Running a Minecraft Server
Using Parallels with a Windows 7 appliance. It was necessary to download a minecraft_server.exe or the jar equivalent from the minecraft.net site. Once launched, you could connect to it via localhost on the appliance, since the game was running on the same place and then other machines could connect to it. It was also necessary to have the appliance bridge the network adapter too.
