// jQuery
$(document).ready(function() {
// code
})
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Start Ajax */ | |
let getHttpRequest = function () { | |
let httpRequest = false; | |
httpRequest = new XMLHttpRequest(); | |
if (!httpRequest) { | |
alert('Abandon :( Impossible de créer une instance XMLHTTP'); | |
return false; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:hammer_and_pick: FIX: text | |
:fire: NEW: text | |
:arrows_clockwise: IMPROVE: text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require('dotenv').config(); | |
const gql = require('graphql-tag'); | |
const ApolloClient = require('apollo-boost').ApolloClient; | |
const fetch = require('cross-fetch/polyfill').fetch; | |
const createHttpLink = require('apollo-link-http').createHttpLink; | |
const InMemoryCache = require('apollo-cache-inmemory').InMemoryCache; | |
const client = new ApolloClient({ | |
link: createHttpLink({ | |
uri: process.env.API, | |
fetch: fetch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://stackoverflow.com/a/163659 | |
how to merge : https://stackabuse.com/git-merge-branch-into-master/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"workbench.colorTheme": "Cobalt2", | |
"editor.fontFamily": "Victor Mono", //i.e. add "Medium" | |
"editor.fontLigastures": true, | |
//"editor.fontWeight": "600", //To make it even bolder (Though optional) | |
"files.autoSave": "onFocusChange", | |
"editor.fontSize": 18, | |
"editor.cursorBlinking": "expand", | |
"explorer.openEditors.visible": 0, | |
"workbench.editor.enablePreview": false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gsettings set org.gnome.desktop.wm.keybindings switch-input-source "['<Alt>Shift_L']" |
OlderNewer