Skip to content

Instantly share code, notes, and snippets.

Avatar

JGWill jgwill

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

#todo

Create a token INstall GitHub sync in WP ...

@jgwill
jgwill / Mac OS X: Open in Visual Studio Code
Created Oct 15, 2018 — 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
View Mac OS X: Open in Visual Studio 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 / mac-os-x-mysql-install.sh
Created Oct 17, 2018
@stcgoal install mysql client on Mac OS x and Access thru command line
View mac-os-x-mysql-install.sh
#!/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 Oct 17, 2018
@stcgoal Run Chrome within Automator to Search selected text from anywhere on Mac OS X
View macosx-text-search-in-chrome.md

@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 Oct 17, 2018
@stcgoal Mac OS X -> Automation of Screenshots distribution for online usage as markdown tag. @stcstatus INCOMPLETED
View macosx-auto-screenshoting-prep-markdown-sketch1810171313.md

Overview Capture Shared Screenshots Process

Overview Capture Shared Screenshots Process

@jgwill
jgwill / macosx-auto-screenshoting-distributed-sketch1810171402.md
Last active Oct 17, 2018
@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 Oct 19, 2018
@stcgoal Quick Distribution of Code from within the SCOE -> Editing GIST from VSCode Experimentation
View Send2GIST-from-VSCode-README.md

@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 Oct 20, 2018
Check in PHP if a String is contained into another and return true if it does
View afelia-common-fnc.str_contain.php
/**
* 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 / NodeJS_dotNET_Integration_Program.cs
Last active Oct 22, 2018
@stcgoal 18101513 Node.JS and .NET Integrated. This grab the output from a nodejs and transform it into C# object
View NodeJS_dotNET_Integration_Program.cs
using Newtonsoft.Json;
//This grab the output from a nodejs and transform it into C# object
namespace dnc_nodejs_001
{
class Program
@jgwill
jgwill / install_linux.sh
Last active Oct 23, 2018
@stcgoal Starts a NodeJS Server when System Boot
View install_linux.sh
#!/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
You can’t perform that action at this time.