In this document I will be making a copy of the latest MyITCRM from github, then make my own project in redmine which will be linked to a Subversion repository and controlled via a NetBeans project which is my prefered IDE.
It is worth reading this article - http://php.dzone.com/articles/creating-a-netbeans-php-projec
This is only required if you are creating your own repository or one has not already been setup.
These access rules are not really GUI Driven but can be accessed through the console.
https://svn.help.collab.net/entries/24785311-Define-repository-access-rules
[/] * = rw
[/] shoulders = rw
Once you have created your repository it is important to create a hook that tells the redmine project tracker that changes have been mnade to this repository (you can set a global lookup command that does all repositories instead)
See my other notes
Accessing the repository
From the command line
svn checkout https://svn.quantumwarp.com:18080/svn/MyITCRM/trunk MyITCRM --username shoulders
This is the hook file
@ECHO OFF #curl http://<redmine url>/sys/fetch_changesets?id=<project identifier>&key=<your service key> #curl "http://<redmine url>/sys/fetch_changesets?key=<your service key>" curl "http://svn.quantumwarp.com:81/redmine/sys/fetch_changesets?id=myitcrm&key=xxxxxxxxxxxxxxxxxxxx" #curl "http://svn.quantumwarp.com:81/redmine/sys/fetch_changesets?key=xxxxxxxxxxxxxxxxxxxx"
Notice the project identifier is all lower case, this is the identifier is the redmine one.
The access key is taken from redmine (administration/settings/repositories/’API Key’), generate a key if none is present and then populate the selected line above with the repository id (if required) and the API key.
The above code should be added to a file called post-commit.bat and placed in:
D:\Documents\Developer\SubversionEdge\data\repositories\MyITCRM\hooks
Create a new project by going in to redmine and use the following settings
Check the repository is working
Now that the blank repository has been setup you need to load the files into it. This has to be done by a SVN client and in respect of this tutorial can be done in 1 of 2 ways:
Again this assumes that you are creating your own repository and not just connecting to one that is already live
These instructions do not involve a subversion server yet
If you have already loaded you SVN project up via tortoiseSVN or you are using a Subversion server then you should use ‘PHP Application with Existing Sources’ but select a Subversion Server as the source
---------EOF-----------
https://netbeans.org/kb/docs/php/project-setup.html - setting up a php project
https://netbeans.org/kb/docs/php/quickstart.html - php quick start
https://netbeans.org/kb/trails/php.html - PHP and HTML5 learning Trail
http://wiki.netbeans.org/ConfiguringNetBeansProjectForWordPress - similiar setup to this one
In NetBeans pressing F1 will bring up the context sensitive help page.
Notes
The subversion information is saved in the files, so while testing these will need deleting
Ie svn when should I use trunk/branches etc… what is the difference. Should I just use the trunk if it is me or should I create my own branch.
This article is 2 fold. It firstly tells you how to export your bookmarks from the AOSP browser in Android and then how to import them into Firefox. The other browsers such as Google Chome or Mozilla Firefox have a sync feature built into them and there are also apps to extract the links from these. But this article is for extracting the Bookmarks from the AOSP browser only. Once you have done this you should consider using the inbuilt sync features of the Chrome or Firefox browser.
Below are different methods based on the 2 Apps that I have used on how to export from android AOSP browser to importing them into firefox.
This is my prefered option because of the nicely formed html file that can be imported straight into FireFox.
Download here
now on its description it says
From reading this means it willl not work on later version of android where the browser is chrome, not AOSP. it's second waring is about not using it if the syncronization was activated. well i had just installed the chrome browser and activated the sync, but i had no links in it and the backup happened fine. i would recommend uninstalling this after runnig the backup. It probably messes with the sync if you try and add things or alter them possibly.
Instructions
Now you have the file on your PC you have 2 options to import the links to Firefox because of the useful format it has been exported in.
Option 1
This is my prefered option because of the nicely formed html file that can be imported straight into FireFox.
Option 2
Option 3
Optional
To keep things clean you can delete the Bookmarks on your phone using Super Backup and use 'Remove Bookmarks' option
Download here
This has an excellent feature to delete all bookmarks on the phone. This appears to only wipe the AOSP bookmarks, but possibly wipes Chrome, Firefox etc... but this needs checking.
Instructions
Optional
To keep things clean you can delete the Bookmarks on your phone using Super Backup and use 'Remove Bookmarks' option
These might get moved to their own article
There might be occasions where need to know the colour of a text used in a libre office document. I will show you here the different methods that i know of.
These will probably work on open office documents aswell.
The text is now pasted in to the wysiwyg and the hex code is contain in a <span> tag around the text for you to use.
Most people dont know that libre office files are zip compressed and that the actual language is an xml style similiar to html if not a derivative.
For example, from a little test file that I made:
<style:style style:name="T4" style:family="text"><style:text-properties fo:color="#008000"/></style:style> <text:span text:style-name="T4">green</text:span>
You can then use Tools > Options > LibreOffice > Colours to add any desired colour to your GUI.
I am running Cyanogenmod 10.1.3 on my Samsung Galaxy SII (GT-I9100), and starting yesterday my keyboard continuously crashes with the following message:
Unfortunately, Android keyboard (AOSP) has stopped.
This message pops up very 10 seconds or so even when I am not trying to type. I thought it might have something to do with my recent install of the DU Speed Booster app. But after uninstalling it I still get the same problem.
This is very serious, as my phone is rendered almost completely unusable since I can't enter any text, and message keeps popping up preventing me from even doing things that only require touch.
Solution
Go to System Settings > Apps > click Android keyboard (AOSP). Clear Data. Clear Cache.
Links
These are my notes on those plastic opening tools for those fiddly phones and electronic devices that dont want to be opened.
A Spudger is also known as:
All terms can prefixed with either: Metal / Plastic / Nylon
There are loads of different types of spudger, both plastic and metal. The most famous is the DottorPod iSesamo which is a metal blade with a plastic handle specifically designed for opening iPhones. The iSesamo requires care when being used because it is sharp metal
I have discovered that the plectrums are sold as Spludgers or pry tools as they are ideal for the job and because they are plastic they are not likely to damage your electronic goods.
Spudger - Wikipedia, the free encyclopedia
My advice, now that you know the different names of a Spludger, search on eBay and find the ones that suit your need. I found the following a good list:
These are my notes i made while looking for decent Desoldering Gun
This is my research in to multimeters
This is collection of my researh on which capacitor meter i should buy.
These following will help you diagnose cURL connections, if cURL is connects to the other end, SSL and how to enable cURL.
What is my cURL IP address?
This is not always as obvious as you think. If you are on a shared server and even if you have a dedicated IP address you are most likely still using the server's shared IP address. This can lead to a lot of confusion when diagnosing cURL connections issues and can still be preent on other variations of server i.e. VPS or dedicated but is more unlikely.
My script will allow you to find out what IP address your cURL service is using
Put this on your website that is having the paypal trouble. Put it in a file called curl-ip-test.php
<?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,'http://www.myremotedomain.com/remote-ip-check.php'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $contents = curl_exec ($ch); curl_close ($ch); echo "Your Server's IP : ".$contents; ?>
Add this code to the remote website as a php file at www.myremotedomain.com/remote-ip-check.php
<?php echo $_SERVER["REMOTE_ADDR"]; ?>
Basically what these bits of code do, is that the remote script is accessed via the cURL service (from the server you are trying to work out the cURL IP address) and the remote script sees the IP that is being used and gives the cURL request that IP which is then displayed in your browser.
To get the IP just run the file via your web-browser ie www.mydomain.com/called curl-ip-test.php
How do i check if php server allows external curl connections
Create a file like this:
<?php phpinfo(); ?>
or
<?php echo "<pre>"; var_dump(curl_version()); ?>
or
<?php $var = echo shell_exec("/usr/bin/curl -L http://www.google.com"); ?>
The following script is used to check to see if your WHMCS install can see the WHMCS.com licensing server. It also can be adapted to further test aspects of a cURL connection and is why I have added it here as a reference.
<?php $whmcsurl = "https://www.whmcs.com/index.php"; $postfields = array("curltest"=>"1"); $ip = gethostbyname('licensing28.whmcs.com'); echo "<font style=\"font-size:18px;\">Testing Connection to '$whmcsurl'...<br />URL resolves to $ip<br /><br />"; if ($ip!="184.94.192.3" && $ip!="208.74.120.227") echo "<font style=\"color:#cc0000;\">Error: The IP whmcs.com is resolving to the wrong IP. Someone on your server is trying to bypass licensing. You'll need your host to investigate and fix.</font><br /><br />"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $whmcsurl); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $postfields); curl_setopt($ch, CURLOPT_TIMEOUT, 30); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $data = curl_exec($ch); if (curl_error($ch)) { echo "Curl Error: ".curl_error($ch)."<br /><br />"; } elseif (!$data) { echo "Empty Data Response - Please check CURL Installation<br /><br />"; } curl_close($ch); echo "Connection Response (this should be the HTML from $whmcsurl when working correctly):<br /><br /><textarea rows=\"20\" cols=\"120\">$data</textarea>"; ?>
These instructions although geared towards fixing PayPal issues in Prestashop they can be applied to other situations and software platforms where PayPal is used as a payment gateway.
Your default currency in Prestashop doesn't match your paypal currency. (Presta-Changeo Article)
Payment is made using Echeck or other methods that require a longer time to clear. (Presta-Changeo Article)
Paypal decides they need to investigate the transaction. (Presta-Changeo Article)
The following are all links i have used to put this article together.