Étiquette : Astuce

Disable X-Frame-Options on Sharepoint

I needed to communicate with an iframe on Sharepoint, however Sharepoint returned Load denied by X-Frame-Options … To override this limitation you have to create a Webpart page where you’ll add the code <WebPartPages:AllowFraming runat= »server » /> into the <asp:Content> section (that might work somewhere else, but I did this way). You can also add it […]

Incruster des sous-titres dans une vidéo

Voilà une opération qui pourrait paraitre simple et qui pourtant est difficile à trouver sur le Net… Pour cela on va utiliser le logiciel HandBrake. Commencer par le télécharger puis l’installer. On choisit notre fichier vidéo d’origine (ici un .mp4) en cliquant sur « Source » : On choisit la destination, c’est-à-dire là où notre nouveau fichier […]

Send an email to several recipients from a String in a workflow [Sharepoint 2013]

I found the case in which I have to send 1 email to several recipients. I have the names stored into a Sharepoint list. Using REST API and a call into my Workflow I’ve been able to get a list of login names (using $expand=MyUserField and $select=MyUserField/Name), then you just need to concatenate them separate […]

Illegal use of $_SERVER. You must use the request class or request_var() to access input data. [phpBB]

When I want to update my phpBB forum I get this annoying message because I’m using a homemade auth file where $_SERVER is used. I found the solution on the phpBB forum: Modified /forums/config/parameters.yml. Set core.disable_super_globals to false and delete the cache

Get color_id from a Google Calendar using API [PHP]

For a project I needed to get the events from a Google Calendar, as well as the colors from it. It’s been a pain, but after a couple of days I’ve been able to create a PHP page to do so. It will use the server-to-server auth mechanism. I’ll try to provide the different steps […]

How to change the default logon name on Windows 7

On a remote PC it was another logon name that appeared by default… In that case I had to click on « Switch User », then « Other User », and finally enter my username and password. Very frustrating. After a few searches I found we can change the default name using the registry and with the below commands […]

VirtualBox qui utilise le VPN de la machine hôte

Dans le cadre de mon travail j’ai dû utiliser VirtualBox afin de pouvoir tester différentes versions d’IE. Mon problème est que mon PC utilise normalement un VPN pour accéder au réseau de l’entreprise et que ma VM n’arrive pas à y accéder de base…. Pour y remédier il faut d’abord définir deux adaptateurs dans l’onglet […]

Change screen saver timeout [Windows]

Let’s say your network admin blocked the default screensaver timeout to 15 minutes, but you want more…. You can change this timeout by running as an administrator the regedit then use the « Find… » command to look for « ScreenSaveTimeOut ». It should be under Computer\HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Control Panel\Desktop The timeout is defined in seconds. Just change the value and […]

http://www.iegallery.com/addonsie7/ is returned when trying to change the default search engine for Internet Explorer

I have IE11 on my pro laptop, with Bing, while I want to use Google as my default search engine. However it keeps returning me the page http://www.iegallery.com/addonsie7/ with no way to install another search provider… After looking for a solution, I found you can use the direct link http://www.iegallery.com/addonsie7/Detail?resourceId=13555 to be able to install […]

Force CORS headers in Firefox to allow cross domain calls

This guy created a Firefox extension to force the CORS (access-control) headers from a call. This is very useful when you want to do a JavaScript/AJAX query over another website that doesn’t allow the cross domain calls. His code is on github. I’ve the XPI compiled version on my blog (into a ZIP file) found […]