This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html { | |
background: url('/images/bg_home_full.jpg') repeat-y; | |
background-position: 50% 0; | |
} | |
body { | |
font-family: 'Georgia', 'Garamond', serif; | |
background: url('/images/bg_home.png') no-repeat; | |
background-position: 50% 0; | |
background-attachment: fixed; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---- | |
Test | |
---- | |
................FFFFFF.......FFFFFF.... | |
FAIL | |
27 / 39 passes | |
12 fails and 0 exceptions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Environment selection: | |
* Set the correct environment based on the current request. | |
* | |
* Development is the default environment. | |
* Test gets called when running behat tests and li3 tests: | |
* For behat look at features/bootstrap/LithiumAcceptanceTester.php where an environment variable is set. | |
* For li3 it's switched here based on the command parameter of $request. | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Remove first line preview of the message */ | |
.apB { | |
display: none; | |
} | |
/* Align priority inbox yellow elements */ | |
.apd { | |
padding: 0 2px 0 0; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/sites/all/modules/features/elite_base/elite_base.module b/sites/all/modules/features/elite_base/elite_base.module | |
index 71474bc..60ee47b 100644 | |
--- a/sites/all/modules/features/elite_base/elite_base.module | |
+++ b/sites/all/modules/features/elite_base/elite_base.module | |
@@ -361,7 +361,7 @@ function elite_base_form_user_profile_form_alter(&$form, &$form_state) { | |
$field_view = render($field_view); | |
$form[$fc]['#prefix'] .= | |
- '<div id="btn-custom-container"><button id="add-' . $fc . '" class="add-new-field-collection-item" type="button">' . t('Add new') . '</button>' . | |
+ '<div id="btn-custom-container"><button id="add-' . $fc . '" class="add-new-field-collection-item" type="button" role="' . $fc . '">' . t('Add new') . '</button>' . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Failed rebinding in pattern matching | |
[a, b, a] = [1, 2, 3] | |
# ** (MatchError) no match of right hand side value: [1, 2, 3] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule Names do | |
def full_name(name, surname, title \\ "Mr") do | |
title <> " " <> String.capitalize(name) <> " " <> String.capitalize(surname) | |
end | |
end | |
Names.full_name("john", "doe") # Mr John Doe | |
Names.full_name("melissa", "doe", "Ms") # Ms Melissa Doe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mix new project_name | |
# * creating README.md | |
# * creating .gitignore | |
# * creating mix.exs | |
# * creating config | |
# * creating config/config.exs | |
# * creating lib | |
# * creating lib/project_name.ex | |
# * creating test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defproject project-name "0.1.0-SNAPSHOT" | |
:dependencies [...] | |
:min-lein-version "2.5.3" | |
:source-paths ["src/clj" "script"] | |
:plugins [[lein-cljsbuild "1.1.1"] | |
[lein-doo "0.1.6"]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(set-env! | |
:source-paths #{"sass" "src/cljs"} | |
:resource-paths #{"resources"} | |
:dependencies '[...]) | |
(require | |
'[adzerk.boot-cljs :refer [cljs]] | |
'[adzerk.boot-cljs-repl :refer [cljs-repl start-repl]] | |
'[adzerk.boot-reload :refer [reload]] | |
'[pandeiro.boot-http :refer [serve]] |
OlderNewer