Skip to content

Instantly share code, notes, and snippets.

View cameri's full-sized avatar
∞/21M

Ricardo Arturo Cabral Mejía cameri

∞/21M
View GitHub Profile
prefix: '&7[&3SG&7] &6'
no-permission: '&cYou don''t have permission to do this!'
cmd-error: '&cError: %0%'
join-unknown-game: '&cThe lobby %0% does not exist!'
join-game-running: '&cThis game is already running!'
join-vehicle: '&cYou can''t join SurvivalGames in a vehicle!'
join-game-full: '&cSorry, this lobby is full!'
join-success: '%0% joined the lobby! &7(&e%1%&7/&e%2%&7)'
fulljoin-kick: '&cI''m sorry, you''ve been kicked to make a free slot for a donator
or a team member!'
SELECT `business_id`,`venue_id`, `VenueHour`.`days`,
GROUP_CONCAT(
CONCAT(
(`VenueHour`.`begin_hour` >> 4)%12,
':',
LPAD((`VenueHour`.`begin_hour` & 15)*5,2,'0'),
IF(`VenueHour`.`begin_hour` < 192, ' a.m.', ' p.m.'),
' - ',
(`VenueHour`.`end_hour` >> 4)%12,
':',
<form method="post" action="<?php echo $variables['endpoint'] ?>">
<input type="hidden" name="TransactionType" value="<?php echo $variables['transaction_type'] ?>">
<input type="hidden" name="CurrencyCode" value="<?php echo $variables['currency_code'] ?>">
<input type="hidden" name="AcquiringInstitutionCode" value="<?php echo $variables['acquiring_institution_code'] ?>">
<input type="hidden" name="MerchantType" value="<?php echo $variables['merchant_type'] ?>">
<input type="hidden" name="MerchantNumber" value="<?php echo $variables['merchant_number'] ?>">
<input type="hidden" name="MerchantTerminal" value="<?php echo $variables['merchant_terminal'] ?>">
<input type="hidden" name="ReturnUrl" value="<?php echo $variables['return_url'] ?>">
<input type="hidden" name="CancelUrl" value="<?php echo $variables['cancel_url'] ?>">
<input type="hidden" name="PageLanguaje"
<?php
$config = array(
'endpoint' => 'https://btrans.evertecinc.com/postwebbtrans/post.php',
'currency_code' => '214', // DOP
'acquiring_institution_code' => '349',
'merchant_type' => '5311',
'merchant_number' => '349061069 ',
'merchant_terminal' => '300118456938 ',
'return_url' => 'https://www.maspormenos.do/orders/payment',
'cancel_url' => 'https://www.maspormenos.do/orders/cancel',
<?php
App::uses('AppModel', 'Model');
/**
* CardnetTransaction Model
*
*/
class CardnetTransaction extends AppModel {
/**
* Use table
<configuration>
<system.webServer>
<security>
<requestFiltering>
<fileExtensions>
<add fileExtension=".exe" allowed="true" />
</fileExtensions>
</requestFiltering>
</security>
</system.webServer>
#!/bin/bash
/usr/bin/scp $1 gigglesbw4@yakko.cs.wmich.edu:/home/shared/www/
server {
server_name test.example.com;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log debug;
root /srv/test.example.com;
auth_ldap_url "ldap://10.8.0.238/dc=example,dc=com?samaccountname?sub?(objectClass=user)";
auth_ldap_binddn "ldap@example.com";
auth_ldap_binddn_passwd "mySpecialPassword";
# Settings for user home directories
#
# Required module: mod_authz_core, mod_authz_host, mod_userdir
#
# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received. Note that you must also set
# the default access control for these directories, as in the example below.
#
UserDir www
Alias /wiki "/var/wiki"
<Directory "/var/wiki">
DirectoryIndex index.html index.php
AllowOverride All
Options FollowSymlinks
Require all granted
</Directory>