This requires ImageMagick packages to be installed.
- Reduce quality and remove color:
% convert -colorspace GRAY -density 150x150 -quality 80 -compress jpeg LargeSize.pdf SmallSizeGray.pdf
- Reduce quality, preserve color:
| #!/usr/bin/perl | |
| use strict; | |
| use warnings; | |
| my $m = shift @ARGV; | |
| my $sqrs = 0; | |
| # |
| " | |
| " Vim customization and package management | |
| " | |
| " Base settings {{{ | |
| set nocompatible " be iMproved, required | |
| filetype off " required | |
| syntax on | |
| set mouse=a |
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="x-ua-compatible" content="ie=edge"> | |
| <title>Emoji Puzzle</title> | |
| <meta name="description" content="Emoji code"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <link rel="apple-touch-icon" href="apple-touch-icon.png"> |
I hereby claim:
To claim this, I am signing this object:
| <!DOCTYPE html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Multiplication - Short</title> | |
| <meta name="description" content="Multiplication exercise"> | |
| <script src="http://code.jquery.com/jquery-2.1.0.min.js"></script> | |
| <style type="text/css"> | |
| body { | |
| font-family: "Trebuchet MS", sans-serif; | |
| } |
| # | |
| # Google for Work riddles in follow Google+ posts | |
| # | |
| https://plus.google.com/u/0/+GoogleforWork/posts/iGqi6N9dwY3 | |
| https://plus.google.com/u/0/+GoogleforWork/posts/3uyrWjgz9cr | |
| https://plus.google.com/u/0/+GoogleforWork/posts/6Z8LKYhJqWd |
| #!/usr/bin/env ruby | |
| require 'net/http' | |
| require 'securerandom' | |
| require 'yaml' | |
| class DreamhostIPUpdater | |
| def initialize(apikey) | |
| @api_url = 'https://api.dreamhost.com/'; | |
| @apikey = apikey |
| % aptitude install libxp6:i386 | |
| % aptitude install libsm6:i386 | |
| % aptitude install libxmu6:i386 | |
| % aptitude install libxinerama1:i386 | |
| % aptitude install libglib2.0-0:i386 | |
| % aptitude install libxft2:i386 | |
| % aptitude install libgtk2.0-0:i386 |
| :) ~ $ cd Bitcasa/ | |
| :) ~/Bitcasa $ ls -al | |
| total 18 | |
| drwxrwxr-x 4 user1 user1 4096 Jun 8 07:45 . | |
| drwxr-xr-x 83 user1 user1 12288 Jun 8 17:56 .. | |
| drwxr-xr-x 0 user1 user1 0 Jun 9 10:18 User1 Mac | |
| drwxr-xr-x 0 user1 user1 0 Jun 9 10:18 Sample Videos | |
| :) ~/Bitcasa $ ls -al Sample\ Videos | |
| total 59673 | |
| drwxr-xr-x 0 user1 user1 0 Jun 9 10:18 . |