recentpopularlog in

kme : customization   88

« earlier  
Custom Git subcommands - Sebastian Daschner
For my own projects, I wrote a script git-update which does a commit on all files with default or custom message, rebase-pull, and push:
<code class="language-bash">#!/bin/zsh
set -eu

branch=$(git symbolic-ref -q HEAD | sed -e 's|^refs/heads/||')

pushd $(git rev-parse --show-toplevel || echo ".")
git add --all .
git commit -m "${message}" || true
git pull --rebase origin ${branch} || true
git push origin ${branch}
git  subcommand  customization  tipsandtricks 
9 weeks ago by kme
how do I move close,max,min buttons location | Firefox Support Forum | Mozilla Support
<code class="language-css">
@namespace url("");

#titlebar-max {
-moz-box-ordinal-group: 0;

#titlebar-content {
direction: rtl;

#TabsToolbar {
direction: rtl;

#tabbrowser-tabs {
direction: ltr;
firefox  elementary  windowcontrols  userchrome  customization  csd  solution 
october 2019 by kme
Switch Out The Awful Default Notification Center Sound For Something Better [OS X Tips] | Cult of Mac
Doesn't seem to work anymore in Mojave. It's not playing Basso, but some other sound I can't find in /System/Library/Sounds.
macos  notificationcenter  customization  alertsounds  annoyance  maybesolution 
september 2019 by kme
How do I change the login screen background in macOS Mojave? - Ask Different
Long story short, name the image /Library/Desktop Pictures/Mojave.heic, preserving the original
macos  loginscreen  wallpaper  background  customization  mojave  10.14  solution 
september 2019 by kme
How to Use Only a Dark Menu Bar and Dock in macOS Mojave
It's not perfect (Notification Center looks like ass, for example), but it's good enough for government work.

<code class="language-bash">defaults write -g NSRequiresAquaSystemAppearance -bool Yes</code>
macos  mojave  darkmode  dock  menubar  customization  solution  fuckina  10.14  movein 
august 2019 by kme
Adding custom commands to
This was implemented in b682a380 of seq-core-ngs-downloader.
python  setuptools  installation  setup  customization  packaging  release  automation 
june 2019 by kme
How can I disable searching and domain guessing from the Firefox Address Bar, while keeping other features? - Super User |
The settings mentioned in the accepted answer will prevent, for example, 'localhost' from redirecting to '', but this still doesn't stop Firefox from trying to visit a non-existent web site if your search term has a period in it. So a search like "vcruntime140.dll" will still assume that ".dll" is a TLD.

However, I blindly discovered that putting a "?" at the beginning of the query is enough to turn of hostname detection, and pressing Ctrl+K will do that, and focus the Awesome Bar for you.

See also: and (section called "Changing results on the fly").
Go to about:config and set the following preferences to false:


True (default): Try to fix up http://foo to http://(prefix)foo(suffix)
False: Do not second-guess the user
firefox  search  awesomebar  configsetting  annoyance  url  toosmart  solution  configuration  customization  movein  sortof  workaround 
april 2019 by kme
Closed for Business - Matt Gemmell |
No-one stops to consider that “choice” is maybe a bad word. Consider that for a moment. What would you like Windows to do with this USB key? Just show me the damned files. Do you want to be warned when you view a web page with mixed secure and insecure content? No, go away. Do you want to pick the font for this text-editing field? No, just use a sensible default. Do you want a lot of after-market crap popping up on the desktop of your new PC? No, I want an experience I’m familiar with.

Nerds like to say that people care about choice at that level. Nerds are wrong. Nerds care about choice, and nerds are such a tiny minority of people that nobody else much cares what the hell they think. Android is designed with far too much nerd philosophy, and open is gravy to those people because it’s synonymous with customisation.

Customisation matters deeply to people who are deeply troubled by what they perceive as minor imperfections or inefficiencies. These same people, as a rule, have a stunning lack of ability to even imagine that others may not share their position. “Pick a sensible default, and skip the Options window” isn’t just anathema; it’s incomprehensible. They need choice.
appstore  walledgarden  business  closedsource  appdevelopment  devel  choice  choices  customization  fuckina 
december 2018 by kme
Customizing MediaWiki for beginners - MediaWiki |
<code class="language-css">
@import url("|Noto+Serif")

body {font-family: "Noto Sans", sans-serif}
/* changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text) */

