If your getting this running a Visual Basic.net application then your missing the Microsoft office Data Connectivity Components;
Download from here;
https://www.microsoft.com/en-us/download/confirmation.aspx?id=13255
If your getting this running a Visual Basic.net application then your missing the Microsoft office Data Connectivity Components;
Download from here;
https://www.microsoft.com/en-us/download/confirmation.aspx?id=13255
Playing Blu-Ray discs in windows 10 is a bit og a pain. In order to get it to work you have to go through a few hoops with VLC.
https://vlc-bluray.whoknowsmy.name/
Part A: Keys database
Create the folder “C:\ProgramData\aacs\”
Download keys.cfg from the link and place in the folder you created “C:\ProgramData\aacs\”
Note:
finding keysdb.cfg file isnt available at that site for some reason anymore.
Part B: AACS dynamic library
Depending on the version of VLC you have you just need to copy this dll file into the same directory.
VLC 32 bit on Windows: put that file in your VLC directory
VLC 64 bit on Windows: put that file in your VLC directory
Flight Sim 2020 is a huge improvement in the Flight Sim series but one of the best things about is that you can create your own content! There are many ways from using the SDK to creating your own liveries. So i thought id post a collection of videos and tutorials ive found usefull
Liveries- Creating Your Own:
Heres are a few videos on how to create your own liveries with full instructions, its requires some photoshop skills.
Photoshop/Gimp Method:
This method is by far the easier in my opinion as the blender painting method can get tricky.
3D Painting with Blender:
Really depends on your skills with Blender in my opinion.
One of the most annoying things about having a website is the fact that you have to pay for an SSL cert and that its an extra it shouldnt be.
I dont need an SSL cert!
100% true this website is only a blog but googles chrome browser no will start warning about sites not having an SSL cert and seriously fuck google for that.
Create and install a Free SSL cert for your website with ZeroSSL in the following video. Its fairly simple and quick to do.
https://www.youtube.com/watch?time_continue=117&v=GPcznB74GPs
For anyone trying this in as of 26/05/2018 Nvidia have moved the privacy setting.
Press Alt-Z scroll down to “Privacy control” and enable “Desktop Capture”.
I had no idea they moved the setting in driver version 397.93
Open up your command prompt in your app/bin folder;
enter the command;
//non vendor specified cake bake plugin ContactManager //vendor specified cake bake plugin Gmcd/ContactManager
Baking the controller for your plugin;
//no vendor cake bake controller --plugin ContactManager Contacts cake bake controller --plugin Gmcd/ContactManager Contacts
Baking the Model View and Controller:
cake bake all --plugin Gerrymcdonnell/jokes jokes
Read more here:
http://book.cakephp.org/3.0/en/plugins.html#creating-your-own-plugins
Sometimes its very handy to pass a variable to an Element in Cakephp3.
This allows you to customize the element if needed;
To do so simply;
in your view file;
echo $this->element('helpbox', [ "helptext" => "Oh, this text is very helpful." ]);
What does it do?
This will load the element called “helpbox” and pass the value “Oh, this text is very helpful.” to the variable called “helptext” in the element.
CakePHP3 Book:
http://book.cakephp.org/3.0/en/views.html#passing-variables-into-an-element
Firstly you need to install the Plugin;
https://github.com/josegonzalez/cakephp-upload
In the Model of the object you want to allow uploads to(eg User,Product) add;
Model
public $actsAs = array( 'Upload.Upload' => array( 'picture' ) );
View:
In the View Form of this action add;
Form->create('User', array('type' => 'file')); ?> Form->end(__('Submit')); ?>
Joining two fields to create one (eg to get somebodys name by combining firstname and surname)
You need to create a “VirtualField” in the model;
public $virtualFields = array('fullname' => 'concat(Patient.firstname, "-", patient.surname)');
Then in your controller, to get a drop downlist;
$patients = $this->Exercise->Patient->find('list',array('fields'=>array('fullname')));
Credit to:
http://stackoverflow.com/questions/11822942/cakephp-display-multiple-fields-in-a-single-drop-down
If you are writing code in Notepad++ and using Cakephp youll notice it doesnt highlight .ctp files (CakePhp View Files).
You can fix this quite easily by;
Opening;
C:\Users\[YOURNAME]\AppData\Roaming\Notepad++\
Open teh file called; langs.xml
Scroll down till you see;
<Language name=”html” ext=”html htm shtml shtm xhtml hta”
Add ctp to the end of it;
<Language name=”html” ext=”html htm shtml shtm xhtml hta ctp”
Save it and reopn Notepad++ your .ctp files should now render correctly.