Afficher/masquer le menu
Liens Ecyseo
  • Tags cloud
  • Daily
  • Pictures wall
  • Search
  • Display options
    • Links per page :
    • 20 links
    • 50 links
    • 100 links
  • RSS Feed
  • Login

J'ai besoin d'intimité. Non pas parce que mes actions sont douteuses, mais parce que votre jugement et vos intentions le sont.

5185 links 

page 114 / 260

Liste des liens

backup - How can I mysqldump all databases except the mysql schema? - Database Administrators Stack Exchange
2018-03-20 17:51 - permalink -
MYSQL_USER=root
MYSQL_PASS=rootpassword
MYSQL_CONN="-u${MYSQL_USER} -p${MYSQL_PASS}"
#
# Collect all database names except for
# mysql, information_schema, and performance_schema
#
SQL="SELECT schema_name FROM information_schema.schemata WHERE schema_name NOT IN"
SQL="${SQL} ('mysql','information_schema','performance_schema')"

DBLISTFILE=/tmp/DatabasesToDump.txt
mysql ${MYSQL_CONN} -ANe"${SQL}" > ${DBLISTFILE}

DBLIST=""
for DB in `cat ${DBLISTFILE}` ; do DBLIST="${DBLIST} ${DB}" ; done

MYSQLDUMP_OPTIONS="--routines --triggers --single-transaction"
mysqldump ${MYSQL_CONN} ${MYSQLDUMP_OPTIONS} --databases ${DBLIST} > all-dbs.sql
MySQL
- https://dba.stackexchange.com/questions/69598/how-can-i-mysqldump-all-databases-except-the-mysql-schema/69667
Les preneurs d’otages | Emma
2018-03-20 12:9 - permalink -

On nous ment, on nous spolie qu'elle disait...

levons-nous société
- https://emmaclit.com/2018/03/19/les-preneurs-dotages/
L’Atelier du câble : Câbles personnalisés fabriqués en France
2018-03-18 19:16 - permalink -

Pas mal. Par contre, les câbles HDMI sont noirs. On ne peut personnaliser que les fiches.

câbles
- https://www.latelierducable.com/
thumbnail
humour-de-droite-sur-twitter-ya-un-truc-qui-me-turlupine-a-propos-de-letat-francais-et-du-service-public-pas-seulement-lie-au-gouvernement-actuel-mais-vu-que-cest-un-peu-le-sujet-actuellement-allons-y-.png (Image PNG, 812 × 2316 pixels) - Redimensionnée (40%)
2018-03-18 19:0 - permalink -

C'est tout à fait ça.

Et en plus, plus on supprime de services publics, plus on nous demande de payer des impôts. Ce qui est totalement antinomique.

Il semblerait même qu'un impôt européen se profilerait à l'horizon...

levons-nous société
- http://warriordudimanche.net/data/medias/humour-de-droite-sur-twitter-ya-un-truc-qui-me-turlupine-a-propos-de-letat-francais-et-du-service-public-pas-seulement-lie-au-gouvernement-actuel-mais-vu-que-cest-un-peu-le-sujet-actuellement-allons-y-.png
CodePen - Animated SVG Avatar
2018-03-17 16:47 - permalink -

Marrant

css javascript svg
- https://codepen.io/dsenneff/full/QajVxO
affordance.info: Invite un banquier dans ta classe. Et fais sécher son corps dans ton grenier.
2018-03-17 15:16 - permalink -

À gerber.
L'éducation nationale est devenue une ferme pédagogique : comment élever de bons moutons consuméristes...

finance levons-nous société
- http://affordance.typepad.com/mon_weblog/2018/03/adopte-un-banquier.html
Note - Le Hollandais Volant
2018-03-15 9:10 - permalink -

