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 | |
| // function for gallery | |
| function ngg_get_galleries() { | |
| global $wpdb; | |
| $galleries = $wpdb->get_results("SELECT * FROM wp_ngg_gallery;"); | |
| return $galleries; | |
| } | |
| /** |
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
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
| # for examples | |
| # If not running interactively, don't do anything | |
| [ -z "$PS1" ] && return | |
| # don't put duplicate lines or lines starting with space in the history. | |
| # See bash(1) for more options | |
| HISTCONTROL=ignoreboth |
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
| (function($) { | |
| $(document).ready(function() { | |
| $('#fp-baloon') | |
| .sprite() | |
| .spRandom({top: 20, bottom: 30, left: 470, right: 730, speed: 10000, pause: 2000 }) | |
| .isDraggable() | |
| .activeOnClick() | |
| .active(); | |
| $('#fp-cloud1').pan({fps: 30, speed: 0.2, dir: 'left', depth: 10}); | |
| $('#fp-cloud2').pan({fps: 30, speed: 0.1, dir: 'left', depth: 11}); |
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
| <snippet> | |
| <content><![CDATA[ | |
| <%= ${1:this} %> | |
| ]]></content> | |
| <tabTrigger>r</tabTrigger> | |
| <!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
| <!-- <tabTrigger>hello</tabTrigger> --> | |
| <!-- Optional: Set a scope to limit where the snippet will trigger --> | |
| <!-- <scope>source.python</scope> --> | |
| </snippet> |
NewerOlder