This file contains 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
$view = new view(); | |
$view->name = 'last_fm_artists'; | |
$view->description = ''; | |
$view->tag = 'default'; | |
$view->base_table = 'xml'; | |
$view->human_name = 'Last.fm artists'; | |
$view->core = 7; | |
$view->api_version = '3.0'; | |
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ |
This file contains 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
/** | |
* Advent calendar doors. | |
*/ | |
body { | |
background: #000; | |
} | |
.views-row { | |
margin: 1em; | |
float: left; |
This file contains 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
/** | |
* Implements hook_js_alter(). | |
* | |
* Remove unwanted module JS. | |
*/ | |
function mytheme_js_alter(&$javascript) { | |
$removal_list = array( | |
'google_cse' => array( | |
'/google_cse.js', |
This file contains 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
/** | |
* Table hover borders | |
*/ | |
table { | |
border-collapse: collapse; | |
} | |
tr { | |
border-bottom: 1px solid transparent; | |
border-top: 1px solid transparent; |
This file contains 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
// alert('Hello world!'); |
This file contains 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
drupal_add_js('//assets.codepen.io/assets/embed/ei.js', array( | |
'type' => 'external', | |
'scope' => 'footer', | |
)); |
This file contains 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 | |
// your connection | |
mysql_connect("localhost","root","root"); | |
mysql_select_db("d6"); | |
// convert | |
$result = mysql_query("SHOW TABLES"); | |
while ($row = mysql_fetch_array($result)) { | |
foreach ($row as $key => $table) { |
This file contains 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
[client] | |
#password = your_password | |
port = 3306 | |
socket = /var/run/mysqld/mysqld.sock | |
[mysqld] | |
port = 3306 | |
bind-address = 0.0.0.0 | |
datadir = /var/lib/mysql | |
socket = /var/run/mysqld/mysqld.sock |
This file contains 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
Welcome to Pa11y | |
> PhantomJS browser created | |
> Testing the page "https://capgemini.github.io/cloud/Managing-Cloud-Infrastructure-in-Amazon-Web-Service-using-VoiceOps/" | |
Results for https://capgemini.github.io/cloud/Managing-Cloud-Infrastructure-in-Amazon-Web-Service-using-VoiceOps/: | |
• Notice: Check that the title element describes the document. | |
├── WCAG2AA.Principle2.Guideline2_4.2_4_2.H25.2 |
This file contains 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
pa11y https://capgemini.github.io --ignore "warning;notice" | |
pa11y https://capgemini.github.io/categories --ignore "warning;notice" | |
pa11y https://capgemini.github.io/cloud/Managing-Cloud-Infrastructure-in-Amazon-Web-Service-using-VoiceOps/ --ignore "warning;notice" |
OlderNewer