Skip to content

Instantly share code, notes, and snippets.

View alcalyn's full-sized avatar

Julien Maulny alcalyn

View GitHub Profile
@alcalyn
alcalyn / list-routes.php
Last active January 13, 2022 08:37
Dump all Silex routes
<?php
require_once __DIR__.'/../vendor/autoload.php';
use Symfony\Component\Console\Helper\Table;
use Symfony\Component\Console\Output\ConsoleOutput;
use Symfony\Component\Console\Output\OutputInterface;
use Silex\Application;
/**
@alcalyn
alcalyn / .gitconfig
Last active July 10, 2018 11:29
gitconfig
[user]
name = Julien Maulny
email = [email protected]
[alias]
st = status
co = checkout
ci = commit
br = branch
[core]
excludesfile = ~/.global_gitignore
@alcalyn
alcalyn / bad.js
Created September 26, 2016 09:46
setInterval(function () {
$.ajax({
type: 'get',
url: 'api/chat/messages',
success: displayNewMessages
});
}, 1000);
@alcalyn
alcalyn / commit.sh
Created August 30, 2017 14:41
Commit with a defined date
GIT_COMMITTER_DATE="2017/11/09 14:05:00" git commit -m "commit message" --date="2017/11/09 14:05:00"
@alcalyn
alcalyn / .env
Created August 31, 2017 13:11
drop twitter test
HASHTAG=#droprobot
MASTER_API=http://0.0.0.0:8480/index-dev.php/api/
MASTER_API_KEY=ChangeMeImFamous
ACCESS_TOKEN=
ACCESS_TOKEN_SECRET=
CONSUMER_KEY=
CONSUMER_SECRET=

Keybase proof

I hereby claim:

  • I am alcalyn on github.
  • I am alcalyn (https://keybase.io/alcalyn) on keybase.
  • I have a public key ASCy84ZZcMIlJuMwpCCeXKrX5iiiZHsBuo0d67K05irSpQo

To claim this, I am signing this object:

@alcalyn
alcalyn / logs.txt
Created April 4, 2018 15:25
SSH blocking
$ ssh HOST -vvv
OpenSSH_7.5p1 Ubuntu-10ubuntu0.1, OpenSSL 1.0.2g 1 Mar 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: resolving "HOST" port 22
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to HOST [HOST_IP] port 22.
debug1: Connection established.
debug1: identity file /home/ju/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory