Skip to content

Instantly share code, notes, and snippets.

Alex Coles myabc

Block or report user

Report or block myabc

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<script src="https://cdn.jsdelivr.net/lodash/4/lodash.min.js"></script>
</head>
<body>
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<script src="https://cdn.jsdelivr.net/lodash/4/lodash.min.js"></script>
</head>
<body>
View keybase.md

Keybase proof

I hereby claim:

  • I am myabc on github.
  • I am myabc (https://keybase.io/myabc) on keybase.
  • I have a public key whose fingerprint is C158 E20D 9348 CF1D C6F8 22D6 D8B5 72A6 6D48 932A

To claim this, I am signing this object:

View RubyDay Italia Workshop.md

Taking Rails beyond the asset pipeline

a workshop

RubyDay Italia, Firenze | Novembre 2016


Bienvenuto


View gist:6874053
#/usr/bin/env bash
set -e
set -x
apt-get update
apt-get upgrade
apt-get -y install build-essential curl git-core openssl libreadline6 libreadline6-dev \
zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev \
@myabc
myabc / gist:6230490
Last active Dec 21, 2015
JRubyConf EU Menu for 15 August
View gist:6230490

Vorspeisen & Salate

Vegetarisch

Sigara böreği & Tsatsiki (gefüllte Teigrolle mit Schafskäse & Petersilie)

Pochierter Spinat in Joghurt (mit Zwiebeln und Joghurt Knoblauch Dipp)

Käse Platte mit verschiedenen hausgemachten Käsepasten

@myabc
myabc / gist:6229824
Created Aug 14, 2013
JRubyConf EU Menu for 14 August
View gist:6229824

Vorspeisen & Salate

Vegetarisch

Falafel & Humus (vegan) (frittiertes Kichererbsenpuree mit Humus)

Gegrilltes Gemüse in Joghurt (Zucchini, rote und gelbe Paprika mit Joghurt Knoblauch Dipp)

Käse Platte mit verschiedenen hausgemachten Käsepasten

View compass_patch.rb
# config/initializers/compass_patch.rb
module Compass::SassExtensions::Functions::Sprites
# Returns boolean if sprite has the selector
def sprite_has_selector(map, sprite, selector)
sprite = convert_sprite_name(sprite)
verify_map map
verify_sprite sprite
unless VALID_SELECTORS.include?(selector.value)
raise Sass::SyntaxError, "Invalid Selctor did you mean one of: #{VALID_SELECTORS.join(', ')}"
@myabc
myabc / gist:3748905
Created Sep 19, 2012 — forked from gnunicorn/gist:3748738
Git for Beginners: Call for Coaches
View gist:3748905

The OpenTechSchool has set up and hosted a few tech workshops and meetups here in Berlin now. Aside from the monthly Beginners Meetup and hosting the Udacity Global Meetup we hosted workshops for program beginners in Python and Javascript on our own and on the premise of CampusParty.

One thing that was extraordinary popular on CampusParty was the Workshop on Git for beginners. And we decided to do it again, this time with a closer focus on version control as a major benefit in code sharing (by using git and github) for beginners - free of charge.

So if you are interested in

View Rakefile
task :java_compile do
# Pick the right class path, depending if we're using an rvm installed JRuby
jruby_cpath = ENV['MY_RUBY_HOME'] || ENV['JRUBY_HOME']
raise 'MY_RUBY_HOME or JRUBY_HOME are not set' unless jruby_cpath
puts 'Doing a simple compilation'
sh %(javac -source 1.6 -target 1.6 -cp #{jruby_cpath}/lib/jruby.jar java/**/*.java)
mkdir_p '../lib/jrubytesting'
sh %(jar cf ../lib/jrubytesting/test_jruby_library.jar -C java jrubytesting/TestJrubyLibraryService.class)
puts
You can’t perform that action at this time.