D'autres pages de veille :
This file contains hidden or 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
Private Function styleExists(styleName As String, doc As Document) As Boolean | |
Dim MyStyle As Word.Style | |
On Error Resume Next | |
Set MyStyle = doc.Styles(styleName) | |
styleExists = Not MyStyle Is Nothing | |
End Function | |
Sub checkLodelStyles() | |
Dim erreurStyle As Style | |
Dim DocPara As Paragraph |
This file contains hidden or 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
Show hidden characters
{ | |
"undef": true, | |
"unused": "vars", | |
"browser": true, | |
"node": true, | |
"eqnull": true, | |
"esversion": 6, | |
"jquery": true, | |
"indent": 4 | |
} |
This file contains hidden or 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
' MS Word Document Batch Convert | |
' Inspiration: http://windowssecrets.com/forums/showthread.php/70355-Batch-convert-files-from-rtf-to-doc-%28Word-2003%29 | |
Sub BatchConvert() | |
' Configuration | |
Const strSourcePath = "C:\Path\To\Source\Dir\" ' Keep final backslash | |
Const strTargetPath = "C:\Path\To\Target\Dir\" ' Keep final backslash | |
Const sourceExtension = "docx" | |
Const targetFormat = wdFormatDocument97 ' Available file formats: https://msdn.microsoft.com/fr-fr/library/microsoft.office.interop.word.wdsaveformat.aspx |
This file contains hidden or 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
'Inspiration: https://support.microsoft.com/fr-fr/kb/306348 | |
Sub BreakOnSection() | |
'Move cursor to first line | |
Selection.GoTo What:=wdGoToHeading, Which:=wdGoToFirst | |
' Used to set criteria for moving through the document by section. | |
Application.Browser.Target = wdBrowseSection | |
'S'il y a un saut de section à la fin du doc | |
For i = 1 To ((ActiveDocument.Sections.Count) - 1) |
This file contains hidden or 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
// ==UserScript== | |
// @name asfored-propre | |
// @namespace brrd.fr | |
// @description Une navigation décente (= un minimum accessible) sur le nouvel espace emploi de l'asfored (juin 2016) | |
// @include http://asfored.org/emploi/offres | |
// @version 2 | |
// @grant GM_addStyle | |
// ==/UserScript== | |
// Distinguer les liens visités |
This file contains hidden or 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
// Install 'module-name' as a dependency, then: | |
function init () { | |
return new Promise ((resolve, reject) => { | |
const injectScript = (src, callback) => { | |
const script = document.createElement('script'); | |
document.head.appendChild(script); | |
script.onload = callback; | |
script.src = src; | |
}; |
This file contains hidden or 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
// ==UserScript== | |
// @name gmail-img-max-width | |
// @namespace http://brrd.fr | |
// @version 0.1 | |
// @description Fix image max width in gmail | |
// @author brrd | |
// @match https://mail.google.com/mail/* | |
// @grant GM_addStyle | |
// ==/UserScript== |
This file contains hidden or 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
{ | |
// Place your snippets for html here. Each snippet is defined under a snippet name and has a prefix, body and | |
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
// same ids are connected. | |
// Example: | |
// "Print to console": { | |
// "prefix": "log", | |
// "body": [ | |
// "console.log('$1');", |
This file contains hidden or 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
.img-container { | |
width: 100%; | |
max-width: 100px; | |
position: relative; | |
} | |
.img-container::after { | |
content: ''; | |
position: absolute; | |
top: 0; |
OlderNewer