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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title><?= $titre ?></title> | |
<meta charset="UTF-8"> | |
</head> | |
<body> | |
<?php | |
define("SMFCookie89", ""); |
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
AsyncHttpClient client = new AsyncHttpClient(); // import com.loopj.android.http.AsyncHttpClient; | |
String stringCookies = CookieManager.getInstance().getCookie(url); | |
Log.e(TAG, stringCookies); | |
client.addHeader(SM.COOKIE, stringCookies); // import cz.msebera.android.httpclient.cookie.SM; | |
// décommenter la section suivante quand web debuging avec Fiddler | |
// on oublie pas l'import com.loopj.android.http.MySSLSocketFactory | |
/* | |
try { | |
KeyStore trustStore = KeyStore.getInstance(KeyStore.getDefaultType()); | |
trustStore.load(null, null); |
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
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>PhpFiddle Initial Code</title> | |
</head> | |
<body> | |
<?php |
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
# chromium | |
sudo apt install -y chromium-browser | |
# dev (php, docker, git, node, bower, electron, composer) | |
sudo apt install -y \ | |
php php-curl php-mysql \ | |
docker.io \ | |
git \ | |
nodejs npm | |
sudo ln -s /usr/bin/nodejs /usr/bin/node |
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 5.5 avec apache | |
# basé sur debian:jessie 8.6 | |
FROM php:5.5-apache | |
# apps | |
RUN apt update && \ | |
apt install -y \ | |
apt-utils \ | |
vim \ | |
git \ |
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
# SSH | |
apt install openssh-server | |
#### configurer Virtual box pour le SSH ### | |
# machine > settings > network > advanced > port forwarding | |
# rule 1 : 3022 vers 22 | |
# puis depuis l'hote | |
# ssh -p 3022 [email protected] | |
# apt update & installation d'utilitaires |
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
" UI | |
set number " show line number | |
set ruler " show status bar | |
set laststatus=2 " always show status bar | |
syntax on " syntax based on extension | |
colorscheme slate " theme | |
set so=7 " set lines to show (when curosr at top or bottom of screen) | |
" Data | |
set encoding=utf8 " encoding |
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
alias ll="ls -alh --color=auto" |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<title>All Fit Academy en maintenance</title> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> | |
<link rel="stylesheet" href="https://www.w3schools.com/lib/w3.css"> | |
<link rel='stylesheet' id='et-gf-raleway-css' href='https://fonts.googleapis.com/css?family=Raleway:400,100,200,300,600,500,700,800,900&subset=latin' type='text/css' media='all' /> | |
<style media="screen"> | |
html,body{ |
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
{ | |
"id": 1, | |
"mountPoint": "/OpenStackObjectStorage2", | |
"backend": "swift", | |
"authMechanism": "openstack::openstack", | |
"backendOptions": { | |
"bucket": "xx", | |
"password": "xx", | |
"region": "xx", | |
"service_name": "OVH cloud 2", |
OlderNewer