Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
Live and in stereo

Danny Garcia buzzedword

:octocat:
Live and in stereo
View GitHub Profile
@buzzedword
buzzedword / Dockerfile
Last active Jun 5, 2018
Multistage builds in Docker 17.05
View Dockerfile
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?
View codeyourpantsoff.java
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 Aug 29, 2015
Bootstrap default media queries
View _mixins.scss
@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; }
}
View keybase.md

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
Our initial proof of concept hack for parallelized jobs without rabbitmq.
View CommandAsyncHelper.php
<?php
namespace Application\CronBundle\Services;
use Symfony\Component\Process\Process;
class CommandAsyncHelper {
private $processes;
public function __construct() {
@buzzedword
buzzedword / 0_reuse_code.js
Created Dec 5, 2013
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// 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 Dec 30, 2015
Essential Episode Guide to new Doctor Who - Because you're too lazy to really care.
View Critical Path to New Who
## 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 Nov 7, 2013
Wordpress 3.7.1 composer install
View composer.json
{
"repositories": [
{
"type": "package",
"package": {
"name": "wordpress",
"type": "webroot",
"version": "3.7.1",
"dist": {
"type": "zip",
View dom.html
<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>
View config.yml
assetic:
write_to: %kernel.root_dir%/../web/
filters:
compass:
apply_to: "/\.s[ac]ss$/"
You can’t perform that action at this time.