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 | |
/** | |
* No Search Results Feedback Part | |
* | |
* @package bbPress | |
* @subpackage Theme | |
*/ | |
?> |
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
-- delete any usermeta specific to the other subsites | |
delete from wp_usermeta where meta_key regexp '^wp_([0-9]+)_'; | |
-- duplicate the wp_usermeta structure in a working data table, | |
-- but add a unique index for filtering out duplicates | |
create table _fix_usermeta like wp_usermeta; | |
alter table _fix_usermeta add unique(user_id, meta_key); | |
-- copy the site-specific usermeta, keeping only the last of each duplicate | |
insert into _fix_usermeta |
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
li.filterall.filter-blog.eg-mve-custom-wrapper.eg-post-id-491.tp-esg-item.itemtoshow.isvisiblenow |
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
tell application "Safari" | |
activate | |
end tell | |
tell application "Safari" | |
activate | |
end tell | |
tell application "System Events" | |
tell process "Safari" |
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
options = | |
city : "Haarlem" # default city in case location detection fails | |
region : "NH" # default region in case location detection fails | |
units : 'c' # c for celcius. f for Fahrenheit | |
staticLocation: false # set to true to disable autmatic location lookup | |
appearance = | |
iconSet : 'original' # "original" for the original icons, or "yahoo" for yahoo icons | |
color : '#fff' # configure your colors here | |
darkerColor : 'rgba(#fff, 0.8)' |
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
command: "ps axro \"pid, %cpu, ucomm\" | awk 'FNR>1' | head -n 3 | awk '{ printf \"%5.1f%%,%s,%s\\n\", $2, $3, $1}'" | |
refreshFrequency: 20000 | |
style: """ | |
bottom: 30px | |
left: 30px | |
color: #fff | |
font-family: Helvetica Neue |
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
.GGAE30MDLFC, .GGAE30MDCCB, div#gwt-debug-NotesView-root, .GGAE30MDBTB, div#gwt-debug-MetaBarView-root, .GGAE30MDHIB { | |
background-color: #444; | |
} | |
.GGAE30MDC3B, .GGAE30MDO1, div#gwt-debug-NoteView-root, .GGAE30MDDGB, div#gwt-debug-MetaBarView-root, .GGAE30MDHIB { | |
background-color: #888; | |
} | |
.GGAE30MDERB, .GGAE30MDIQB, input#gwt-debug-NotebooksDrawer-drawerFilter-textBox, .GGAE30MDCCB, .GGAE30MDF1, .GGAE30MDFJB, .GGAE30MDHJB, .GGAE30MDJKB, .GGAE30MDHFB, .GGAE30MDF1B, .GGAE30MDAUB, .GGAE30MDAQ.GGAE30MDGQ .GGAE30MDFQ, .GGAE30MDLQ { | |
border-color: #333 ; |
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 | |
add_filter( 'tribe-events-bar-views', 'my_setup_view_for_bar', 10); | |
function my_setup_view_for_bar( $views ) { | |
$tec = Tribe__Events__Main::instance(); | |
$views[] = array('displaying' => 'grid', 'anchor' => 'Grid', 'url' => $tec->getOption( 'eventsSlug', 'events' ) . '/grid' ); | |
return $views; | |
} |