-
Shrink the Windows partition by the same size as the existent EFI partition is. (300mb in my case) and place the unallocated space before the windows partition (the "before" is the most important point).
-
Create a new FAT32 partition from the unallocated space
-
copy the EFI partiton to this new partition. validate the operations.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Increase /tmp size for heavy installations (e.g - Android Studio) | |
sudo mount -o remount,size=6G /tmp/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%0|%0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Increase Volume | |
amixer set Master 5%+ -q | |
#Decrease Volume | |
amixer set Master 5%- -q | |
#Decrease Brightness | |
xbacklight -dec 5 | |
#Increase Brightness |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -u v1.txt v2.txt > diff.patch | |
patch -p1 v1.txt < diff.patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Replace Certain Part of filename | |
for filename in ./*; do mv "./$filename" "./$(echo "$filename" | sed -e 's/old/new/g')"; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Remove duplicate lines | |
awk '!visited[$0]++' old_file > new_file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<opml version="2.0"> | |
<head> | |
<title>Podcast Subscriptions</title> | |
</head> | |
<body> | |
<outline text="CodeNewbie" title="CodeNewbie" type="rss" htmlUrl="http://feeds.codenewbie.org/cnpodcast.xml" xmlUrl="http://feeds.codenewbie.org/cnpodcast.xml" /> | |
<outline text="Puliyabaazi Hindi Podcast" title="Puliyabaazi Hindi Podcast" type="rss" htmlUrl="http://puliyabaazi.ivm.libsynpro.com/rss" xmlUrl="http://puliyabaazi.ivm.libsynpro.com/rss" /> | |
<outline text="The Passion People Podcast" title="The Passion People Podcast" type="rss" htmlUrl="https://audioboom.com/channels/4903093.rss" xmlUrl="https://audioboom.com/channels/4903093.rss" /> | |
<outline text="Belong Accelerate" title="Belong Accelerate" type="rss" htmlUrl="http://feeds.soundcloud.com/users/soundcloud:users:399018450/sounds.rss" xmlUrl="http://feeds.soundcloud.com/users/soundcloud:users:399018450/sounds.rss" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run cvt with required resolution | |
cvt 1360 768 60 | |
# Copy the ModeLine section of output and use with xrandr | |
xrandr --newmode "1360x768_60.00" 84.75 1360 1432 1568 1776 768 771 781 798 -hsync +vsync | |
# Add the output mode | |
xrandr --addmode VGA1 1360x768_60.00 | |
# Set the output mode & add this line to a startup script |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Open web console and run | |
// Turn design mode on | |
document.designMode = 'on'; | |
// Turn off after done testing | |
document.designMode = 'off'; |