Oh merde. Toutes mes condoléances... :-(

- https://lehollandaisvolant.net/?mode=links&id=20180315012124
Homepage - tabler.github.io - a responsive, flat and full featured admin template
2018-03-14 17:34 - permalink -

https://github.com/tabler/tabler

css free html templates
- https://tabler.github.io/tabler/
CSS Variables
2018-03-14 16:55 - permalink -

Introduction

In the last few years CSS preprocessors had a lot of success. It was very common for greenfield projects to start with Less or Sass. And it’s still a very popular technology.

The main benefits of those technologies are, in my opinion:

  • They allow to nest selectors
  • The provide an easy imports functionality
  • They give you variables

Modern CSS has a new powerful feature called CSS Custom Properties, also commonly known as CSS Variables.

CSS is not a programming language like JavaScript, Python, PHP, Ruby or Go where variables are key to do something useful. CSS is very limited in what it can do, and it’s mainly a declarative syntax to tell browsers how they should display an HTML page.

But a variable is a variable: a name that refers to a value, and variables in CSS helps reduce repetition and inconsistencies in your CSS, by centralizing the values definition.

And it introduces a unique feature that CSS preprocessors won’t never have: you can access and change the value of a CSS Variable programmatically using JavaScript.

The basics of using variables

A CSS Variable is defined with a special syntax, prepending two dashes to a name (--variable-name), then a colon and a value. Like this:

:root {
  --primary-color: yellow;
}

(more on :root later)

You can access the variable value using var():

p {
  color: var(--primary-color)
}

The variable value can be any valid CSS value, for example:

:root {
  --default-padding: 30px 30px 20px 20px;
  --default-color: red;
  --default-background: #fff;
}

Create variables inside any element

CSS Variables can be defined inside any element. Some examples:

:root {
  --default-color: red;
}

body {
  --default-color: red;
}

main {
  --default-color: red;
}

p {
  --default-color: red;
}

span {
  --default-color: red;
}

a:hover {
  --default-color: red;
}

What changes in those different examples is the scope.

Variables scope

Adding variables to a selector makes them available to all the children of it.

In the example above you saw the use of :root when defining a CSS variable:

:root {
  --primary-color: yellow;
}

:root is a CSS pseudo-class that identifies the document, so adding a variable to :root makes it available to all the elements in the page.

It’s just like targeting the html element, except that :root has higher specificity (takes priority).

If you add a variable inside a .container selector, it’s only going to be available to children of .container:

.container {
  --secondary-color: yellow;
}

and using it outside of this element is not going to work.

Variables can be reassigned:

:root {
  --primary-color: yellow;
}

.container {
  --primary-color: blue;
}

Outside .container, --primary-color will be yellow, but inside it will be blue.

You can also assign or overwrite a variable inside the HTML using inline styles:

<main style="--primary-color: orange;">
  <!-- ... -->
</main>
CSS Variables follow the normal CSS cascading rules, with precedence set according to specificity

Interacting with a CSS Variable value using JavaScript

The coolest thing with CSS Variables is the ability to access and edit them using JavaScript.

Here’s how you set a variable value using plain JavaScript:

const element = document.getElementById('my-element')
element.style.setProperty('--variable-name', 'a-value')

This code below can be used to access a variable value instead, in case the variable is defined on :root:

const styles = getComputedStyle(document.documentElement)
const value = String(styles.getPropertyValue('--variable-name')).trim()

Or, to get the style applied to a specific element, in case of variables set with a different scope:

const element = document.getElementById('my-element')
const styles = getComputedStyle(element)
const value = String(styles.getPropertyValue('--variable-name')).trim()

Handling invalid values

If a variable is assigned to a property which does not accept the variable value, it’s considered invalid.

For example you might pass a pixel value to a position property, or a rem value to a color property.

In this case the line is considered invalid and ignored.

Browser support

Browser support for CSS Variables at the time of writing (Mar 2018) is very good, according to Can I Use.

CSS Variables are here to stay, and you can use them today if you don’t need to support Internet Explorer and old versions of the other browsers.

If you need to support older browsers you can use libraries like PostCSS or Myth, but you’ll lose the ability to interact with variables via JavaScript or the Browser Developer Tools, as they are transpiled to good old variable-less CSS (and as such, you lose most of the power of CSS Variables).

CSS Variables are case sensitive

This variable:

--width: 100px;

is different than:

--Width: 100px;

Math in CSS Variables

To do math in CSS Variables, you need to use calc(), for example:

:root {
  --default-left-padding: calc(10px * 2);
}

Media queries with CSS Variables

Nothing special here. CSS Variables normally apply to media queries:

body {
  --width: 500px;
}

@media screen and (max-width: 1000px) and (min-width: 700px) {
  --width: 800px;
}

.container {
  width: var(--width);
}

Setting a fallback value for var()

var() accepts a second parameter, which is the default fallback value when the variable value is not set:

.container {
  margin: var(--default-margin, 30px);
}
css tutoriels variables
- https://flaviocopes.com/css-variables/
Initiation à la mise en page avec Scribus
2018-03-14 15:25 - permalink -
Libre pao scribus tutoriels
- http://ma.formation-logiciel-libre.com/scribus/
Warrior du Dimanche - Publication à caractère intermittent, approximatif et dilettante.
2018-03-14 11:4 - permalink -

Whaaa le warrior a modifié le design de son site et il a mis sa trombine !!!
Je vois qu'il a autant de cheveux que moi ^_^

copains
- http://warriordudimanche.net/index.php
Échappez à la manipulation de vos émotions ! | ploum.net
2018-03-13 13:32 - permalink -

Tout est dans le titre.
À faire lire à nos jeunes...

publicité société vie-privée
- https://ploum.net/echappez-a-la-manipulation-de-vos-emotions/
Pour l’abolition du Like | ploum.net
2018-03-13 13:25 - permalink -

J'irai plus loin : abolissons Facebook et consort.

Sinon, par rapport à la fin de l'article, il faudrait signaler à Ploum qu'il y a Shaarli et les rivers qui existent depuis pas mal de temps maintenant...

réseau sociaux
- https://ploum.net/pour-labolition-du-like/
Fédération Française des Dys : dyslexie, dyspraxie, dysphasie, dysorthographie, trouble mnésique, et dyscalculie.
2018-03-13 11:17 - permalink -
Médecine
- http://www.ffdys.com/
Les enfants non religieux sont plus altruistes que ceux élevés dans une famille de croyants
2018-03-13 10:58 - permalink -

Et Jésus dit à ses apôtres, "Mangez le pain, et macache pour les autres"

religions
- http://www.lemonde.fr/sciences/article/2015/11/05/les-enfants-d-athees-sont-plus-altruistes-que-ceux-eleves-dans-une-famille-religieuse_4804217_1650684.html
Do you rotate ? | Sam & Max
2018-03-12 14:55 - permalink -
Linux logs
- http://sametmax.com/do-you-rotate/
GitHub - broncowdd/goofi: get google fonts onto your server with just one <link>
2018-03-12 11:20 - permalink -

get google fonts onto your server with just one <link>

instead of

<link href="<a href="https://fonts.googleapis.com/css?family=Nunito+Sans|Roboto&quot">https://fonts.googleapis.com/css?family=Nunito+Sans|Roboto&quot</a>; rel="stylesheet">

use

<link href="goofi.php?family=Nunito+Sans|Roboto" rel="stylesheet">

and the script will get the fonts & css and then save it onto your server. After that, no more queries will be send to google's servers anymore ;-)

astuce bronco copains font google php
- https://github.com/broncowdd/goofi
Note: Ma liste de lecture pour l'été - links@aceawan
2018-03-12 11:17 - permalink -
developpement programmation tutoriels
- https://shaarli.aceawan.eu/?ZuHJVA
FOSDEM 2018 - The emPeerTube strikes back
2018-03-12 11:12 - permalink -

Une conférence sur PeerTube par Framasky.

logiciel P2P partage vidéos vie-privée
- https://fosdem.org/2018/schedule/event/peertube/
Un logiciel espion à l'éducation nationale - GuiGui's Show
2018-03-12 10:39 - permalink -

Il y a le RGPD qui va passer par là !
Les administrations aussi vont devoir s'y plier. Et les amendes peuvent être lourdes...

Il ne faudra pas hésiter à en faire usage.

levons-nous société vie-privée
- http://shaarli.guiguishow.info/?3d7vbA
page 114 / 260


Tags


  • shaarli
  • wikipedia

Tags cloud

Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation
Affiches "loi aviva" créées par Geoffrey Dorne le 13 Mai, 2020 - Mastodon 1 - Mastodon 2