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 | |
| $databases = array ( | |
| 'default' => | |
| array ( | |
| 'default' => | |
| array ( | |
| 'database' => 'anbient_local', | |
| 'username' => 'root', | |
| 'password' => 'root', | |
| 'host' => 'localhost', |
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 custom_ajaxcallback($type = 'ajax') { | |
| if($type == 'ajax') { | |
| $output = t('Hello World!'); | |
| $command = array(); | |
| $commands[] = ajax_command_append('#sayinghello', $output); | |
| $page = array('#type' => 'ajax', '#commands' => $commands); --> In this line | |
| ajax_deliver($page); | |
| } | |
| else{ | |
| return t("Hello world in new page."); |
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
| elseif (arg(0) == 'node' && arg(1) == 28) { | |
| $node_28_slider_menu_vars = &drupal_static('node_28_slider_menu_vars'); | |
| $variables['content']['node_28_slider_menu_vars'] = $node_28_slider_menu_vars['content']; | |
| $variables['theme_hook_suggestions'][] = 'field_collection_item__field_carousel_slides__tips_and_tools'; | |
| drupal_add_js(drupal_get_path('theme', $GLOBALS['theme']) . '/scripts/he-modules/he-mobile-submenu-module.js'); | |
| } |
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
| "use strict"; | |
| var async = require('async'); | |
| var Data = require('nodebb-plugin-import/server/data.js'); | |
| var Posts = require('./src/posts.js'); | |
| var Users = require('./src/user.js'); | |
| var cheerio = require('cheerio'); | |
| function postProcess(post, next){ | |
| post.modified = false; | |
| var $ = cheerio.load(post._imported_content, {decodeEntities: false}); |
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
| waifus |
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
| if ($row->field_info_adicionais) { | |
| $row->field_info_adicionais = current($row->field_info_adicionais); | |
| $words = array( | |
| 'Blu-ray', | |
| 'Bluray', | |
| 'Blueray', | |
| 'Blue-ray', | |
| 'BD ', | |
| 'BD-', | |
| 'BDdisc', |
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
| Start-Date: 2015-06-15 14:11:32 | |
| Commandline: apt-get -o APT::Status-Fd=4 -o APT::Keep-Fds::=5 -o APT::Keep-Fds::=6 -q -y -o APT::Install-Recommends=true -o APT::Get::AutomaticRemove=true install task-desktop task-english task-gnome-desktop task-print-server whois python2.6-minimal mlocate m4 mime-support file exim4-base w3m libswitch-perl less dnsutils bsd-mailx apt-listchanges dselect rpcbind doc-debian procmail dc perl-modules python-support bind9-host liblockfile-bin db5.1-util mutt patch nfs-common exim4-config reportbug texinfo python2.7 time exim4 python-minimal debian-faq krb5-locales ucf libclass-isa-perl ftp lsof wamerican bash-completion gettext-base at bc python-reportbug python openssh-client perl exim4-daemon-light ncurses-term bzip2 telnet python-apt | |
| Install: x11-apps:amd64 (7.7~2, automatic), libopenal1:amd64 (1.14-4, automatic), gnome-sushi:amd64 (0.4.1-3, automatic), libsmbclient:amd64 (3.6.6-6+deb7u5, automatic), telepathy-rakia:amd64 (0.7.4-1, automatic), sane-utils:amd64 (1.0.22-7.4, auto |
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
| run() { | |
| # Run the compilation process. | |
| cd $PLATFORM_CACHE_DIR || exit 1; | |
| if [ ! -d "${PLATFORM_CACHE_DIR}/.linuxbrew/opt/ruby@$1" ]; then | |
| echo "Ruby not found in cache, installing" | |
| install_brew | |
| install_ruby $1 | |
| copy_lib_to_cache | |
| else |
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
| # Enables the minimum remote-management baseline needed for Ansible to manage | |
| # a standalone Windows IoT Enterprise LTSC workstation on a trusted LAN. | |
| # | |
| # Authentication: local Windows administrator + NTLM. | |
| # Transport: WinRM HTTP (TCP 5985), with WinRM message encryption enabled by | |
| # Ansible. Firewall allows TCP 5985 from any remote address on every profile. | |
| # | |
| # Ethernet must be Private: stock WinRM and RDP firewall rules exclude Public. | |
| # With Public, RDP looks like "wrong password" / refused even with good creds. | |
| # This script pins Unidentified Networks policy to Private, rewrites |
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
| # Enables the remote-management baseline for Ansible on Windows IoT Enterprise LTSC. | |
| # | |
| # Auth (WinRM certificate — not SSH keys): | |
| # - HTTPS :5986 + client cert mapped to local user "solidseg" | |
| # - Ansible uses keys/winrm/solidseg.{pem,key}; no password per run | |
| # - USB ships solidseg.pem (public) + solidseg.pass (local password only for | |
| # CertMapping; password change requires re-map) | |
| # - HTTP :5985 NTLM kept as break-glass (network must be Private) | |
| # | |
| # Also forces Ethernet Private and enables RDP :3389. |
OlderNewer