Skip to content

Instantly share code, notes, and snippets.

View jermspeaks's full-sized avatar
🐧

Jeremy Wong jermspeaks

🐧
View GitHub Profile
@jermspeaks
jermspeaks / IoC-and-DI-with-Castle-Windsor-Container-part-1.md
Last active May 21, 2019 09:39
Inversion of Control and Dependency Injection with Castle Windsor Container

Inversion of Control and Dependency Injection with Castle Windsor Container - Part I

Published: 24 Jul 2007.
By: Simone Busoli

Inversion of Control (IoC) and Dependency Injection (DI) are two related practices in software development which are known to lead to higher testability and maintainability of software products. While some people employ them daily in their work, many others still don't know much about them, mostly because they require in the former a shift in the usual thinking process.

This article introduces these notions in a simple and affordable fashion, with a real example which evolves step by step to take advantage from IoC and DI, leveraging the features offered by an open source framework called Castle Project.

Inversion of Control/Dependency Injection Series

@jermspeaks
jermspeaks / opendir.md
Created February 17, 2019 07:19
Manually Searching OpenDirectories on Google

Manually Searching OpenDirectories on Google

For videos/movies/tvshows :

intext:\"Search Term\" intitle:\"index.of\" +(wmv|mpg|avi|mp4|mkv|mov) -inurl:(jsp|pl|php|html|aspx|htm|cf|shtml)

Images :

# brew install switchaudio-osx
headphoneson() {
SwitchAudioSource -t "input" -s "<NAME OF DEVICE>"
SwitchAudioSource -t "output" -s "<NAME OF DEVICE>"
}
headphonesoff() {
SwitchAudioSource -t "input" -s "MacBook Pro Microphone"
SwitchAudioSource -t "output" -s "MacBook Pro Speakers"
}
@jermspeaks
jermspeaks / .block
Last active June 16, 2018 21:46
map block
license: mit
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
WEBVTT
X-TIMESTAMP-MAP=MPEGTS:0,LOCAL:00:00:00.000
00:00:00.000 --> 99:99:99.999
Subtitles not available
@jermspeaks
jermspeaks / sites.txt
Created October 25, 2017 20:12
Interesting Video Augmentation
http://fortune.com/2017/10/25/microsoft-kinect-xbox-sensor/
@jermspeaks
jermspeaks / unreset.css
Created October 24, 2017 17:04
Vanilla CSS Un-Reset
/**
* Start Vanilla CSS 1.0.2
*/
body {
font: 9pt/1.5em sans-serif;
}
pre, code, tt {
font: 1em/1.5em 'Andale Mono', 'Lucida Console', monospace;
}
h1, h2, h3, h4, h5, h6, b, strong {
https://www.reviewjournal.com/news/nation-and-world/large-rock-fall-again-hits-yosemite-national-park-injuring-1/
@jermspeaks
jermspeaks / .block
Last active October 15, 2017 04:40
Simple Tree (d3 v4; CSV; 63 Lines)
license: gpl-3.0
height: 200
border: no