##Lubuntu 13.04
- add a line
~/.config/lxsession/Lubuntu/autostart
@xcompmgr &
- edit a line
/etc/apache2/conf.d/security | |
# | |
# Disable access to the entire file system except for the directories that | |
# are explicitly allowed later. | |
# | |
# This currently breaks the configurations that come with some web application | |
# Debian packages. | |
# | |
#<Directory /> |
/etc/apache2/mods-availables/mime.conf | |
<IfModule mod_mime.c> | |
# | |
# TypesConfig points to the file containing the list of mappings from | |
# filename extension to MIME-type. | |
# | |
TypesConfig /etc/mime.types |
/etc/apache2/sites-available/default | |
<VirtualHost *:80> | |
ServerAdmin webmaster@localhost | |
#DocumentRoot /var/www | |
DocumentRoot /home/USER/www | |
<Directory /> | |
Options FollowSymLinks | |
AllowOverride None #when using .htassess is to comment. |
##Lubuntu 13.04
~/.config/lxsession/Lubuntu/autostart
@xcompmgr &
'use strict'; | |
module.exports = function(grunt){ | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON("package.json"), | |
watch:{ | |
options: { | |
livereload: true |
{ | |
"name": "project-name", | |
"version": "0.1.0", | |
"devDependencies": { | |
"grunt": "~0.4.2", | |
"grunt-contrib-connect": "*", | |
"grunt-contrib-compass": "~0.7.0", | |
"grunt-contrib-watch": "*" | |
} | |
} |
opensslのmakeでこけてる... | |
$ brew install wget | |
==> Installing wget dependency: openssl | |
==> Downloading http://www.openssl.org/source/openssl-1.0.1f.tar.gz | |
######################################################################## 100.0% | |
==> perl ./Configure --prefix=/usr/local/Cellar/openssl/1.0.1f --openssldir=/usr/local/etc/openssl zlib-dynamic shared darwin-i386-cc | |
==> make |
error | |
$ brew doctor | |
Warning: An outdated version of Git was detected in your PATH. | |
Git 1.7.10 or newer is required to perform checkouts over HTTPS from GitHub. | |
Please upgrade: brew upgrade git | |
Warning: Unbrewed dylibs were found in /usr/local/lib. | |
If you didn't put them there on purpose they could cause problems when | |
building Homebrew formulae, and may need to be deleted. |
" minimum .vimrc example | |
set nocompatible | |
filetype off | |
set rtp+=~/vimfiles/bundle/plugin1.vim | |
set rtp+=~/vimfiles/bundle/plugin2 | |
filetype plugin indent on | |
syntax enable |
#!/bin/bash | |
for F in *.JPG | |
do | |
convert -resize 100x $F ${F/.JPG/.png} | |
done |