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
/** | |
* Tests to run | |
* - what does it do if there are no markets attatched to the study | |
* - state.components.prediction_markets works correctly | |
*/ | |
/* tslint:disable:no-unused-variable */ | |
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; | |
import { By } from '@angular/platform-browser'; | |
import { DebugElement } from '@angular/core'; |
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
//proj.js | |
var header = document.querySelector('h2'); | |
header.textContent = 'Order North Georgia Coffee'; | |
//index.html | |
<html> | |
<head> |
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
remove_filter ('the_content','wpautop'); | |
remove_filter ('the_excerpt','wpautop'); |
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
function get_theme_dir(){ | |
$dir = get_bloginfo('stylesheet_directory'); | |
return $dir; | |
} | |
add_shortcode('get_theme_dir', 'get_theme_dir'); |
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
launchers: | |
integration: | |
command: "rspec testing/integration" | |
headless: | |
command: "HEADLESS=1 rspec testing/integration" | |
src_files: | |
- testing/integration/*.rb | |
- app/webroot/js/src/global.js | |
test_page: app/webroot/js/SpecRunner.html | |
launch_in_dev: |
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
NOW=$(date '+%m_%d_%Y_%s') | |
DBS=`cat /bu/dbs.out` | |
#DBS="$(mysql -u root -h localhost -ppassword -Bse 'show databases')" | |
for db in $DBS | |
do | |
FILE=${db}_${NOW}.gz | |
OLDFILE=${db}_*.gz | |
#rm -f /bu/$OLDFILE | |
mysqldump -u root -h localhost -pronky $db | /bin/gzip -9 > /bu/$FILE | |
done |
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 | |
/* | |
Plugin Name: Imperative Sales Tracker | |
Plugin URI: http://www.imperativedesign.net/plugins/sales-tracker-plugin | |
Description: A cool tool to help you track and reach your goals | |
Version: 0.5 | |
Author: Paul Barrick | |
Author URI:http://www.imperativedesign.net | |
*/ |
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
<iframe src="http://www.yoursite.com" | |
width="400" height="300" marginwidth="0" marginheight="0" | |
hspace="0" vspace="0" frameborder="0" scrolling=yes> | |
</iframe> |
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
{ | |
"name": "my-project-name", | |
"version": "0.1.0", | |
"devDependencies": { | |
"grunt": "~0.4.1", | |
"grunt-contrib-jshint": "~0.1.1", | |
"grunt-contrib-nodeunit": "~0.1.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
//improve the layout | |
@media all and (max-width: 875px){ | |
body { background: blue; } | |
} |
NewerOlder