#shred -n 2 -z -v /dev/sdc1 -n 2 = number of passes -z = overwrites hard disk data with zeroes -v = display progress operation /dev/sdc1 = partition
Tuesday, August 15, 2017
Zero Fill Hard Disk in Linux
Monday, June 5, 2017
Ubuntu Dual Screen with 1 Touchscreen
$ xinput --list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Advanced Silicon S.A. CoolTouch(TM) System id=11 [slave pointer (2)]
⎜ ↳ Dell Dell Universal Receiver id=14 [slave pointer (2)]
⎜ ↳ ETPS/2 Elantech Touchpad id=17 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Asus Wireless Radio Control id=7 [slave keyboard (3)]
↳ Video Bus id=8 [slave keyboard (3)]
↳ Video Bus id=9 [slave keyboard (3)]
↳ Sleep Button id=10 [slave keyboard (3)]
↳ USB2.0 UVC HD Webcam id=12 [slave keyboard (3)]
↳ Dell Dell Universal Receiver id=13 [slave keyboard (3)]
↳ Asus WMI hotkeys id=15 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=16 [slave keyboard (3)]
$ xrandr
Screen 0: minimum 8 x 8, current 3286 x 1080, maximum 32767 x 32767
eDP1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
1366x768 60.00*+
1360x768 59.80 59.96
1280x720 60.00
1024x768 60.00
1024x576 60.00
960x540 60.00
800x600 60.32 56.25
864x486 60.00
640x480 59.94
720x405 60.00
680x384 60.00
640x360 60.00
HDMI1 connected 1920x1080+1366+0 (normal left inverted right x axis y axis) 477mm x 268mm
1920x1080 60.00*+ 50.00 59.94
1920x1080i 60.00 50.00 59.94
1280x1024 75.02 60.02
1152x864 75.00
1280x720 60.00 50.00 59.94
1024x768 75.03 60.00
800x600 75.00 60.32
720x576 50.00
720x576i 50.00
720x480 60.00 59.94
720x480i 60.00 59.94
640x480 75.00 60.00 59.94
720x400 70.08
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
$ xinput map-to-output 11 HDMI1
Friday, February 24, 2017
RUBY
ON RAILS INSTALLATION (WINDOWS 7 x64)
Step
1
Download
all the required files below:-
- https://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.3.3-x64.exe
- https://dl.bintray.com/oneclick/rubyinstaller/DevKit-mingw64-64-4.7.2-20130224-1432-sfx.exe
- https://nodejs.org/dist/v6.10.0/node-v6.10.0-x86.msi
Step
2
- Install rubyinstaller installer
- install devkit
- create directory c:\devkit
- extract devkit package into the directory
- cd to the directory and type “ruby dk.rb init”
- then type “ruby dk.rb install”
- Install nodejs installer
Step
3
- Open ruby command prompt (program files)
- Type “gem install rails”
- Type “gem install bundler”
Subscribe to:
Posts (Atom)