Skip to content

Instantly share code, notes, and snippets.

ejdzjd
@christianfelicite
christianfelicite / Draw.io plugin list
Last active April 2, 2022 13:20
app.diagrams.net
https://github.com/jgraph/drawio/tree/549c4882019aa0660216e734535fedc4a56d47fb/src/main/webapp/plugins
.gist {width:1500px; overflow:auto}
.file-data {max-height: 500px;max-width: 500px;}
/* Better styles for embedding GitHub Gists */
.gist{font-size:13px;line-height:18px;margin-bottom:20px;width:100%}
.gist pre{font-family:Menlo,Monaco,'Bitstream Vera Sans Mono','Courier New',monospace !important}
.gist-meta{font-family:Helvetica,Arial,sans-serif;font-size:13px !important}
.gist-meta a{color:#26a !important;text-decoration:none}
.gist-meta a:hover{color:#0e4071 !important}
.gist {
@christianfelicite
christianfelicite / embed
Last active March 29, 2020 16:08
Divers
<script src="https://gist.github.com/christianfelicite/e6fe830d808c701c3b588eb00a6c2928.js?file=bolognaise.md"></script>
<script src="https://gist.github.com/christianfelicite/e6fe830d808c701c3b588eb00a6c2928.js?file=Bechamel.md"></script>
<!doctype html>
<html lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Edit your site info here -->
<meta name="description" content="EXAMPLE SITE DESCRIPTION">
<title>EXAMPLE SITE TITLE</title>
@christianfelicite
christianfelicite / HtmlIntoHtml
Last active March 29, 2020 15:31
Everything into html file
<html>
<head>
<link rel="stylesheet" type="text/css" href="./css/mystyle.css">
<title>How to include HTML page with jQuery</title>
<script src='https://code.jquery.com/jquery-3.4.1.js' type='text/javascript'></script>
<script type='text/javascript'>
$(document).ready(function(){
$( "#header" ).load( "./Sources/header.html" );
@christianfelicite
christianfelicite / HtmlIntoMD
Last active March 31, 2020 12:37
Everything into md file
```html
<h2>Example of draw.io image</h2>
<pre>
<div class="mxgraph" style="max-width:100%;border:1px solid transparent;" data-mxgraph="{&quot;highlight&quot;:&quot;#0000ff&quot;,&quot;nav&quot;:true,&quot;resize&quot;:true,&quot;toolbar&quot;:&quot;zoom layers lightbox&quot;,&quot;edit&quot;:&quot;_blank&quot;,&quot;xml&quot;:&quot;&lt;mxfile host=\&quot;www.draw.io\&quot; modified=\&quot;2020-02-23T16:42:35.131Z\&quot; agent=\&quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0\&quot; etag=\&quot;Dt7rXLwg7bkRbxD4xmcn\&quot; version=\&quot;12.7.4\&quot; type=\&quot;google\&quot;&gt;&lt;diagram id=\&quot;R4xzoTvKoysvhnZwy38p\&quot; name=\&quot;Page-1\&quot;&gt;rZTPT4MwFID/Go5LRqtMr8OpF2PMDp47+kYbC23KQ2B/vcWWAdmWucQLee/re/3xtSGiadG+WGbEm+agIrLkbUSfIkIeVkv37UHnQUKoB7mV3KN4BFt5gABDX15LDtWsELVWKM0cZrosIcMZY9bqZl6212q+qmE5nIBtxtQp/ZQcRTgWWY38FWQuhpXj5NGPFGwoDiepBOO6mSC6iWhqtUYfFW0Kqnc3ePF9zxdGjxuzUOJfGu7RVJge6l0Dq8WS1JuPXbIIs3wzVYcDh81iNxhohETYGpb1eeMuOaJrgYVyWexCVhnvfS9bcEutw4xgEdq
@christianfelicite
christianfelicite / raspberry.bat
Last active March 14, 2020 07:52
Fichiers .bat pour Raspberry
@echo off
set SCRIPT_FILE=%TEMP%\commands.txt
echo cd /path > %SCRIPT_FILE%
echo /bin/bash > %SCRIPT_FILE%
echo startlxde > %SCRIPT_FILE%
start C:\"Program Files (x86)"\Xming\Xming.exe :0 -clipboard -multiwindow
start putty -load "raspberry" -l christian -pw xxxxxx -t -m %SCRIPT_FILE%
'http://www.pptfaq.com/FAQ00950_Export_the_text_of_a_presentation_to_a_CSV-Excel_file.htm
'Problem
'Can PowerPoint save all the text in a presentation into a format that can be used in Excel?
'Solution
'This macro will export all the text in your PPT file to a comma-separated-value (CSV) formatted file that can be opened in Excel.
'The file will be named AllText.CSV and will be saved to the same folder as your PPT file, unless you edit the macro to change this.
'The CSV file will have one row of data per slide, with the text in the order in which it appears in the PPT (ie, in Z-order; to see what the order will be, you can press TAB repeatedly while viewing the slide in normal or slide view.)
Sub ExportTextToCSV()
Dim oPres As Presentation
'https://social.msdn.microsoft.com/Forums/en-US/9a039149-8f95-4cad-ae29-d78e0864bc5c/calling-a-powershell-script-from-vba-in-access?forum=isvvba
runSendreports = Shell("Powershell.exe -executionpolicy bypass C:\Progra~1\Tasks\MyScript.ps1")