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 --git a/chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc b/chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc | |
index 88df062..5adbc2e 100644 | |
--- a/chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc | |
+++ b/chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc | |
@@ -14,7 +14,7 @@ | |
namespace { | |
// Max number of most recently used folders. | |
-const size_t kMaxMRUFolders = 5; | |
+const size_t kMaxMRUFolders = 20; |
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
# These settings were set by the catalyst build script that automatically | |
# built this stage. | |
# Please consult /usr/share/portage/config/make.conf.example for a more | |
# detailed example. | |
CFLAGS="-O2 -pipe" | |
CXXFLAGS="${CFLAGS}" | |
# WARNING: Changing your CHOST is not something that should be done lightly. | |
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing. | |
CHOST="x86_64-pc-linux-gnu" | |
# These are the USE flags that were used in addition to what is provided by the |
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
@-moz-document domain("news.ycombinator.com") { | |
* { font-family: sans-serif !important; } | |
body { margin: 0; font-size: 16pt !important; } | |
.title { font-size: 20pt !important; } | |
.pagetop, .comment, .comhead, .subtext, td, p, | |
.pagetop *, .comment *, .comhead *, .subtext * { font-size: 14pt !important; } | |
font { color:inherit !important; font-family:inherit !important; font-size:inherit !important; text-shadow: black 0px 1px 3px !important; } |
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
#!/bin/sh | |
sed -e 's/\x1B\[[[:digit:]]\+m//g' | col -xb | \ | |
vim -R -c 'set ft=man' \ | |
-c 'let no_plugin_maps = 1' \ | |
-c 'set nolist ft=man' \ | |
-c 'let g:showmarks_enable=0' \ | |
-c 'runtime! macros/myless.vim' - |
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
#!/bin/sh | |
id=`wmctrl -v -r :SELECT: -e dummy 2>&1 | grep Using.window | grep -o 0x[0-9a-fA-F]*` | |
xdotool windowunmap $id |
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
#!/bin/bash | |
set -e | |
set -u | |
set -o pipefail | |
if [ $# -eq 0 ]; then | |
echo "Usage: $0 <host> [psql args]" 2>&1 | |
exit 1 | |
fi |
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
#/bin/bash | |
set -o errexit | |
set -o nounset | |
set -o pipefail | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root" 1>&2 | |
exit 1 | |
fi |
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
- hosts: all | |
remote_user: root | |
tasks: | |
- name: Apt-get update | |
apt: update_cache=yes cache_valid_time=3600 | |
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu' | |
- name: Check if libc6 is installed (apt) | |
command: dpkg-query -W libc6 | |
register: libc6 |
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
root@server:~# apt-get -y install linux-generic | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following packages were automatically installed and are no longer required: | |
firefox-locale-en libmpdec2 linux-image-2.6.38-9-server | |
linux-image-3.2.0-60-generic | |
Use 'apt-get autoremove' to remove them. | |
The following extra packages will be installed: | |
linux-headers-generic linux-image-generic |
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
#!/bin/bash | |
set -o errexit | |
set -o nounset | |
set -o pipefail | |
docker inspect $(docker ps -q) \ | |
| jq -c '.[] | {name: .["Name"], ips: .["NetworkSettings"]["Networks"] | map(.IPAddress)} | [.name, .ips]' |
OlderNewer