This file contains hidden or 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
# to update columns | |
defaults write com.apple.dock springboard-columns -int <number / 9> | |
# to update rows | |
defaults write com.apple.dock springboard-rows -int <number / 5> | |
# reset dock icons to default positions | |
defaults write com.apple.dock ResetLaunchPad -bool TRUE | |
# restart dock |
This file contains hidden or 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
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
This file contains hidden or 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 a terminal and paste this command | |
defaults write com.apple.finder AppleShowAllFiles YES | |
Press return and relaunch finder | |
To hide these files again follow the same steps replaing terminal | |
command with | |
defaults write com.apple.finder AppleShowAllFiles NO |
This file contains hidden or 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
<% flash.each do |type, message| %> | |
<div class="alert <%= alert_class_for(type) %> alert-dismissable fade in"> | |
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> | |
<%= message %> | |
</div> | |
<% end %> |
This file contains hidden or 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
<?php | |
/** | |
* Plugin Name: MyTemporaryPlugin | |
* Plugin URI: http://OsamaShabrez.com | |
* Description: This is small temporary plugin created to keep small php codes idependent of theme or other plugin files | |
* Version: 1.0.1 | |
* Author: Muhammad Osama Shabrez | |
* Author URI: http://OsamaShabrez.com | |
* Network: false | |
* License: GPL2 |
NewerOlder