Skip to content

Instantly share code, notes, and snippets.

View krisives's full-sized avatar
🤣

Kristopher Ives krisives

🤣
  • United States
View GitHub Profile
BNAaee2osD78/K9jkE8oNEPNBTkGlBRLiOSOBH3PxCi+Bl4lUdxnfUOQ+aGab36ZS3lkpsWBVqiw0DzIcXTt8teWKF8JAETPdyXw9IXrLO0wBDDYBLEUzwUQFNc5/JQtPiUqox4xgKwsvu7ikHeuhznoPDz60Mh/YakFWuTi/wlODvz9BgpRvl6IweQK5P0exXEz3b5pJQTRr0g5ZWvDnLglJUywLHxsdqn81PzN5DQlLVr86B0BFprYMf6K+ck8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- WARNING: Eclipse auto-generated file.
Any modifications will be overwritten.
To include a user specific buildfile here, simply create one in the same
directory with the processing instruction <?eclipse.ant.import?>
as the first entry and export the buildfile again. --><project basedir="." default="build" name="asmcup">
<property environment="env"/>
<property name="debuglevel" value="source,lines,vars"/>
<property name="target" value="1.8"/>
<property name="source" value="1.8"/>
push8 #20
push8 #IO_OVERCLOCK
io
start:
; Read beam sensor
push8 #IO_SENSOR
@krisives
krisives / PrestaShopHaterList.md
Last active January 4, 2016 10:19
Things I don't like about PrestaShop

A list of things I don't like about PrestaShop

This is a list of things I don't like about PrestaShop while working with it. I keep it around with the hopes it will over time help me improve the software or other software projects. It's not meant to be "mean" or a dig at any developers, because no project is perfect.

Maybe I know something in PrestaShop incorrectly? Most of everything I know comes from the official documentation:

@krisives
krisives / gist:8442902
Created January 15, 2014 19:36
Nasty PHP
<?php
// While testing error handlers I noticed the "context", which lets
// you make basically a PHP virus
// Unless you're calling get_defined_vars() everywhere you'll never
// see this variable
${''} = array(
'prev' => null
);
;Starfield demo
;Copyright ©2000 EdzUp
;written by Ed Upton
; verified 1.48 4/18/2001
;adjust for more or less stars (500 looks nice)
;I can get 2500 stars without losing a single frame
Global staramount=1000
Graphics 640,480
<?php if ( $my->id ) { initEditor(); } ?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php echo "<link rel='stylesheet' href='{$mosConfig_live_site}/templates/css/reset-fonts-grids.css' type='text/css'/>" ; ?>
<?php mosShowHead(); ?>
<?php echo "<link rel='stylesheet' href='{$mosConfig_live_site}/templates/css/default.css?v=2' type='text/css'/>" ; ?>
<?php if(false) { /*This is for Dreamweaver, do not delete */?>
<link href="css/reset-fonts-grids.css" rel="stylesheet" type="text/css" />
<link href="css/default.css" rel="stylesheet" type="text/css" />
<?php } ?>
<?php echo "<link rel='shortcut icon' href='{$mosConfig_live_site}/images/favicon.ico' />" ; ?>
cl_crosshairalpha "229";cl_crosshaircolor "5";cl_crosshaircolor_b "0";cl_crosshaircolor_r "255";cl_crosshaircolor_g "0";cl_crosshairdot "1";cl_crosshairgap "0";cl_crosshairsize "0";cl_crosshairstyle "2";cl_crosshairusealpha "1";cl_crosshairthickness "2";cl_fixedcrosshairgap "0";cl_crosshair_outline "0";cl_crosshair_outline_draw "0"; cl_crosshair_drawoutline 0;
[root@rack logs]$ grep "pageinfo.php" access_*
access_log:165.249.0.203 - - [25/Sep/2013:08:30:03 -0500] "GET /images/stories/pageinfo.php HTTP/1.1" 200 25595 "-" "Wget/1.13.4 (linux-gnu)"
access_log:50.97.98.134 - - [25/Sep/2013:13:48:33 -0500] "POST /images/stories/pageinfo.php?action=status HTTP/1.1" 200 25557 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows XP)"
access_log:75.145.73.214 - - [25/Sep/2013:15:41:30 -0500] "GET /images/stories/pageinfo.php HTTP/1.1" 200 5339 "-" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76 Safari/537.36"
access_log:75.145.73.214 - - [25/Sep/2013:15:41:31 -0500] "GET /modules/mod_fpslideshow/engines/jquery-fpss-comp.js HTTP/1.1" 200 1872 "http://www.gymnicballs.com/images/stories/pageinfo.php" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76 Safari/537.36"
access_log:75.145.73.214 - - [25/Sep/2013:15:41:31 -0500] "GET /templates/css/fonts/stylesheet.css HTTP/1.1" 200 5393 "http://www.gymnicballs