# This example does an AJAX lookup and is in CoffeeScript
$('.typeahead').typeahead(
# source can be a function
source: (typeahead, query) ->
# this function receives the typeahead object and the query string
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 | |
namespace Xanido\Console\Helper; | |
use Symfony\Component\Console\Helper\Helper as AbstractHelper; | |
use Symfony\Component\Console\Output\OutputInterface; | |
/** | |
* Text Table Helper | |
* @author Timothy Anido <[email protected]> |
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
diff --git node_export.module node_export.module | |
index 8fc4321..8a10baa 100755 | |
--- node_export.module | |
+++ node_export.module | |
@@ -375,13 +375,13 @@ function node_export_prepare_node(&$original_node) { | |
$node->taxonomy = $new_taxonomy; | |
} | |
+ // Fix menu array | |
+ $node->menu = node_export_get_menu($original_node); |
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
/** | |
* Menulog buttons | |
*/ | |
body { | |
padding: 20px; | |
background: #ffffff; | |
min-height: 100%; | |
-webkit-font-smoothing: antialiased; | |
} |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
body { | |
background: #eaeaea; | |
-webkit-font-smoothing: antialiased; | |
} | |
* { | |
box-sizing: border-box; |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
body { | |
background: #eaeaea; | |
-webkit-font-smoothing: antialiased; | |
} | |
* { | |
box-sizing: border-box; |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
body { | |
background: #eaeaea; | |
-webkit-font-smoothing: antialiased; | |
} | |
* { | |
box-sizing: border-box; |
I hereby claim:
- I am xanido on github.
- I am xanido (https://keybase.io/xanido) on keybase.
- I have a public key ASBnhbBPa_RhlMi8mer1sl_fTxJwtXdOEQSYrx64ynyVdwo
To claim this, I am signing this object:
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
#!/usr/bin/env bash | |
# https://gist.github.com/xanido/2a160880bf66fcd257a385f9cb118d12 | |
# what's happening? | |
# 1) first, curl the hover api searching for the first arg ($1) | |
# 2) pipe to `jq`, extract the results, discarding anything that isn't an exact keyword match and format as TSV | |
# 3) pipe TSV output of jq into a pretty table using `columns`. Use tab as the input delimiter | |
# 4) pipe the nice table to `sort` an sort by price, which when split by the separator ($) is the second key (2), (n)numeric sort, in (r)everse | |
curl \ |