• Home
  • Programming
    • API
      • Google
    • Javascript
    • Php
    • Server
  • CMS
    • Magento
    • Yahoo! Store

Dell Laptop wifi connection slow?

Thursday, 20 February 2020 21:11
Tim Ramsey
0 Comments

After hours of debugging, I finally found the issue with wireless speeds, and it happened to be a piece of software. Go to your add/remove programs and look for ‘smartbyte drivers and services’. It happened to be limiting a laptop I was working on to 12MBPS. I removed it jumped to 200MBPS.

Yahoo! Store Themes Demos

Wednesday, 13 November 2019 16:28
Tim Ramsey
0 Comments

https://fanal-demo.stores.yahoo.net/
https://divitto-demo.stores.yahoo.net/
https://sambee-demo.stores.yahoo.net/

Running the theme manager and the variable guides to the themes can be found here

Commision Junction and Shopify with CJEVENT

Friday, 01 November 2019 21:03
Tim Ramsey
0 Comments

Add this code to within your theme code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<script>
function getUrlVars() {
    var vars = {};
    var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(m,key,value) {
        vars[key] = value;
    });
    return vars;
}
function getUrlParam(parameter, defaultvalue){
    var urlparameter = defaultvalue;
    if(window.location.href.indexOf(parameter) > -1){
        urlparameter = getUrlVars()[parameter];
    }
    return urlparameter;
}
var cjevent = getUrlParam('cjevent','');
if(cjevent != ''){
    sessionStorage.setItem('cjevent',cjevent)
}
</script>

Add this code to your additional scripts area

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<script>
document.addEventListener('DOMContentLoaded', function(){
    var cjparam = sessionStorage.getItem('cjevent');
    var cjurl = 'https://www.emjcd.com/u?CID=YOURCID&TYPE=YOURTYPE&METHOD=IMG&CURRENCY=USD&AMOUNT={{ subtotal_price | money_without_currency }}&OID=PREPENDYOURORDERNUMBERSTARTHERE{{ order_number }}';
    if(cjparam !== null){
        cjurl += '&CJEVENT='+cjparam;
    }
    var cadd_img = document.createElement('img');
    cadd_img.src = cjurl;
    cadd_img.style.width = '20px';
    cadd_img.style.height = '1px';
    document.getElementsByTagName("BODY")[0].appendChild(cadd_img);
    sessionStorage.removeItem('cjevent');
}, false);
</script>

FYI – Apparently since responsive checkout the liquid {{order_number}} is different from the order number in your admin panel. So, if your order number in your admin panel is 98777141384, the order number sent to commission junction might be 1384 (last 4 digits of full order number), so you will need to prepend 9877714 to the OID

Use Rysnc to sync remote directory to local directory

Saturday, 31 August 2019 20:40
Tim Ramsey
0 Comments
1
rsync -chavzP -e "ssh -p customPort" user@ip.addresses:/home/user/remotedirectory /home/user/localdirectory

Page 5 of 15

  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • …
  • 15
  • Next

Categories

  • CMS
    • Magento
    • Shopify
    • Yahoo! Store
  • Programming
    • API
      • Google
    • Javascript
    • Php
    • Server
    • SVN
  • VOIP

Recent Posts

  • How to write to Google Sheet with API in PHP
  • How to Migrate FreePBX server to a new server
  • Unifi Controller Java CPU 100%
  • Update Unifi Controller on Linux
  • Code Signing Desktop App