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
local user_host="%{$fg[yellow]%}%}%n@%m%{$reset_color%}" | |
local current_dir="%{$fg[cyan]%}%8~%{$reset_color%}" | |
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)" | |
PROMPT='${user_host} ${current_dir} %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%} | |
${ret_status} %{$reset_color%}' | |
ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%}" |
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
var p = Promise[(someCondition)?"resolve":"reject"](); |
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
[alias] | |
rb = rebase | |
undo = reset --soft HEAD^ | |
st = status | |
ci = commit | |
br = branch | |
co = checkout | |
df = diff | |
lg = log -p | |
lp = log --pretty=oneline --graph --all |
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
<?php | |
variable_set('error_level', 1); | |
dpm(ddebug_backtrace(TRUE)); | |
variable_set('error_level', 0); |
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="x-ua-compatible" content="ie=edge"> | |
<title></title> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
</head> | |
<body> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="x-ua-compatible" content="ie=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>les-habitants-des-departements-ruraux-sont-les-mieux-dotes</title> | |
<link rel="stylesheet" href="https://data.alternatives-economiques.fr/assets/css/style.css"> | |
<style> |
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
import Events from 'eventemitter3'; | |
const object = {}; | |
Object.assign(object, Events.prototype); | |
object.on('event', payload => console.log(payload)); | |
object.emit('event', 'some data'); // 'some data' |
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
// See https://medium.com/javascript-scene/javascript-factory-functions-with-es6-4d224591a8b1 | |
const pipe = (...fns) => x => fns.reduce((y, f) => f(y), x); | |
const withConstructor = constructor => o => ({ | |
// create the delegate [[Prototype]] | |
__proto__: { | |
// add the constructor prop to the new [[Prototype]] | |
constructor | |
}, |
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
ID | Région | Taux de chômage, différence entre 2016 et 2007 (en points de %) | |
---|---|---|---|
AT11 | Burgenland (AT) | 1.60 | |
AT12 | Niederösterreich | 1.20 | |
AT13 | Wien | 2.00 | |
AT21 | Kärnten | 1.20 | |
AT22 | Steiermark | 1.00 | |
AT31 | Oberösterreich | 1.00 | |
AT32 | Salzburg | -0.10 | |
AT33 | Tirol | 0.50 | |
AT34 | Vorarlberg | -0.70 |
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
NUTS_ID_2 | Régions | 2018/2008 | |
---|---|---|---|
BE10 | Région de Bruxelles-Capitale | 14.97% | |
BE21 | Prov. Antwerpen | 7.80% | |
BE22 | Prov. Limburg (BE) | 5.57% | |
BE23 | Prov. Oost-Vlaanderen | 6.94% | |
BE24 | Prov. Vlaams-Brabant | 7.39% | |
BE25 | Prov. West-Vlaanderen | 3.63% | |
BE31 | Prov. Brabant Wallon | 7.50% | |
BE32 | Prov. Hainaut | 3.36% | |
BE33 | Prov. Liège | 5.19% |
OlderNewer