Skip to content

Instantly share code, notes, and snippets.

Lépine Kong lepinekong

  • Paris
Block or report user

Report or block lepinekong

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View meta.tpl.html
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
View doctype.tpl.html
<!DOCTYPE html>
<html lang="us">
<head>
</head>
<body>
</body>
</html>
View Bootstrap.Code.Generation.red
Comment {
Requirements: [
Redlang: https://www.red-lang.org
{or paste this oneliner in powershell: https://gist.github.com/lepinekong/d895d64528ee85e6aac4b13bdf3437bc}
VSCode: (optional) https://code.visualstudio.com/
VSCode-Extension: (optional) https://marketplace.visualstudio.com/items?itemName=red-auto.red
]
Demo: {
type in red console:
@lepinekong
lepinekong / ReAdABLE.Flowchart.to.Chartmage.red
Last active May 5, 2018
Code your flowchart (ReAdABLE Human Format to Chartmage)
View ReAdABLE.Flowchart.to.Chartmage.red
Red [
Title: "ReAdABLE.Flowchart.to.Chartmage.red"
Description: {Example to convert a Flowchart from ReAdABLE Format https://medium.com/@lepinekong/readable-human-format-md-8fda1869ef75
to Chartmage http://chartmage.com/index.html
copy result to clipboard}
Github-Url: https://gist.github.com/lepinekong/1e3a51580be1be5b80e92f416a95c93f
Requirements: [
Redlang: https://www.red-lang.org
{or paste this oneliner in powershell: https://gist.github.com/lepinekong/d895d64528ee85e6aac4b13bdf3437bc}
VSCode: https://code.visualstudio.com/
@lepinekong
lepinekong / .system.user.apps.jot.note.red
Last active Apr 27, 2018
Jot note v1.0 always on top with timestamp and resize window
View .system.user.apps.jot.note.red
Comment {
Redlang: https://red-lang.org
Tutorials: [
https://dev.to/lepinekong/red-for-hopeless-programmers---part-i-3g0
https://dev.to/lepinekong/red-for-hopeless-programmers---part-ii-258
]
Demo-Instruction: {
- Install Red:
- Download and install from https://www.red-lang.org/p/download.html
View github.pages.doc.red
Comment {
Redlang: https://red-lang.org
Tutorials: [
https://dev.to/lepinekong/red-for-hopeless-programmers---part-i-3g0
https://dev.to/lepinekong/red-for-hopeless-programmers---part-ii-258
]
Demo-Instruction: {
Just paste the content of .ReAdABLE.HumanFormat.deploy.ps1 in Powershell at:
https://gist.github.com/lepinekong/b59fa3e8d386dea1ebaa1a096488c542
It will install Red and the source of the Article, the markdown and a batch file to re-execute it.
View .system.libraries.shell.red
Red [
Title: ".system.libraries.shell.red"
Uses: [
%.system.libraries.string.red
]
]
;for remote execution
unless value? '.string.compose [
github-url-entry: https://gist.github.com/lepinekong/f007c5358104f0469d8b1ea7da11650e
View .JsonResume.deploy.ps1
$demo="JsonResume";$github='https://gist.github.com/lepinekong/8ed36d43b7888625fd856e0c7ed68f28';$demofolder="C:\red\demos\$demo";Add-Type -AssemblyName Microsoft.VisualBasic;$demofolder=[Microsoft.VisualBasic.Interaction]::InputBox("Enter folder for $demo demo:", $demo, $demofolder);if ($demofolder -ne $null) {$exefolder="C:\red";$demo=Split-Path $demofolder -Leaf;[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;$WebResponse = Invoke-WebRequest -Uri "$github";$links=$WebResponse.Links | Select href | Where-Object {$_.href -match 'JsonResume.red'};$link=$links[0].href;$src="https://gist.githubusercontent.com$link";$exeurl='https://static.red-lang.org/dl/win/red-063.exe';New-Item -ItemType Directory -Force -Path $red-folder;New-Item -ItemType Directory -Force -Path $demofolder;New-Item -ItemType Directory -Force -Path "$demofolder";$Webcli=New-Object System.Net.WebClient;if (!(Test-Path `"$exefolder\red.exe`")) {$Webcli.DownloadFile("$exeurl","$exefolder\red.exe")};"Red [] `n pri
View autoload.red
Red [
title: "autoload.red"
]
;==============================================================================================================================
options-args: system/options/args ; block of command line arguments
current-dir: to-red-file options-args/1
options-script: system/options/script ; launched script path
;==============================================================================================================================
View .demo.text-to-speech.txt
See youtube below for easy install instruction (just copy and paste oneliner in Powershell) and demo tour of Text-to-speech with Cortana:
https://www.youtube.com/watch?v=u3rIyxtpEFY
You can’t perform that action at this time.