Skip to content

Instantly share code, notes, and snippets.

View jgwill's full-sized avatar

Guillaume Descoteaux-Isabelle jgwill

View GitHub Profile
@jgwill
jgwill / wordpress-github-sync-181012.md
Last active October 12, 2018 19:19
Sync your blog content with a GitHub repo

#todo

Create a token INstall GitHub sync in WP ...

@jgwill
jgwill / Mac OS X: Open in Visual Studio Code
Created October 15, 2018 18:27 — forked from tonysneed/Mac OS X: Open in Visual Studio Code
Add a command to Finder services in Mac OSX to open a folder in VS Code
- Open Automator
- File -> New -> Service
- Change "Service Receives" to "files or folders" in "Finder"
- Add a "Run Shell Script" action
- Change "Pass input" to "as arguments"
- Paste the following in the shell script box: open -n -b "com.microsoft.VSCode" --args "$*"
- Save it as something like "Open in Visual Studio Code"
@jgwill
jgwill / NodeJS_dotNET_Integration_Program.cs
Last active October 22, 2018 19:42
@stcgoal 18101513 Node.JS and .NET Integrated. This grab the output from a nodejs and transform it into C# object
using Newtonsoft.Json;
//This grab the output from a nodejs and transform it into C# object
namespace dnc_nodejs_001
{
class Program
@jgwill
jgwill / mac-os-x-mysql-install.sh
Created October 17, 2018 15:04
@stcgoal install mysql client on Mac OS x and Access thru command line
#!/bin/bash
# By Guillaume Descoteaux-Isabelle
# Version 0.0.1.1810171102
#@stcgoal install mysql client on Mac OS x and Access thru command line
#1.
#@v Download and Install Workbench
cd ; mkdir tmp_download_workbench ; cd tmp_download_workbench
@jgwill
jgwill / macosx-text-search-in-chrome.md
Last active October 17, 2018 16:01
@stcgoal Run Chrome within Automator to Search selected text from anywhere on Mac OS X

@stcgoal Run Chrome within Automator to Search selected text from anywhere on Mac OS X

@result-expected Optimally, select text then press your keyboard shortcut and chrome opens


@author Guillaume Descoteaux-Isabelle

@version 0.0.1.1810171155


@jgwill
jgwill / macosx-auto-screenshoting-prep-markdown-sketch1810171313.md
Last active October 17, 2018 18:30
@stcgoal Mac OS X -> Automation of Screenshots distribution for online usage as markdown tag. @stcstatus INCOMPLETED

Overview Capture Shared Screenshots Process

Overview Capture Shared Screenshots Process

@jgwill
jgwill / macosx-auto-screenshoting-distributed-sketch1810171402.md
Last active October 17, 2018 18:32
@stcgoal Mac OS X -> Overview of the Capture Shared Screenshots Service - Distributing Mac OS X Screenshots to a Git online repo. @stcstatus INCOMPLETED
@jgwill
jgwill / Send2GIST-from-VSCode-README.md
Last active October 19, 2018 16:08
@stcgoal Quick Distribution of Code from within the SCOE -> Editing GIST from VSCode Experimentation

@s It is possible to Send a File as GIST from VSCode

Install VSCode Extension

Editing GIST

@jgwill
jgwill / afelia-common-fnc.str_contain.php
Last active October 20, 2018 02:17
Check in PHP if a String is contained into another and return true if it does
/**
* Return true if the Pattern is contained within the string
*
* Return true if the Pattern is contained within the string
*
* PHP version 5.6
*
@jgwill
jgwill / install_linux.sh
Last active October 23, 2018 22:03
@stcgoal Starts a NodeJS Server when System Boot
#!/bin/bash
# @v Start Node server when system boot
# Starts the node ChatServer when system boot up
# ADD THIS : su pi -c 'node /www/chatserver/index.js < /dev/null &'
# TO: /etc/rc.local
echo "su pi -c 'node /www/chatserver/index.js < /dev/null &'" >> /etc/rc.local