Skip to content

Instantly share code, notes, and snippets.

View buzzedword's full-sized avatar
:octocat:
Live and in stereo

Danny Garcia buzzedword

:octocat:
Live and in stereo
View GitHub Profile
@buzzedword
buzzedword / Dockerfile
Last active June 5, 2018 06:51
Multistage builds in Docker 17.05
FROM php as vendoring-image
RUN apt-get update && \
apt-get install -y --no-install-recommends git zip
RUN curl --silent --show-error https://getcomposer.org/installer | php && \
mv composer.phar /bin/composer
COPY ./composer.json ./composer.lock /app
WORKDIR /app
RUN composer install
# PS - This is the only image we want to push. Crazy, right?
package joshsexytimefuntimego;
/**
* The JoshSexyTimeFunTimeGo class implements an application that
* prompts a user to remove their pants
*/
public class JoshSexyTimeFunTimeGo {
/**
@buzzedword
buzzedword / _mixins.scss
Last active August 29, 2015 14:04
Bootstrap default media queries
@mixin breakpoint($point) {
@if $point == large {
@media (min-width: 1200px) { @content; }
}
@else if $point == medium {
@media (min-width: 992px) and (max-width: 1119px) { @content; }
}
@else if $point == small {
@media (min-width: 768px) and (max-width: 991px) { @content; }
}

Keybase proof

I hereby claim:

  • I am buzzedword on github.
  • I am buzzedword (https://keybase.io/buzzedword) on keybase.
  • I have a public key whose fingerprint is 7D91 1FC2 0FA7 20F1 DB2E 8885 4D51 26A5 D526 2382

To claim this, I am signing this object:

@buzzedword
buzzedword / CommandAsyncHelper.php
Created May 2, 2014 02:31
Our initial proof of concept hack for parallelized jobs without rabbitmq.
<?php
namespace Application\CronBundle\Services;
use Symfony\Component\Process\Process;
class CommandAsyncHelper {
private $processes;
public function __construct() {
@buzzedword
buzzedword / 0_reuse_code.js
Created December 5, 2013 20:34
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@buzzedword
buzzedword / Critical Path to New Who
Last active December 30, 2015 06:29
Essential Episode Guide to new Doctor Who - Because you're too lazy to really care.
## Eccleston Era - Rose Tyler
S1E2 - The End of the World
S1E3 - The Unquiet Dead
*Two Parter. Little dry, worth sticking it out to get a better read on the doctor as a character*
- - -
S1E4 - Aliens of London | Part 1
S1E5 - World War Three | Part 2
- - -
**MUST SEE**
@buzzedword
buzzedword / composer.json
Created November 7, 2013 20:53
Wordpress 3.7.1 composer install
{
"repositories": [
{
"type": "package",
"package": {
"name": "wordpress",
"type": "webroot",
"version": "3.7.1",
"dist": {
"type": "zip",
<div class="tabs collapsable clickable sorted">
<ul class="navigation">
<li>Home</li>
<li>Second</li>
<li>Third
<ul class="sub collapsed">
<li>Item 1</li>
<li>Item 2</li>
</ul>
</li>
assetic:
write_to: %kernel.root_dir%/../web/
filters:
compass:
apply_to: "/\.s[ac]ss$/"