Check current values with xrdb -query -all
.
Run echo "Xft.lcdfilter: lcddefault" > ~/.Xresources
Reboot.
Check current values with xrdb -query -all
.
// remove crappy contents from news.google.de | |
$("div.source, span.source").filter(function() { return /(BILD|WELT ONLINE)/.test( $(this).text() ) }).parent().fadeOut(); | |
$("h2.title > a").filter(function() { return /.*(welt.de|bild.de).*/.test( $(this).attr('href') ) } ).parents("div.story").fadeOut(); |
For a working sudo in a non-interactive ssh session: | |
1. Copy askpass to $HOME/bin/askpass & make it executeable (chmod +x $HOME/bin/askpass) | |
2. Change your deploy.rb to setup the SUDO_ASKPASS environment variable (see man sudo) | |
Credits: http://serverfault.com/questions/307366/error-deploying-app-with-vlad-running-a-sudo-command-to-ubuntu-server |
class CreateViewTest < ActiveRecord::Migration | |
def up | |
create_view_or_table :view_test do | |
view_column :select => "#{source_db}.dbo.Config.value", :as => :config_value, :type => :integer | |
view_sql "FROM #{source_db}.dbo.Config" | |
end | |
end |
<!doctype html> | |
<html><head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/> | |
<script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'></script> | |
<script type='text/javascript' src="http://cloud.github.com/downloads/wycats/handlebars.js/handlebars-1.0.0.beta.6.js"></script> | |
<script type='text/javascript' src="http://cloud.github.com/downloads/emberjs/ember.js/ember-latest.js"></script> | |
</head><body> | |
<script type="text/x-handlebars" data-template-name="application"> | |
<h1>Application</h1> | |
<a href="#/dashboard">Dashboard</a> |
$ tree | |
. | |
├── app.js | |
├── controllers | |
│ ├── administration_controller.js | |
│ ├── application_controller.js | |
│ ├── diagram | |
│ │ └── diagram_controller.js | |
│ ├── documents_controller.js | |
│ ├── layout |
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
body { | |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
width: 960px; | |
height: 500px; | |
position: relative; | |
} |
#!/bin/bash | |
# Ubuntu/Debian rbenv system wide installation script | |
# Forked from https://gist.github.com/1237417 | |
# Installs rbenv system wide on Debian/Ubuntu, also allows single user installs. | |
# Install pre-requirements | |
apt-get install build-essential git-core \ | |
bison openssl libssl-dev libreadline6 libreadline6-dev \ |
/* jshint node: true */ | |
'use strict'; | |
var PostcssCompiler = require('broccoli-postcss'); | |
var path = require('path'); | |
var checker = require('ember-cli-version-checker'); | |
var merge = require('merge'); | |
var mergeTrees = require('broccoli-merge-trees'); | |
var autoprefixer = require('autoprefixer'); | |
var cssnext = require('postcss-cssnext'); |
Check current values with xrdb -query -all
.
Run echo "Xft.lcdfilter: lcddefault" > ~/.Xresources
Reboot.
Check current values with xrdb -query -all
.
import Ember from 'ember'; | |
export default Ember.Object.extend({ | |
store: null, | |
model: null, | |
currPage: 1, | |
pageSize: 30, | |
cacheSize: 5, |