Skip to content

Instantly share code, notes, and snippets.

View gist:7bb9aa30531e4b851eb066379850535c
Install libimobiledevice on Mac OS X
So you'd like to manage your iOS devices by command line?
You can use libimobiledevice tools for that.
Easy on Linux. Let's see how it is on Mac OS X.
You'll need to:
1. install Xcode
2. start Xcode and agree to it's license
3. install Xcode command line tools (Start Xcode, Go to Preferences -> Downloads tab)
4. install homebrew by this command (sudo password will be prompted)
alphanu1 / gcc compiler optimization for arm
Created May 23, 2021 14:33 — forked from fm4dd/gcc compiler optimization for arm
GCC compiler optimization for ARM-based systems
View gcc compiler optimization for arm

GCC compiler optimization for ARM-based systems

2017-03-03 fm4dd

The gcc compiler can optimize code by taking advantage of CPU specific features. Especially for ARM CPU's, this can have impact on application performance. ARM CPU's, even under the same architecture, could be implemented with different versions of floating point units (FPU). Utilizing full FPU potential improves performance of heavier operating systems such as full Linux distributions.

-mcpu, -march: Defining the CPU type and architecture

These flags can both be used to set the CPU type. Setting one or the other is sufficient.

alphanu1 /
Created September 12, 2020 17:59 — forked from AlexMax/
Setting up RetroArch on a Raspberry Pi

Setting up RetroArch on a Raspberry Pi

I just put the finishing touches on my Raspberry Pi 3 emulation machine running RetroArch. I was not a huge fan of RetroPie due to the reliance on Emulation Station - more moving parts meant that there were more things that could potentially break. I just wanted something that would run raw RetroArch, no frills.

This tutorial is mostly recreated from memory and was most recently tested with a Raspberry Pi 3 running Raspbian Stretch and RetroArch 1.7.7. If there is a mistake or a broken link, PLEASE message me and I will fix it.

Step 1: Install Raspbian

I used Raspbian Stretch Lite from this page. Write the image to your SD card using something like Win32 Disk Imager, or if you're using OSX/Linux follow a tutorial on how to write the image using dd.

alphanu1 / .htaccess
Created March 6, 2020 13:43 — forked from ScottPhillips/.htaccess
Common .htaccess Redirects
View .htaccess
#301 Redirects for .htaccess
#Redirect a single page:
Redirect 301 /pagename.php
#Redirect an entire site:
Redirect 301 /
#Redirect an entire site to a sub folder
Redirect 301 /
View Print Bypassing Epicor Filter UI with Generic Function.cs
private void btnPrntDetail_Click(object sender, System.EventArgs args)
if (edvEnd.Row > -1)
// Set status
oTrans.PushStatusText("Production Detail Report Submitting..",true);
// Create report object
Session otSession = (Session)oTrans.Session;
JobProdDtl jobproddtl = new JobProdDtl(otSession.ConnectionPool);
alphanu1 / Customization.epicor
Created November 6, 2019 11:13 — forked from strepicor/Customization.epicor
Epicor Customization - Reference Epicor native control
View Customization.epicor
EpiUltraCombo cboTypeCode = (EpiUltraCombo)csm.GetNativeControlReference("5875b95a-4b6a-4e4c-b8c8-22ee5330ed40");
cboTypeCode.Enabled = false;