Search

atkdinosaurus

How to list DNS servers that network-manager uses? (Ubuntu 14.04/16.04)

On Ubuntu 14.04:

$ nmcli dev list | grep -i dns

On Ubuntu 16.04, first list all the connections:

$ nmcli con show
NAME                UUID                                  TYPE             DEVICE  
docker0             19d065fc-b97f-4421-b839-127d95c07c51  bridge           docker0 

Then list the settings of one connection:

$ nmcli con show docker0 | grep -i dns

Hillary Clinton wasn’t charged with mishandling classified information. Trump might appoint someone convicted of it. | washingtonpost.com

Former CIA director David Petraeus pleaded guilty to mishandling classified information, and the FBI views his case as worse than Clinton’s.

Source: Hillary Clinton wasn’t charged with mishandling classified information. Trump might appoint someone convicted of it. – The Washington Post

Stevie Wonder: Voting For Trump Is Like Asking Me To Drive | huffingtonpost.com

Jesus, take the wheel.

Source: Stevie Wonder: Voting For Trump Is Like Asking Me To Drive | Huffington Post

How to create a bootable UEFI/GPT Windows 10 USB stick in Ubuntu ?

$ sudo -i
# id
uid=0(root) gid=0(root) groups=0(root)

Unmount all the partitions that you have mounted off the USB stick.

# umount /dev/sdxn

# export USB_DEVICE=/dev/sdx
# export USB_PARTITION=/dev/sdxn
# export USB_MOUNTPOINT=/mnt/sdxn
# export WIN10_MOUNTPOINT=/mnt/win10-mount

The next three commands will erase your ${USB_DEVICE} and create the EFI system partition:

# sgdisk --zap-all ${USB_DEVICE}
# sgdisk --new=1:0:0 --typecode=1:ef00 ${USB_DEVICE}
# mkfs.vfat -F32 -n EFI ${USB_PARTITION}

Mount the USB device partition at ${USB_MOUNTPOINT}:

# mkdir ${USB_MOUNTPOINT}
# mount -t vfat -o uid=1000,gid=1000,umask=022 ${USB_PARTITION} ${USB_MOUNTPOINT}

Mount the Windows 10 ISO image at ${WIN10_MOUNTPOINT}:

# mkdir -p ${USB_MOUNTPOINT}/boot ${USB_MOUNTPOINT}/EFI/BOOT ${WIN10_MOUNTPOINT}
# mount -t udf -o loop,ro windows10.iso ${WIN10_MOUNTPOINT}

Copy the Windows 10 ISO contents to ${USB_MOUNTPOINT}:

# cp -Rv ${WIN10_MOUNTPOINT}/* ${USB_MOUNTPOINT}

# sync
# cd /
# umount ${USB_MOUNTPOINT} ${WIN10_MOUNTPOINT}

Trey Gowdy RIPS Hillary Clinton : FBI Found New Emails Related To Huma Abedin On Private Server | youtube.com

Clinton directed her maid to print out classified materials | nypost.com

As secretary of state, Hillary Clinton routinely asked her maid to print out sensitive government e-mails and documents

Source: Clinton directed her maid to print out classified materials | New York Post

How to set virtual console resolution to 640×480 ?

Edit /etc/default/grub:

  • Add “video=640×480” to GRUB_CMDLINE_LINUX_DEFAULT
  • Change GRUB_GFXMODE to 640×480
  • Add GRUB_GFXPAYLOAD_LINUX=640×480

Run $ sudo update-grub.

Change font rendering settings (KDE/Firefox)

$XDG_CONFIG_HOME/fontconfig == $HOME/.config/fontconfig

On Ubuntu XDG_CONFIG_HOME is not defined. Its value defaults to $HOME/.config.

Edit $HOME/.config/fontconfig/fonts.conf:

<?xml version='1.0'?> 
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> 
<fontconfig> 
 <dir>~/.fonts</dir> 
 <match target="font"> 
  <edit mode="assign" name="autohint"> 
   <bool>false</bool> 
  </edit> 
 </match> 
 <match target="font"> 
  <edit mode="assign" name="rgba"> 
   <const>rgb</const> 
  </edit> 
 </match> 
 <match target="font"> 
  <edit mode="assign" name="hinting"> 
   <bool>true</bool> 
  </edit> 
 </match> 
 <match target="font"> 
  <edit mode="assign" name="hintstyle"> 
   <const>hintslight</const> 
  </edit> 
 </match> 
 <match target="font"> 
  <edit mode="assign" name="antialias"> 
   <bool>true</bool> 
  </edit> 
 </match> 
 <match target="font"> 
  <edit mode="assign" name="lcdfilter"> 
   <const>lcddefault</const> 
  </edit> 
 </match> 
</fontconfig>
$ mkdir $HOME/.fonts
$ fc-cache -fv

Secret Recordings Fueled FBI Feud in Clinton Probe | wsj.com

Secret recordings of a suspect talking about the Clinton Foundation fueled an internal battle between FBI agents who wanted to pursue the case and corruption prosecutors who viewed the statements as worthless hearsay, people familiar with the matter said.

Source: Secret Recordings Fueled FBI Feud in Clinton Probe – WSJ

Blog at WordPress.com.

Up ↑