Skip to content

Instantly share code, notes, and snippets.

View frankstallone's full-sized avatar

Frank Stallone frankstallone

View GitHub Profile
@naveenkrdy
naveenkrdy / AdobeAMDFix.md
Last active February 17, 2025 21:51
To fix adobe products crashes on AMD hackintosh

Adobe Crash Fix XLNC

Instructions

  1. Install needed adobe apps from adobe creative cloud.

  2. Open Terminal.

  3. Copy-paste the below command to your terminal and run it (enter password when asked).

@1Marc
1Marc / python-setup.md
Last active March 19, 2019 14:47
Intro to Python Installation Instructions

Installing the prereqs for Linux and Mac should be quick, but it'll take more time for Windows users, as they'll have to install wsl and download a few additional packages.

For Linux / Mac:

@zthxxx
zthxxx / Activate Office 2019 for macOS VoL.md
Last active April 19, 2025 13:27
crack activate Office on mac with license file
@bsradcliffe
bsradcliffe / set_proxy.sh
Last active May 4, 2016 14:15 — forked from manekinekko/set_proxy.sh
Toggling Proxy Settings for Git, NPM, Bower and Package Control (Mac OS X) automatically
#! /bin/sh
# Configure the below variables with your respective Keychain and proxy information
# Grabs your user password from Keychain
export SECRET="`security find-generic-password -w -s <PASSWORD_PROFILE>`"
AUTH="$USER:$SECRET"
PROXY='<http://PROXY:PORT>'
AUTH_PROXY=<'http://'$AUTH'@PROXY:PORT>'
if [ "$1" == "on" ]; then
@bendc
bendc / recursion.js
Created May 21, 2015 08:17
Functional loop
const loop = (() => {
const recur = (callback, count, i=0) => {
if (i == count-1) return callback(i);
callback(i);
return recur(callback, count, i+1);
};
return (callback, count) => {
if (count > 0) return recur(callback, count);
};
})();
@dreikanter
dreikanter / emberjs-cheat-sheet.md
Last active December 11, 2023 05:01
Ember.js Cheat Sheet

Core concepts

Model

  • An object that stores data (data persistance layer abstraction).
  • Templates transforms models into HTML.
  • Same thing as Rails model.

Template

@renventura
renventura / remove-divi-project-post-type.php
Last active January 30, 2025 20:28
Remove the Projects Post Type from Divi by Elegant Themes
<?php //* Mind this opening php tag
/**
* This will hide the Divi "Project" post type.
* Thanks to georgiee (https://gist.github.com/EngageWP/062edef103469b1177bc#gistcomment-1801080) for his improved solution.
*/
add_filter( 'et_project_posttype_args', 'mytheme_et_project_posttype_args', 10, 1 );
function mytheme_et_project_posttype_args( $args ) {
return array_merge( $args, array(
'public' => false,
@mhayes
mhayes / README.md
Last active December 20, 2015 13:48
Using jQuery noConflict mode

Enabling noConflict mode

Using a default Foundation 5 download you'll see some code like this in your index.html file:

<script src="bower_components/jquery/jquery.js"></script>
<script src="bower_components/foundation/js/foundation.min.js"></script>
<script src="js/app.js"></script>
@dustinsenos
dustinsenos / gist:5294392
Created April 2, 2013 17:42
Retina Mouse Cursor Files. Below is the file location of the retina mouse cursors on OS X 10.8.3. All files are .pdfs (thanks Apple) so they should work perfectly in Photoshop, Illustrator etc.
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HiServices.framework/Versions/A/Resources/cursors