Skip to content

Instantly share code, notes, and snippets.

View ichoake's full-sized avatar

steven chaplinski ichoake

View GitHub Profile
@ichoake
ichoake / unbrew.rb
Created October 4, 2022 13:54 — forked from SteveBenner/unbrew.rb
Homebrew uninstall script
#!/usr/bin/env ruby
#
# CLI tool for locating and removing a Homebrew installation
# http://brew.sh/
#
# Copyright (C) 2014 Stephen C. Benner
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
@ichoake
ichoake / awesome-twitter-bots.md
Created October 4, 2022 12:10 — forked from derhuerst/awesome-twitter-bots.md
Awesome Twitter Bots
<!-- Modify this according to your requirement -->
<h3>
Redirecting to duckdev.com after <span id="countdown">10</span> seconds
</h3>
<!-- JavaScript part -->
<script type="text/javascript">
// Total seconds to wait
var seconds = 10;
@ichoake
ichoake / google-docs-copy.js
Created May 17, 2022 19:26 — forked from Snarp/google-docs-copy.js
Script to allow copying from a protected Google Doc
/*
<https://stackoverflow.com/questions/40296831/is-it-possible-to-force-a-copy-of-a-protected-google-doc>
NOTE - 2021-05-24
-----------------
The script below isn't the fastest way to copy-and-paste from a protected
Google Doc. Before trying it, I'd suggest following MikoFrosty's advice from
the comments:
@ichoake
ichoake / class-naming-convention.md
Created May 17, 2022 19:25 — forked from whizark/class-naming-convention.md
HTML/CSS Class Naming Convention #html #css #sass
@ichoake
ichoake / 00-New setup.md
Created May 17, 2022 19:23 — forked from cderv/00-New setup.md
New computer setup
# installed by winget
winget install PowerShell-Preview
winget install git
git config --global user.name "Christophe Dervieux"
git config --global user.email christophe.dervieux@gmail.com
winget install rstudio
winget install vscode
winget install -e R
winget install Github.GithubDesktop
@ichoake
ichoake / Github Webhook Tutorial.md
Created May 17, 2022 19:22 — forked from jagrosh/Github Webhook Tutorial.md
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings
diff --git a/lib/Frontend/InitHeaderSearch.cpp b/lib/Frontend/InitHeaderSearch.cpp
index 3691adf..cf3c3a7 100644
--- a/lib/Frontend/InitHeaderSearch.cpp
+++ b/lib/Frontend/InitHeaderSearch.cpp
@@ -353,6 +353,9 @@ AddDefaultCPlusPlusIncludePaths(const llvm::Triple &triple, const HeaderSearchOp
case llvm::Triple::ppc:
case llvm::Triple::ppc64:
+ AddGnuCPlusPlusIncludePaths("/usr/local/lib/c++/v1",
+ "i686-apple-darwin10", "", "ppc64",
@ichoake
ichoake / current_selected_installed_xcode.md
Created April 16, 2022 23:29 — forked from dive/current_selected_installed_xcode.md
How to get the current selected Xcode and list installed

How to get the current selected Xcode and list installed

Current Selected Xcode

xcode-select

This is the most common way to get the path to the selected instance:

xcrun xcode-select --print-path

Live Transcoding

This is a collection of working commandline examples to show how one could use FFMpeg and VLC for live transcoding of video streams. All examples have been tested on OSX 10.7.5 with FFMPeg 1.1.3 and VLC 2.0.5 in early 2013.

Documentation links