Skip to content

Instantly share code, notes, and snippets.

View d0nkeyBOB's full-sized avatar
💭
on a mission to learn all things

Rich d0nkeyBOB

💭
on a mission to learn all things
  • Self Employed
  • 15:29 (UTC -12:00)
View GitHub Profile
@d0nkeyBOB
d0nkeyBOB / javainstall.sh
Last active December 15, 2019 07:29 — forked from Sawaba/javainstall.sh
Java JDK 12 and Maven 3.6.1 install script for Windows Subsystem for Linux (WSL)
#!/bin/bash
# This script adapted from an older post on StackOverflow by user fieldju
# https://stackoverflow.com/questions/36478741/installing-oracle-jdk-on-windows-subsystem-for-linux
# The script was for JDK 8.
# Due to major changes with JDK 11 (no JRE, no Derby, Unlimited Strength included), it was necessary to update the entire script.
set -ex
# UPDATE THESE URLs (this one updated as of 2019-03-06)
export JDK_URL=https://download.oracle.com/otn-pub/java/jdk/12.0.2+10/e482c34c86bd4bf8b56c0b35558996b9/jdk-12.0.2_linux-x64_bin.tar.gz
if 0 | endif
if &compatible
set nocompatible " Be iMproved
endif
filetype off " required
" not a vi

Keybase proof

I hereby claim:

  • I am d0nkeybob on github.
  • I am d0nkeybob (https://keybase.io/d0nkeybob) on keybase.
  • I have a public key whose fingerprint is ED52 443A B6B6 6C4C 411E C690 E27B 75AF 47A7 77A8

To claim this, I am signing this object:

<link rel="import" href="../cool-clock/cool-clock.html">
<link rel="import" href="../yt-video/yt-search-video.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
/* All Smartphones in portrait and landscape ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
/* YOUR STYLE GOES HERE */
}
/* All Smartphones in landscape ----------- */
@media only screen
and (min-width : 321px) {
on run {input, parameters}
cd(input)
end run
on cd(dir)
tell application "iTerm"
activate
set miniaturized of windows to false
try
@d0nkeyBOB
d0nkeyBOB / new_gist_file
Created November 22, 2013 16:05
install homebrew
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)"
@d0nkeyBOB
d0nkeyBOB / css_resources.md
Created November 22, 2013 14:18 — forked from jookyboi/css_resources.md
CSS libraries and guides to bring some order to the chaos.

Libraries

  • 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
  • Compass - Open source CSS Authoring Framework.
  • Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
  • Font Awesome - The iconic font designed for Bootstrap.
  • Zurb Foundation - Framework for writing responsive web sites.
  • SASS - CSS extension language which allows variables, mixins and rules nesting.
  • Skeleton - Boilerplate for responsive, mobile-friendly development.

Guides

@d0nkeyBOB
d0nkeyBOB / javascript_resources.md
Created November 22, 2013 14:18 — forked from jookyboi/javascript_resources.md
Here are a set of libraries, plugins and guides which may be useful to your Javascript coding.

Libraries

  • jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
  • Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
  • AngularJS - Conventions based MVC framework for HTML5 apps.
  • Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
  • lawnchair - Key/value store adapter for indexdb, localStorage