Skip to content

Instantly share code, notes, and snippets.

[
{
"boys": [
"Adam",
"Alan",
"Aldo",
"Alex",
"Andy",
"Ari",
"Ben",
@frob
frob / table.css
Created July 13, 2016 17:45
table layout fixed
table{table-layout:fixed;width:100%;}
tbody>tr>*:nth-last-child(2)~*{ width:50%}
tbody>tr>*:nth-last-child(3)~*{ width:33.3%}
tbody>tr>*:nth-last-child(4)~*{ width:25%}
@frob
frob / .eslintignore
Created November 7, 2015 00:09
Drupal ESlint settings. Taken from https://www.drupal.org/node/1955232
core/assets/vendor/**/*
core/modules/locale/tests/locale_test.js
core/vendor/**/*
sites/**/files/**/*
libraries/**/*
sites/**/libraries/**/*
profiles/**/libraries/**/*
**/js_test_files/**/*
@frob
frob / custom_drupal.js
Last active October 14, 2015 20:56
a custom js implementation for drupal
/**
* @file
* Custom JS for a Drupal Module.
*/
(function ($) {
"use strict";
Drupal.behaviors.custom_custom = {
attach: function (context, settings) {
// End of attach.
@frob
frob / emoji.php
Last active August 29, 2015 14:27 — forked from alanorth/emoji.php
Emoji class / function / variable names in PHP...
<?php
class 💩💩💩💩
{
function 💩💩💩($😎, $🐯)
{
return $😎 + $🐯;
}
}
$🐔 = 3;