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
Create your Amazon Linux EC2 Instance. | |
SSH in. | |
$ bash < <(curl -s https://raw.github.com/xntrik/beefcloud/master/beef-installer) | |
$ source ~/.bash_profile | |
$ cd beef |
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
# | |
# Copyright 2012 Wade Alcorn [email protected] | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |
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
font="standard" | |
while read line | |
do | |
if [ "${line:0:2}" = "# " ] | |
then | |
font=`echo $line | awk '{print $2 }'` | |
else | |
missing=`echo $line | figlet -f $font | wc -l` | |
oneither=`echo $[24-missing]/2 | bc` |
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
When: Friday, July 20th, 2012 | |
Where: ECU Bowls Club, Mt Lawley 2 Stancliffe St, Mt Lawley (http://labs.asteriskinfosec.com.au/ruxmonjulymap.jpg) | |
Time: 6:00PM | |
Registrations: No registrations required | |
Presentation 1: | |
Lloyd Mckie on Biosecurity | |
Biology has a role to play in security, the bacteria can do our encryption. Will this happen? There is a new necessity for this with the approaching concerns of oil depletion and reducing coal power production. Moore's law is reaching the physical limitations of our world with regard to recognising the magnetic signature of each transistor coupled with the potential new qbit processor we may see the silicon replaced by atoms. |
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
http://code.google.com/p/google-desktop-for-linux-mirror/downloads/detail?name=gd-2.0.35.tar.gz&can=2&q= | |
http://kempwire.com/tips/installing-gd-graphics-library-on-mac-os-x.html | |
https://groups.google.com/forum/#!topic/circos-data-visualization/6HzMnXbyf18 | |
http://www.ifrankie.com/wp-uploads/installing_gd2_on_os_x_server.pdf | |
http://www.sharedproteomics.com/forum/showthread.php?325-Installing-GD-on-Mac-OSX-10.6 <-- I think this is what worked .. with some help from somewhere else |
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
cd ~/circos/circos-tools-0.16/tools/tableviewer | |
cat samples/table-02a.txt | bin/parse-table -conf samples/parse-table-02a.conf | bin/make-conf -dir data | |
#This populates the data dir | |
../../../circos-0.62-1/bin/circos -conf etc/circos.conf -outputfile test2.png | |
#This drops test2.png and .svg into the img/ folder.. PHEW |
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
#!/usr/bin/env ruby | |
start = ARGV[0].to_s.hex | |
len = ARGV[0].to_s.length | |
count = 0 | |
until count == ARGV[1].to_i | |
puts "%0#{len.to_s}x" % start | |
zeros = "" |
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
$iTunes = New-Object -comObject iTunes.Application | |
$iTunesLibrary = $iTunes.LibraryPlaylist | |
$iTunesLibrary.AddFile('C:\filename.m4v') |
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
http://stackoverflow.com/questions/9907512/why-heroku-dont-use-the-good-manifest-yml | |
so i placed: | |
config.assets.initialize_on_precompile = false | |
in | |
config/application.rb | |
after i push, i then run: | |
heroku run rake assets:precompile | |
AND, for good measure: |
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
So I run a peculiar setup, ATV2 with my media coming from iTunes on a desktop, Windows 7 PC I never really touch | |
anymore. I know I could JB the ATV, or I could replace the PC with a NAS or some shit .. anyway, I'm lazy. | |
... | |
But not so lazy not to figure out how to make a crappy powershell script, hook it up in task scheduler under hstart | |
(http://www.ntwind.com/software/hstart.html), run it every 5 minutes against my TV / Movie folders, looking for new | |
files, then automatically converting them (with Handbrake) into the right format, and then automatically | |
adding them to iTunes. |