Skip to content

Instantly share code, notes, and snippets.

View eewee's full-sized avatar

Michael eewee

View GitHub Profile
@eewee
eewee / imacro_linkedin_visite_profil_group_members.js
Created October 13, 2016 14:47
iMacro : linkedin visite profil group members
// Auto-visit profiles of group members on Linkedin with iMacros
// Configure :
// - email linkedin
// - password linkedin
// - proxy (option)
// To learn more about iMacros: http://imacros.net/
// 1. Variables Initialization
var macro, proxy, linkedinEmail, linkedinPassword, linkedinGroup, i, j;
macro = '';
// A METTRE DANS LE CONSTRUCTEUR D'UN MODULE
//------------------------------------------------------------
public function __construct()
// URL du front controller
//echo 'yoooooooooo : '.$this->context->link->getModuleLink('eewee_sellsy', 'fcont').'<hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr>';
VERSION BUILD=10.4.28.1074
'--------------------------------------------------------------
' Ajouter des prospects sur Sellsy
' Comment cela fonctionne ?
' - Lire CSV
' - Ajouter prospect
'--------------------------------------------------------------
' Uses a Windows script to submit several datasets to a website, e. g. for filling an online database
@eewee
eewee / wp-config.php
Created February 14, 2020 16:27
wordpress - config custom
// wp-config.php
// autorise seulement les updates de securite mineur :
define( ‘WP_AUTO_UPDATE_CORE’, ‘minor’);
// Empeche install/update de plugins/themes :
define( ‘DISALLOW_FILE_MODS’, true );
// Limiter le nombre de revision à 5
define( 'WP_POST_REVISION', 5 );
@eewee
eewee / zsh-autocompletion-and-highlighting.md
Created June 21, 2020 18:16
ZSH + Autocompletion + Highlighting

Oh my zsh (autocompletion + highlighting)

Installation en utilisant curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Installer les plugins "zsh-autosuggestions" et "zsh-syntax-highlighting"

  • Ce placer dans le dossier .oh-my-zsh/custom/plugins/
@eewee
eewee / trashmail.php
Created January 14, 2019 16:50
Trashmail
<?php
$listTrashmail = [
"027168.com","0815.ru","0815.ry","0815.su","0845.ru","0box.eu","0clickemail.com","0v.ro","0w.ro","0wnd.net","0wnd.org","0x207.info","1-8.biz","1000rebates.stream","100likers.com","10mail.com","10mail.org","10minut.com.pl","10minut.xyz","10minutemail.be","10minutemail.cf","10minutemail.co.uk","10minutemail.co.za","10minutemail.com","10minutemail.de","10minutemail.ga","10minutemail.gq","10minutemail.ml","10minutemail.net","10minutemail.nl","10minutemail.pro","10minutemail.us","10minutemailbox.com","10minutemails.in","10minutenemail.de","10minutesmail.com","10minutesmail.fr","10minutmail.pl","10x9.com","123-m.com","12hosting.net","12houremail.com","12minutemail.com","12minutemail.net","12storage.com","140unichars.com","147.cl","14n.co.uk","1ce.us","1chuan.com","1clck2.com","1fsdfdsfsdf.tk","1mail.ml","1pad.de","1st-forms.com","1to1mail.org","1zhuan.com","20email.eu","20email.it","20mail.in","20mail.it","20minutemail.com","20mm.eu","2120001.net","21cn.com","24hourmail.com","24hourmail.net
@eewee
eewee / arrayIteration.js
Created January 9, 2019 19:36
Array iteration - 8 methods
//forEach
[1,2,3].forEach(function(item, index){
console.log(item, index)
})
//map
const three = [1,2,3]
const doubled = three.map(function(item){
return item * 2
})
@eewee
eewee / eewee_screenshot.js
Created October 14, 2016 19:28
casperjs : screenshot
var casper = require('casper').create();
var utils = require('utils');
var urls = [
'http://www.eewee.fr/',
'http://www.eewee.fr/page/2/',
];
var i = 0;
casper.start();
casper.userAgent('Mozilla/5.0 (Macintosh; Intel Mac OS X)');
@eewee
eewee / symfony4.md
Last active January 21, 2018 17:40
Symfony 4 : command

SYMFONY 4 :

Creer un nouveau projet dans le dossier sf4

composer create-project symfony/skeleton sf4

Lancer un serveur :

php -S 127.0.0.1:8000 -t public

Ouvrir le serveur (browser)

http://localhost:8000/

<?php
// Set these dependant on your BB credentials
$username = 'username';
$password = 'password';
$branch = 'master';
// FTP Credentials