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:
" | |
" Vim customization and package management | |
" | |
" Base settings {{{ | |
set nocompatible " be iMproved, required | |
filetype off " required | |
syntax on | |
set mouse=a |
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
my $m = shift @ARGV; | |
my $sqrs = 0; | |
# |
<!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:
#!/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 . |
// | |
// AXI Read | |
// | |
{"signal" : [ | |
{"name":"aclk", "wave":"p.............|..."}, | |
{"name":"araddr", "wave":"x|x2.x|x..........", | |
"data": ["0x07000100"]}, | |
{"name":"arvalid", "wave":"x|01.0|..........."}, | |
{"name":"arready", "wave":"x|0.1.0|.........."}, | |
{}, |
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
# | |
# Beauty of Math! | |
# https://plus.google.com/u/0/102786751626732213960/posts/PvZKGwZ3kLQ | |
# |