Skip to content
View louislebrault's full-sized avatar
🦫
🦫

Organizations

@KnpLabs

Block or report louislebrault

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Xmodmap colemak configuration Xmodmap colemak configuration
    1
    ! Right Windows Key become Mode_switch
    2
    keycode 134 = Mode_switch
    3
    
                  
    4
    ! Navigation keys on Mode_switch / Modified alt gr
    5
    keycode 38 = a A Left 0 agrave
  2. DotFiles DotFiles Public

    <3

    Shell

  3. An equivalent to ramda path or lodas... An equivalent to ramda path or lodash toPath in a few lines using recursivity
    1
    /**
    2
     * @param {object} json - The json object to run through.
    3
     * @param {Array.string} path - The path of the desired value.
    4
     */
    5
    const jsonPath = (json, [head, ...tail]) => {
  4. how to mock new Date() with jest how to mock new Date() with jest
    1
    // tiny modification to a solution found at https://codewithhugo.com/mocking-the-current-date-in-jest-tests/
    2
    global.Date = class extends Date {
    3
      constructor(date) {
    4
        if (date) {
    5
          //eslint-disable-next-line constructor-super