Skip to content

Instantly share code, notes, and snippets.

View chadsten's full-sized avatar

Chadsten chadsten

  • Colorado
View GitHub Profile
function myFunction() {
// no arguments present
console.log('Hellow World');
}
myfunction(); // shows Hello World in the console
function myFunction(message) {
// one arguments present
console.log(message);
#SingleInstance force
Process, Close, Epicor.exe
sleep 200
FileRemoveDir, C:\ProgramData\Epicor\erpapp-808, 1
sleep 200
&:after {
content: "+";
display: inline-block;
float: right;
font-size: 28/16*1em;
font-weight: bold;
padding-right: 4/16*1rem;
position: absolute;
right: 0;
top: 0;
Percentage BasedCalculation BasedReport Bug
Powered By:
Encore Multimedia
BreakpointsImage SizesMultipliers
Export
Drupal CSVImage ExportMarkup
Breakpoint Output
Breakpoint Name Image Width Image Height Aspect Ratio
Additional uncaught exception thrown while handling exception.
Original
PDOException: SQLSTATE[42000]: Syntax error or access violation: 1142 INSERT command denied to user 'collins'@'10.30.72.4' for table 'watchdog': INSERT INTO {watchdog} (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9); Array ( [:db_insert_placeholder_0] => 0 [:db_insert_placeholder_1] => elfinder [:db_insert_placeholder_2] => elFinder library directory containing features test files :files. Please remove these files to avoid security hole. [:db_insert_placeholder_3] => a:1:{s:6:":files";s:105:"sites/all/libraries/elfinder/elfinder.php.html, sites/all/libraries/elfinder/connectors/
<?php
/*
* Gets logged in user's Organic Group ID
*/
function og_taxonomy_menu_get_user_group() {
$groups = og_get_groups_by_user();
if (is_array($groups)) {
$group = array_values($groups['node']);
<?php
$results = db_query('SELECT tid FROM {taxonomy_index} WHERE nid = :nid', array(':nid' => $nid));
$children[]['tid']
$children[]['ptid']
foreach ($parents as $parent) {
echo $parent;
foreach ($children as $child) {
if ($child['ptid'] == $parent['tid']) {
echo $child;
}
}
Erp.Tables.Vendor Vendor;foreach (var ttPO_Row in (from ttPO_Iter in ttPOHeader select ttPO_Iter)){ if (ttPO_Row != null) {this.PublishInfoMessage("PO ROW", Ice.Common.BusinessObjectMessageType.Information, Ice.Bpm.InfoMessageDisplayMode.Individual, "PO", "Trans");  // load Vendor record, if it exists  var Vendor_Row = (from Vendor_Iter in Db.Vendor where ttPO_Row.Company == Vendor_Iter.Company && ttPO_Row.VendorNum == Vendor_Iter.VendorNum select Vendor_Iter).FirstOrDefault();  if (Vendor_Row == null)  {this.PublishInfoMessage("VENDOR ROW", Ice.Common.BusinessObjectMessageType.Information, Ice.Bpm.InfoMessageDisplayMode.Individual, "PO", "Trans");   // set the PO freight target equal to the current vendor freight target   ttPO_Row.SetUDField<System.Decimal>("FreightTarget_c", Vendor_Row.UDField<System.Decimal>("FreightTarget_c"));  } }}
Erp.Tables.OrderDtl OrderDtl;
Erp.Tables.OrderHed OrderHed;
Erp.Tables.Customer Customer;
Erp.Tables.OrderRel OrderRel;
Erp.Tables.PartPlant PartPlant;
Erp.Tables.Vendor Vendor;
Erp.Tables.JobMtl JobMtl;
Erp.Tables.JobOper JobOper;
foreach (var ttSug_Iter in (from ttSug_Row in ttSugPoDtl select ttSug_Row)) {