div#content h1, div#content h2 {font-family: "Noto Serif", serif}
/* changes the default font used for MediaWiki headings to Noto Serif */
mediawiki  webfont  font  customization  webdesign  webmaster  solution 
november 2018 by kme
UNC links - MediaWiki |
<code class="language-wikitext">[file:///{{#replace:{{#replace:{{{1}}}| |%20}}|\|/}} {{#if:{{{2|}}}|{{{2}}}}}]</code>
mediawiki  windows  networking  cifs  unc  fileprotocol  customization  essential  movein  sysadmin 
march 2018 by kme
I have been using Gnome desktop since the announcement and here's what I think : Ubuntu
I did the same thing, and tried it after the announcement came out that Unity was dead. However I am actually still using it, and have come to like it. That said, I had to make a TON of adjustments from stock.

Stock Gnome sucks. But add the right extensions, and GTK theme and shell theme, and you're back in business.

Arc, Arc Dark & Arc Darker are fabulous themes and get rid of that top bar that is stupid large. The new(er) United theme is pretty good too. I flip back and forth. Adwaita is horrid.

Dash to Dock, Frippery Move Clock, Top Icons Plus and Workspace Grid are a must for extensions. Up and down for switching workspaces, what were they thinking? Fortunately this can be changed with the Workspace Grid extension. I also have also have the, Alternate Tab, Openweather and Dynamic Panel Transparency extensions installed/enabled to round out the look, and make the default look go far, far away.

I can't figure out how to modify the notifications either, but I'm getting used to where they are now.

I also had to install the DMZ mouse cursors, again because the default Adwaita stuff is horrible.

To move the buttons, use dconf editor. Navigate to: /org/gnome/desktop/wm/preferences/button-layout - then change the order to: close,minimize,maximize:appmenu

Ahhhhhh! Much better!
ubuntu  gnomedesktop  whither  unity  customization  tipsandtricks  de 
december 2017 by kme
Vim documentation: filetype
1. Create your user runtime directory. You would normally use the first
item of the 'runtimepath' option. Then create the directory "ftdetect"
inside it. Example for Unix:
:!mkdir ~/.vim
:!mkdir ~/.vim/ftdetect

2. Create a file that contains an autocommand to detect the file type.
au BufRead,BufNewFile *.mine set filetype=mine
Note that there is no "augroup" command, this has already been done
when sourcing your file. You could also use the pattern "*" and then
check the contents of the file to recognize it.
Write this file as "mine.vim" in the "ftdetect" directory in your user
runtime directory. For example, for Unix:
:w ~/.vim/ftdetect/mine.vim
vim  filetype  customization 
february 2017 by kme
vim - How to use vi mode in fish shell? - Stack Overflow
Vi mode will be in version 2.2.0. If you want to use it now, do the following:

Install a nightly build. If you're using Linux, you can get a nightly from here. On OS X using homebrew, use brew install fish --HEAD. You can also build from source following the instructions in the readme.
Run fish_vi_mode to try it. If you want to make it the default, add a line fish_vi_mode to ~/.config/fish/
vim  keybindings  vimode  fish  configfile  customization  essential  movein  solution 
january 2017 by kme
linux - What useful things can one add to one's .bashrc? - Server Fault

There's a nice and simple linux command called "unp", the Unpacker that does this and more. – Sander Marechal May 10 '09 at 23:33

Newer versions of tar detect automatically the archive type, so can extract all supported formats by just 'tar xvf'. – Prof. Moriarty Jun 8 '10 at 17:47

@Sander dtrx isn't bad at that either. It makes sure the archive extracts to its own subdirectory. – Tobu Jul 2 '10 at 10:29

up() { cd $(eval printf '../'%.0s {1..$1}) && pwd; }

The 'folders' alias is great! I modified it slightly so that directories with spaces don't cause errors.

alias folders='find . -maxdepth 1 -type d -print0 | xargs -0 du -sk | sort -rn'
bashrc  customization  dotfiles  shell  movein  tipsandtricks  unarchive 
june 2016 by kme
Starbucks Orders and the Mass Customization of American Food - The Atlantic
Of course, there is such a thing as too many options—the classic paradox of choice. A novel-length menu is just as likely to stress you out as to fill you with a ballooning sense of possibility. To combat this problem, in recent years, many chain restaurants have started to pare down their menus to make them a little more bite-sized, if you will, as The Washington Post reported in 2014.

And research has shown that a large number of options makes people both less likely to pick something at all, and less satisfied with their choice if they do pick something. “It’s like me going into the cereal aisle in the grocery store,” Zellner says. “There’s an entire aisle of cereal. You can’t possibly pick a cereal. It takes more energy to do that. In general, it’s kind of aversive to people.”

And so food companies bend over backwards to give you five different kinds of beans to put in your burrito, or to offer vegan or gluten-free or low-sugar options, or to make Maui Onion-flavored potato chips (not to be confused with Oʻahu Onion potato chips, get your head in the game!). But the irony there, Egan points out, is that “the most guaranteed way to really customize and personalize your food is to make it yourself.”
paradoxofchoice  america  food  culture  customization 
may 2016 by kme
linux - Bash Prompt with Last Exit Code - Stack Overflow
export PROMPT_COMMAND=__prompt_command # Func to gen PS1 after CMDs

function __prompt_command() {
local EXIT="$?" # This needs to be first

local RCol='\[\e[0m\]'

local Red='\[\e[0;31m\]'
local Gre='\[\e[0;32m\]'
local BYel='\[\e[1;33m\]'
local BBlu='\[\e[1;34m\]'
local Pur='\[\e[0;35m\]'

if [ $EXIT != 0 ]; then
PS1+="${Red}\u${RCol}" # Add red if exit code non 0

PS1+="${RCol}@${BBlu}\h ${Pur}\W${BYel}$ ${RCol}"
ps1  bash  promptstring  exitstatus  shellscripting  dotfile  solution  customization 
april 2016 by kme
Pinning the Dock to a Corner in Yosemite/El Capitan - Ask Different
Doesn't seem to be possible in El Capitan. At all.
defaults write pinning -string end
mac  osx  annoyance  dock  customization  watchthisspace 
march 2016 by kme
Customize the Dock's Location
Doesn't seem to work in El Capitan.
mac  osx  dock  customization 
march 2016 by kme
Customizable Shortcuts :: Add-ons für Firefox
A pretty good (signed) replacement for the now-defunct (unsigned) Keyconfig. Also does its work without restarting or closing/re-opening existing windows.

Update: which is now itself defunct, pulled from AMO by the author. :(
firefox  shortcutkey  hotkey  customization  movein  essential  fuckina  solution  alternativeto  keyconfig 
december 2015 by kme
Using Bash's History Effectively -
special knowledge

If you know you haven't executed any commands with the same starting letter sequence since then, you can just use the built-in Bash history expansion command ! followed by the first few letters of the command.

The unique string doesn't have to be at the start of the command. You can use the more flexible built-in Bash history expansion command !? followed by a unique string appearing anywhere in the command.

Both of these commands will immediately recall and execute the most recent matching command. Thus, it is usually not a good idea to use these methods with destructive commands like rm!

some knowledge

If you aren't positively sure of what would happen if you were to use the ! or !? method, or if you need to search for something more unique in the command than the first few letters can provide, then you could use the history search feature.

Before you begin typing your command, type ctrl-r. This will put you into history search mode (actually, reverse incremental history search mode).

Now when you begin typing, the most recent command matching what you've typed so far will appear on the line with a cursor at the start of the match. (Try playing around with this feature; there are a few interesting behaviors in there.)

When you've found what you're looking for, you have a couple of options. Just pressing Enter will immediately recall and execute the command. ctrl-j or Escape will retrieve the command, but allow you to continue editing. If you can't find what you're looking for or if you just change your mind, hit ctrl-g or ctrl-c to cancel.

vague memory

If you really are uncertain of the history or if you know you could be searching back through many similar commands for one of particular interest, then you can use this more brute-force method.

Type the following command to get a list of all related commands with their history numbers:

history | grep -i "<search string>"

Once you've found the command you want, you can execute it specifically by its number using the following built-in history expansion command:

!<history number>
bash  history  howto  configfile  customization  reference 
november 2015 by kme
Windows Explorer Navigation Toolbar Button - Change - Windows 7 Help Forums
Note that the font size set with the Control Panel will affect which set of bitmaps get used for ExplorerFrame.dll. A lot of visual styles don't bundle the hi-res BMPs you'd need for the larger font size, so it'll look like the new buttons didn't take effect.
windows  theme  themeing  customization  eyecandy  desktopcandy  howto 
june 2015 by kme
DockMod - Customize Your Mac OS X Dock
Kinda sketchy. Doesn't work for Mavericks (10.9.5). Does include an uninstaller script on the disk image, though, which appears to rip out all the kernel extensions, SIMBL plugins, launched profiles, and whatever else.
mac  osx  dock  mavericks  customization  eyecandy 
may 2015 by kme
sublimetext2 - Sublime Text 2: HTML tag completion doesn't work and I can't disable it - Stack Overflow []
This is not auto_complete as I know as auto_complete is triggered on tab and other key presses.

What you seek is auto_close_tags, setting it to false will not bother you anymore with this autocompletion, as to fixing this - I don't have such problems in ST3, so consider simply updating.
st3  sublimetext  solution  customization  shortcutkeys  hotkeys  autocomplete 
july 2014 by kme
Snippet: How to Hide Menu Bar and Status Bar in VirtualBox - Make Tech Easier -
VBoxManage setextradata global GUI/Customizations noMenuBar,noStatusBar

Still doesn't get rid of the auto-hiding menu bar in full screen.
virtualbox  customization  tipsandtricks 
june 2014 by kme
Creating a new template - Documentation & Guides - 2.0 - Appcelerator Wiki
Have a look at the samples on GitHub if you have any doubts (e.g., The file should be specified as having a path relative to `bundle.rb`; so 'templates/'.

Also: you really DO need to type in the filename first in order to see the templates prescribed by your new bundle, since it offers a selection of templates based on the file extension (e.g., *.html).
aptanastudio  customization  ruble  snippets  templates  solution 
may 2014 by kme
« earlier      
per page:    204080120160

Copy this bookmark:

to read