4259 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
newest first
  • zzmysqldump/README.md at master · TurboLabIt/zzmysqldump · GitHub
    May 28, 2017 - permalink - https://github.com/TurboLabIt/zzmysqldump/blob/master/README.md
    mysql mysqldump
  • GitHub - hbekel/magic: define bash functions on a per-directory basis

    C'est magique

    May 28, 2017 - permalink - https://github.com/hbekel/magic
    bash
  • Note: TIL exit telnet :D

    control + $

    quit

    May 24, 2017 - permalink - https://links.infomee.fr/shaare/6tAsGw
    telnet
  • WireGuard: fast, modern, secure VPN tunnel
    May 24, 2017 - permalink - https://www.wireguard.io/
    openvpn vpn
  • BFG Repo-Cleaner by rtyley

    To clean old file in repo

    May 24, 2017 - permalink - https://rtyley.github.io/bfg-repo-cleaner/
    clean git repo
  • Note: symfony mail

    $message = \Swift_Message::newInstance()
            ->setSubject('Hello Email')
            ->setFrom('toto@gmail.com')
            ->setTo('toto@gmail.com')
            ->setBody('toto',
                'text/html'
            )
        ;
        $this->get('mailer')->send($message);

    May 23, 2017 - permalink - https://links.infomee.fr/shaare/nZlPeA
    mail php symfony
  • Note: Teamspeak upgrade

    dl archive
    tar xf
    stop server
    rsync -av new_dir/ old_dir/
    start server

    May 23, 2017 - permalink - https://links.infomee.fr/shaare/QAWyzw
    teamspeak ts ts3
  • Note: Comment retrouver les accès ts3 admin

    1) stop ts3server
    2) bash ts3server_minimal_runscript.sh serveradmin_password=new_password
    3) telnet 127.0.0.1 10011
    4)

    login serveradmin new_password
    use port=9987
    tokenadd tokentype=0 tokenid1=6 tokenid2=0

    le '6' est l'id du groupe serveradmin qui peut changer... checker dans le client dans les permissions, on peut voir l'id dans les groupes de serveurs

    5) Copier/coller le token dans le client et bam ça fait des chocapic !

    May 23, 2017 - permalink - https://links.infomee.fr/shaare/kX2n7Q
    teamspeak ts ts3
  • chjj/marked: A markdown parser and compiler. Built for speed.

    exemple avec vue : https://vuejs.org/v2/examples/index.html

    May 23, 2017 - permalink - https://github.com/chjj/marked
    js markdown
  • Vue, j’l’avais pas vu | Sam & Max

    encore un article qui plébiscite vue

    May 22, 2017 - permalink - http://sametmax.com/vue-jlavais-pas-vu/
    js vue
  • Note: s3 policy one bucket

    ReadWrite :

    {
    "Version": "2012-10-17",
    "Statement": [
    {
    "Effect": "Allow",
    "Action": ["s3:GetBucketLocation", "s3:ListBucket"],
    "Resource": [
    "arn:aws:s3:::LeBucket"
    ]
    },
    {
    "Effect": "Allow",
    "Action": [
    "s3:"
    ],
    "Resource": [
    "arn:aws:s3:::LeBucket/
    "
    ]
    }
    ]
    }

    Pour Read only, remplacer action du deuxieme bloc par "Action": ["s3:Get","s3:List"],

    May 17, 2017 - permalink - https://links.infomee.fr/shaare/Vp7r6Q
    aws iam nomarkdown s3
  • CPU Utilization is Wrong
    May 14, 2017 - permalink - http://www.brendangregg.com/blog/2017-05-09/cpu-utilization-is-wrong.html
    cpu monitoring
  • Online translation tool | Pootle
    May 10, 2017 - permalink - http://pootle.translatehouse.org/
    i18n translate
  • GitHub - minimaxir/big-list-of-naughty-strings: The Big List of Naughty Strings is a list of strings which have a high probability of causing issues when used as user-input data.
    May 10, 2017 - permalink - https://github.com/minimaxir/big-list-of-naughty-strings
    char data special string test
  • GitHub - hautelook/AliceBundle: A Symfony bundle to manage fixtures with Alice and Faker.
    May 10, 2017 - permalink - https://github.com/hautelook/AliceBundle
    fixture php symfony
  • GitHub - fzaninotto/Faker: Faker is a PHP library that generates fake data for you
    May 10, 2017 - permalink - https://github.com/fzaninotto/Faker
    data faker fixture php test
  • XLIFF — Wikipédia
    May 10, 2017 - permalink - https://fr.m.wikipedia.org/wiki/XLIFF
    trad traduction translate
  • Getting Started with Headless Chrome  |  Web  |  Google Developers
    May 8, 2017 - permalink - https://developers.google.com/web/updates/2017/04/headless-chrome
    chrome headless selenium
  • mycli/README.md at master · dbcli/mycli · GitHub
    May 7, 2017 - permalink - https://github.com/dbcli/mycli/blob/master/README.md
    client mysql
  • puppetexplorer/README.md at master · dalen/puppetexplorer · GitHub

    Frontend puppetdb

    May 7, 2017 - permalink - https://github.com/dalen/puppetexplorer/blob/master/README.md
    puppet puppetdb
  • Livres audio à télécharger | Un essai gratuit | Audible.fr

    Pourquoi pas pour la voiture

    May 6, 2017 - permalink - https://mobile.audible.fr/
    audio book
  • https://pypi.python.org/pypi/awscli/json

    Add /json to pypi package url.. Magic!

    May 4, 2017 - permalink - https://pypi.python.org/pypi/awscli/json
    pip python
  • MySQL :: MySQL 5.7 Reference Manual :: 5.6.6 mysql_config_editor — MySQL Configuration Utility

    Exactement ce que je cherchais

    You can use the mysql_config_editor utility to store authentication credentials in an encrypted login path file named .mylogin.cnf.

    To create a new set of credentials run:

    mysql_config_editor set --host=db.host.org --user=dbuser --password

    and enter your password when prompted.

    This will store your authentication credentials in the default client login path.

    You can store multiple authentication credentials by specifying a different --login-path option:

    mysql_config_editor set --login-path=db2 --host=db2.host.org --user=dbuser --password

    By default, the mysql client reads the [client] and [mysql] groups from other option files, so it reads them from the login path file as well. With a --login-path option, client programs additionally read the named login path from the login path file. The option groups read from other option files remain the same. Consider this command:

    mysql --login-path=db2

    The mysql client reads [client] and [mysql] from other option files, and [client], [mysql], and [mypath] from the login path file.

    To print out all the information stored in the configuration file run:

    mysql_config_editor print --all=true

    More information about the utility can be found at "mysql_config_editor — MySQL Configuration Utility".

    May 3, 2017 - permalink - https://dev.mysql.com/doc/refman/5.7/en/mysql-config-editor.html
    auth mysql
  • Note: mysql

    do not use utf8, its not "real utf8"

    CREATE DATABASE foo DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;

    use this :

    https://mathiasbynens.be/notes/mysql-utf8mb4#utf8-to-utf8mb4

    CREATE DATABASE foo DEFAULT CHARACTER SET utf8mb4 DEFAULT COLLATE utf8mb4_unicode_ci;

    CREATE USER 'foo'@'%' IDENTIFIED BY "password";

    GRANT ALL ON foo.* TO "foo"@"%";

    convert :

    For each database:

    ALTER DATABASE database_name CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci;

    For each table:

    ALTER TABLE table_name CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

    For each column:

    ALTER TABLE table_name CHANGE column_name column_name VARCHAR(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

    (Don’t blindly copy-paste this! The exact statement depends on the column type, maximum length, and other properties. The above line is just an example for a VARCHAR column.)

    May 3, 2017 - permalink - https://links.infomee.fr/shaare/kmGPew
    memo mysql nomarkdown
  • Note: s3 enpoint

    If you enable s3 enpoint in your route table, it's kind of tricky to know if the endpoint is really working. Two things to validate:
    1) traceroute tcp before and after (traceroute -T s3-us-west-1.amazonaws.com 443)
    You will see more hope when endpoint not activated
    2) try an s3 sync cross region with enpoint activated : it should failed since it's not supported (yet @ 2017-05-02)

    May 2, 2017 - permalink - https://links.infomee.fr/shaare/1wF2Kg
    aws enpoint s3
  • Fugitive.vim - exploring the history of a git repository

    :Glog

    :clist
    :cprev
    :cnext
    :cfirst
    :clast

    April 27, 2017 - permalink - http://vimcasts.org/episodes/fugitive-vim-exploring-the-history-of-a-git-repository/
    fugitive vim
  • Kryptonite - The new way to protect your private key.
    April 25, 2017 - permalink - https://krypt.co/
    mobile ssh
  • Stupid Python Tricks: The KeyboardInterrupt Exception

    catching all exception in python
    import traceback

    for record in database:
    try:
    blabla
    except (KeyboardInterrupt, SystemExit):
    raise
    except Exception as e:
    # report error and proceed
    print(type(e).name)
    print(e)
    print(traceback.format_exc())

    Ne pas oublier de raise si on veut re-raise

    April 21, 2017 - permalink - http://effbot.org/zone/stupid-exceptions-keyboardinterrupt.htm
    exception nomarkdown python
  • Configuring the AWS Command Line Interface - AWS Command Line Interface

    Pratique quand on doit jongler entre différents comptes AWS

    et l'équivalent pour s3cmd : http://mikesisk.tumblr.com/post/8703449578/s3cmd-and-multiple-accounts

    April 21, 2017 - permalink - http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html#cli-multiple-profiles
    aws profile
  • Note: Firefox fishing

    about:config
    punycode

    April 21, 2017 - permalink - https://links.infomee.fr/shaare/9ZMn_Q
    firefox fishing
  • Configure logging drivers - Docker Documentation

    Logging option

    April 20, 2017 - permalink - https://docs.docker.com/engine/admin/logging/overview/#syslog
    docker log
  • rvedotrc/aws-iam-reference: A list of all known IAM actions; and a way of updating that list
    April 13, 2017 - permalink - https://github.com/rvedotrc/aws-iam-reference
    actions iam
  • Haeresis/vanilla-js-dom: Vanilla JS is a fast, lightweight, cross-platform framework for building incredible, powerful JavaScript applications.

    "vanillajs" :D

    April 13, 2017 - permalink - https://github.com/Haeresis/vanilla-js-dom#ajax
    js
  • Plain JavaScript - Selecting DOM elements

    Des snippets en plain js

    April 13, 2017 - permalink - https://plainjs.com/javascript/selecting/
    js
  • Note: jq sort example

    |jq -r '.ApplicationVersions|sort_by(.DateCreated)|.[]|.VersionLabel'|tail -1

    April 12, 2017 - permalink - https://links.infomee.fr/shaare/9B1NEQ
    jq sort
  • wallix/awless: A Mighty CLI for AWS
    April 10, 2017 - permalink - https://github.com/wallix/awless
    aws cmd
  • Welcome to Mastodon · Aldarone.fr

    C'est pas le 1er Twitter like décentralisé, est ce que ça va prendre ?
    Via Skunnyk

    April 2, 2017 - permalink - https://aldarone.fr/welcome-to-mastodon/
    twitter
  • TCP load balancing with Nginx (SSL Pass-thru) - Servers for Hackers
    April 2, 2017 - permalink - https://serversforhackers.com/tcp-load-balancing-with-nginx-ssl-pass-thru
    nginx tcp
  • Containers and docker | Consolia
    April 2, 2017 - permalink - https://consolia-comic.com/comics/containers-and-docker
    bd comic docker
  • Bash scripting quirks & safety tips - Julia Evans

    set -eux
    Shellcheck
    reptyr

    April 2, 2017 - permalink - http://jvns.ca/blog/2017/03/26/bash-quirks/
    bash
  • Note: diff -r overview

    diff -r folder1 folder2 | grep -P '(^diff|^Only)'

    diff -r folder1 folder2 | grep -P '(^diff|^Only)' | sed -r 's/^diff -r /vimdiff /'

    March 31, 2017 - permalink - https://links.infomee.fr/shaare/Gc4iwQ
    diff r
  • ActionCable: The Missing Guide - via @codeship | via @codeship
    March 30, 2017 - permalink - https://blog.codeship.com/actioncable-the-missing-guide/
    actioncable rails
  • s3fs-fuse/s3fs-fuse: FUSE-based file system backed by Amazon S3

    I may have to use this one, but issue number is freaking me out

    March 30, 2017 - permalink - https://github.com/s3fs-fuse/s3fs-fuse
    aws fs s3 s3fs
  • Note: Changement d'heure

    C'est vraiment se compliquer la vie pour pas grande chose

    Et puis je m'en souviens jamais : en hiver on est GMT+1, en été on est GMT+2

    March 29, 2017 - permalink - https://links.infomee.fr/shaare/X6cRbA
    gmt hour utc
  • localstack/README.md at master · atlassian/localstack · GitHub

    Good boy atlassian!

    March 27, 2017 - permalink - https://github.com/atlassian/localstack/blob/master/README.md
    atlassian aws
  • Symfony and Monolog, how use Processor in your project: a practical example « Stefano Alletti
    March 24, 2017 - permalink - https://stefanoalletti.wordpress.com/2017/03/09/symfony-and-monolog-how-use-processor-in-your-project/
    log monolog php symfony
  • Note: boto3 subnet sorted by name

    subnets = ec2.subnets.all()
    subnets_sorted = sorted(subnets, key=lambda k: k.tags[next(index for (index, d) in enumerate(k.tags) if d["Key"] == "Name")]['Value'])

    Well, my python level is not good enough to clearly understand this but my Google level was largely enough to build this

    March 24, 2017 - permalink - https://links.infomee.fr/shaare/Fn--jw
    aws boto boto3 python
  • IAM Policies and Bucket Policies and ACLs! Oh, My! (Controlling Access to S3 Resources) | AWS Security Blog

    Easy one?
    Not even close

    March 24, 2017 - permalink - https://aws.amazon.com/blogs/security/iam-policies-and-bucket-policies-and-acls-oh-my-controlling-access-to-s3-resources/
    iam policy s3
  • Managing LDAP from the Command Line on Linux | Linux.com | The source for Linux information
    March 24, 2017 - permalink - https://www.linux.com/learn/managing-ldap-command-line-linux
    ldap
  • willfarrell/crontab - Docker Hub

    alternative to ofelia

    March 23, 2017 - permalink - https://hub.docker.com/r/willfarrell/crontab/
    cron docker
▼ Load 50 more