- You have Ghostscript installed, right? Otherwise
sudo apt-get install ghostscript
- This is important and installs the headers (
iapi.h
etc) which are required but don't come with the default Ghostscript package:sudo apt-get install libgs-dev
- I also needed
sudo apt-get install gs-esp
- For me the pre compiled version of ImageMagick never accepted Ghostscript, so let's remove it:
sudo apt-get --purge remove imagemagick
- Get the source of ImageMagick, untar it,
cd ImageMagick-xx
./configure --with-gslib=yes
[and what else you need]- Confirm in the output near the bottom
gslib yes yes
and notgslib yes no
make
make install
- Run
convert -list configure | grep DELEGATES
=>DELEGATES bzlib djvu freetype gs jpeg jng jp2 lcms png tiff x11 xml zlib
This file contains hidden or 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
import hudson.model.* | |
import hudson.maven.* | |
import hudson.tasks.* | |
import hudson.scm.* | |
def match_url = "http://svn.mycorp.com/svn/devops" | |
for(item in Hudson.instance.items) { | |
hasClaim = false; | |
if (item.scm instanceof SubversionSCM) |
This file contains hidden or 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
def qaCatalinaBase = '/opt/apache-tomcat-8-qa' | |
def qaHttpPort = 8081 | |
def stagingCatalinaBase = '/opt/apache-tomcat-8-staging' | |
def stagingHttpPort = 8082 | |
def perfsCatalinaBase = '/opt/apache-tomcat-8-perfs' | |
def perfsHttpPort = 8084 | |
def productionCatalinaBase = '/opt/apache-tomcat-8-production' |
This file contains hidden or 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
#![feature(lookup_host)] | |
extern crate futures; | |
extern crate tokio_core; | |
extern crate rand; | |
use rand::Rng; | |
use std::env; | |
use futures::{Future, Stream}; | |
use tokio_core::io::{copy, Io}; |
This file contains hidden or 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
#!/bin/sh | |
# Written by Mike Ensor ([email protected]) | |
# Copywrite 2012 | |
# Use as needed, modify, have fun! | |
# This is intended to be used for Maven3 + Mac OSX | |
# | |
# To use: | |
# in your ".bashrc" or ".bash_profile" add the following line: | |
# source ~/<path to script>/colorize-maven.sh |
This file contains hidden or 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
Wladimir van der Laan 2016. This document is in the public domain. | |
BLATSTING reverse-engineering notes. Based on files from Firewall/BLATSTING/BLATSTING_201381/LP/lpconfig. | |
In https://musalbas.com/2016/08/16/equation-group-firewall-operations-catalogue.html, | |
BLATSTING is described as "A firewall software implant that is used with EGREGIOUSBLUNDER | |
(Fortigate) and ELIGIBLEBACHELOR (TOPSEC)". | |
If true, it's interesting how this implant can target both vendors. Presumably they both use the same Linux | |
kernel version (2.4.x = FortiOS 5.2). Possibly, one series of network devices is a "whitelabel" variant of the other. |
This file contains hidden or 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
[ | |
{ | |
"offset": "GMT-12:00", | |
"name": "Etc/GMT-12" | |
}, | |
{ | |
"offset": "GMT-11:00", | |
"name": "Etc/GMT-11" | |
}, | |
{ |
This file contains hidden or 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
############################################################ | |
# Builds a Meteor 0.9.x+ application Docker image | |
# | |
# See: http://docs.docker.io/ | |
# | |
# Important: Best to run from a clean directory that hasn't had meteor run in it. | |
# Important: packages/<pkg>/.npm and .build* should not exist | |
# | |
# Example usage: | |
# cd appdir #in app dir |
- Create 10GB FreeBSD image using QEMU.
- Run the VM using xhyve.
- Mount host directory.
- Resize the image.
- OSX
- Homebrew
This file contains hidden or 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
#!/bin/bash | |
# Bash shell script for generating self-signed certs. Run this in a folder, as it | |
# generates a few files. Large portions of this script were taken from the | |
# following artcile: | |
# | |
# http://usrportage.de/archives/919-Batch-generating-SSL-certificates.html | |
# | |
# Additional alterations by: Brad Landers | |
# Date: 2012-01-27 |