Mou, the missing Markdown editor for web developers.
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'?> | |
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> | |
<!-- ~/.fonts.conf for per-user font configuration --> | |
<fontconfig> | |
<!-- default fonts --> | |
<alias> | |
<family>serif</family> | |
<prefer> | |
<family>Droid Serif</family> | |
</prefer> |
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
register = template.Library() | |
@register.filter(name='zodiac') | |
def zodiac(value): | |
""" Return appropriate zodiac for a given date | |
Usage in templates: {{ your_object.date_of_birth|zodiac }} """ | |
signs = ( | |
(u"Oğlak", range(356, 365)), | |
(u"Oğlak", range(1, 20)), | |
(u"Kova", range(21, 52)), | |
(u"Balık", range(52, 79)), |
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
Show hidden characters
{ | |
"always_prompt_for_file_reload": false, | |
"auto_complete": false, | |
"auto_complete_commit_on_tab": true, | |
"auto_find_in_selection": false, | |
"caret_style": "phase", | |
"color_scheme": "Packages/User/Themes/Mac CLassic.tmTheme", | |
"copy_with_empty_selection": false, | |
"default_line_ending": "unix", | |
"diff_changes_to_buffer": true, |
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"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>author</key> | |
<string>Chris Thomas</string> | |
<key>name</key> | |
<string>Mac Classic</string> | |
<key>settings</key> | |
<array> |
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
<?php | |
/** | |
* SplClassLoader implementation that implements the technical interoperability | |
* standards for PHP 5.3 namespaces and class names. | |
* | |
* http://groups.google.com/group/php-standards/web/final-proposal | |
* | |
* // Example which loads classes for the Doctrine Common package in the | |
* // Doctrine\Common namespace. |
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
sudo apt-get purge gnome-games-* xdiagnose aisleriot gnome-dictionary gnome-contacts gnumeric abiword cheese alacarte rhythmbox alacarte | |
sudo apt-get autoremove | |
sudo apt-add-repository ppa:gnome3-team/gnome3 | |
sudo apt-add-repository ppa:webupd8team/sublime-text-2 | |
sudo add-apt-repository ppa:mystic-mirage/komodo-edit | |
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install sublime-text-2-dev dkms ppa-purge oracle-java6-installer | |
sudo apt-get install htop tmux screen software-center jockey-gtk git-core mercurial vim font-manager xclip vim tasksel |
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
/**********************************************/ | |
/* | |
/* Make Chrome dev tools look good under Linux | |
/* ~/.config/google-chrome/Default/User StyleSheets/Custom.css | |
/* chrome-devtools://devtools/devTools.css | |
/* See https://plus.google.com/115133653231679625609/posts/UZF34wPJXsL | |
/* | |
/**********************************************/ | |
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
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.provider "virtualbox" do |v| | |
v.memory = 256 | |
end | |
config.vm.box = "precise32" | |
config.vm.box_url = "http://files.vagrantup.com/precise32.box" | |
config.vm.synced_folder "./" , "/vagrant/", :mount_options => ["dmode=777", "fmode=666"] | |
config.vm.provision :shell, :path => "https://gist.github.com/amiroff/7976592/raw/lamp.sh" |
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
#!/usr/bin/env bash | |
export DEBIAN_FRONTEND=noninteractive | |
#echo "--> Configuring locales <--" | |
#locale-gen en_US.UTF-8 | |
#apt-get install language-pack-en-base | |
echo "--> Updating package db <--" | |
apt-get update |
OlderNewer