mysql Ver 14.14 Distrib 5.6.25, for debian-linux-gnu (x86_64) using EditLine wrapper
CREATE TABLE bench_columns (
id int(11) NOT NULL AUTO_INCREMENT,
gender varchar(6) NOT NULL,
title varchar(4) NOT NULL,
first varchar(255) NOT NULL,
<?php | |
class Foo | |
{ | |
//somes attributes and methods | |
public function display() | |
{ | |
//somes actions... | |
} | |
} |
mysql Ver 14.14 Distrib 5.6.25, for debian-linux-gnu (x86_64) using EditLine wrapper
CREATE TABLE bench_columns (
id int(11) NOT NULL AUTO_INCREMENT,
gender varchar(6) NOT NULL,
title varchar(4) NOT NULL,
first varchar(255) NOT NULL,
<?php | |
/** | |
* Test with https://3v4l.org/ZWMBt#v500 | |
* | |
* $test3 is created for 5.0.0 - 5.6.21, hhvm-3.9.1 - 3.12.0, 7.0.0 - 7.0.6 | |
*/ | |
$test1 = 'test1'; |
<?php | |
/** | |
* @see : https://github.com/bcit-ci/CodeIgniter/blob/develop/system/core/Common.php#L141 | |
* Return a reference is useless ! | |
* To explain : https://youtu.be/_84eIkA3j54?t=13m48s | |
*/ | |
//Code example: |
#!/bin/php | |
<?php | |
/** | |
* Convert directories structure from BFW 2.2 to BFW 3.0 | |
* | |
* @project BFW | |
* @author bulton-fr <bulton.fr@gmail.com> | |
*/ | |
function confirmPath($path, $pathName, $argumentName) |
#!/bin/sh | |
set -e | |
juniper_connected() { | |
echo "Connected action - Add google dns to resolv.conf" | |
echo "nameserver 8.8.8.8" >> /etc/resolv.conf | |
echo "nameserver 8.8.4.4" >> /etc/resolv.conf | |
} | |
case "$1" in |
<?php | |
namespace Test { | |
trait SoapCall { | |
protected $test = ''; | |
} | |
class Test { | |
use \Test\SoapCall; | |
} | |
<?php | |
/** | |
* Config file for errors system | |
* | |
* @author bulton-fr <bulton.fr@gmail.com> | |
* @version 3.0.0 | |
* @package bfw | |
*/ | |
return [ | |
'errorRenderFct' => [ |
#!/bin/bash | |
NB_PAGES=28 #Replace by the number of the page for your account | |
ALL_PIDS="" | |
# Replace "yourValueHere" by your cookie value | |
COOKIES="loginemail=\"yourValueHere\";delavid=yourValueHere;H1:yourValueHere=1;sm_dapi_session_yourValueHere=1;delvisitor=\"yourValueHere\";session=yourValueHere" | |
AGENT="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.110 Safari/537.36" | |
for PAGE in $(seq 1 $NB_PAGES) |
//Remove liked suggest tweet | |
const allTweetSuggest = document.querySelectorAll('div[data-component-context="suggest_activity_tweet"]'); | |
const nbSuggest = allTweetSuggest.length; | |
let suggestTweet; | |
for (let suggestLoopIndex = 0; suggestLoopIndex < nbSuggest; suggestLoopIndex++) { | |
suggestTweet = allTweetSuggest[suggestLoopIndex]; | |
suggestTweet.parentNode.remove(); | |
} |