This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using System.IO; | |
using UnityEngine; | |
public class ReadMyAbstractPathFileMon : MonoBehaviour | |
{ | |
public string m_myText; | |
public string m_filePath; | |
public AbsoluteDirectPathFileMono m_fetchPath; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using System.IO; | |
using UnityEditor; | |
using UnityEngine; | |
public class SaveMyGenericClassMono<T> : MonoBehaviour | |
{ | |
public T m_valueToSave; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* This script should be used as the pre-request script for any requests made to Emarsys. In theory, it should work for any API that implements WSSE authentication as well. | |
* To Use: | |
* 1: Set an environment variable for wsse-user and wsse-secret containing your WSSE user and secret respectively | |
* 2: On your Headers tab, add an X-WSSE header with a value of {{wsse-header}} | |
* | |
* That's it! When you make a request, the pre-request script will generate your Nonce, Timestamp, and Digest using your secret. The 1-time-use header will be stored in the environment as wsse-header and used for your request. | |
*/ | |
// | |
// wsse.js - Generate WSSE authentication header in JavaScript |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# the following two lines give a two-line status, with the current window highlighted | |
hardstatus alwayslastline | |
hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%C%A%{g}]' | |
# huge scrollback buffer | |
defscrollback 5000 | |
# no welcome message | |
startup_message off |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$time_start = microtime(true); | |
include_once('config/config.inc.php'); | |
// FORMAT FIchier : id_template_odoo;MainEAN13;PxAchat | |
$file = "2019_10_20_PA_EAN_Full.csv"; | |
try{ | |
$dbh = new PDO('mysql:host=127.0.0.1;dbname='._DB_NAME_, _DB_USER_, _DB_PASSWD_); | |
} catch (PDOException $e) { | |
print "Erreur !: " . $e->getMessage() . "<br/>"; | |
die(); |