Skip to content

Instantly share code, notes, and snippets.

Zac Acen

View GitHub Profile
View error.txt
ErrorException {#2054
#message: "Undefined index: fcSttbfFfn"
#code: 0
#file: "./vendor/phpoffice/phpword/src/PhpWord/Reader/MsDoc.php"
#line: 1173
#severity: E_NOTICE
trace: {
./vendor/phpoffice/phpword/src/PhpWord/Reader/MsDoc.php:1173 { …}
./vendor/sentry/sentry/lib/Raven/Breadcrumbs/ErrorHandler.php:34 { …}
./vendor/phpoffice/phpword/src/PhpWord/Reader/MsDoc.php:1173 { …}
@Acen
Acen / Contract Killer 3.md
Created Feb 22, 2019 — forked from tony-caffe/Contract Killer 3.md
The latest version of Bytes Unlimted ‘killer contract’ for web professionals
View Contract Killer 3.md

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Revised by Bytes Unlimited : June 14th 2017

View loopy.py
from os import getcwd
from sys import path
from typing import Union
from threading import Timer
################################
###### CHANGEABLE OPTIONS ######
################################
# None yet fam.
@Acen
Acen / migration1.php
Created Jan 25, 2018
Migration things
View migration1.php
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateTokensTable extends Migration
{
/**
* Run the migrations.
@Acen
Acen / codescheme.xml
Last active Oct 12, 2017
PHP Code Scheme (PHPStorm)
View codescheme.xml
<code_scheme name="Default">
<PHPCodeStyleSettings>
<option name="ALIGN_KEY_VALUE_PAIRS" value="true" />
<option name="ALIGN_ASSIGNMENTS" value="true" />
<option name="PHPDOC_BLANK_LINE_BEFORE_TAGS" value="true" />
<option name="LOWER_CASE_BOOLEAN_CONST" value="true" />
<option name="LOWER_CASE_NULL_CONST" value="true" />
<option name="ELSE_IF_STYLE" value="COMBINE" />
<option name="VARIABLE_NAMING_STYLE" value="CAMEL_CASE" />
<option name="BLANK_LINE_BEFORE_RETURN_STATEMENT" value="true" />
@Acen
Acen / CategoryMatcher.php
Created Jan 16, 2017
Convergence Codi -> BigCommerce with Laravel
View CategoryMatcher.php
<?php
namespace App\Core;
use \Exception;
use Carbon\Carbon;
use League\Csv\Reader;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Storage;
@Acen
Acen / hideFilter.css
Created Sep 20, 2016
Hide filter on screens below 768px in width.
View hideFilter.css
@media only screen and (max-width: 768px){
#product-filter-activate{
display:none!important;
}
}
@Acen
Acen / example_ga.blade.php
Last active Jul 1, 2018
Example Google Analytics Dimensions
View example_ga.blade.php
Sending this data on every page view:
<script type="text/javascript">
ga('set', 'company_id', '{{ $company['company_id'] }}');
ga('set', 'monthly_spend', '{{ $company['monthly_spend'] }}');
ga('set', 'plan_name', '{{ $company['plan_name'] }}');
ga('set', 'renewal_date', '{{ $company['renewal_date'] }}');
ga('send', 'pageview');
</script>
OnRegistration:
View keybase.md

Keybase proof

I hereby claim:

  • I am Acen on github.
  • I am tuft (https://keybase.io/tuft) on keybase.
  • I have a public key whose fingerprint is 311E F764 488F 2CED C1BE 45D4 A054 9BFE CFDC 76A1

To claim this, I am signing this object:

View ryumacro.lua
-- Acen's buff/attack macro.
--[[
Key Selection
VK Key list: https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx
]]--
-- Activation/Deactivation
Key_Activate = 0xC0 -- ` (~)
-- Skills
Key_Skill1 = 0x10 -- SHIFT
You can’t perform that action at this time.