Skip to content

Instantly share code, notes, and snippets.

@mhdhejazi
mhdhejazi / CopyAsanaTasks.php
Created October 24, 2012 16:43
Copy/Move project to a new workspace in Asana
function asanaRequest($methodPath, $httpMethod = 'GET', $body = null)
{
$apiKey = 'ASANA_API_KEY_HERE'; /// Get it from http://app.asana.com/-/account_api
$url = "https://app.asana.com/api/1.0/$methodPath";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC ) ;
curl_setopt($ch, CURLOPT_USERPWD, $apiKey);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
@claudiosanches
claudiosanches / woocommerce-installments-example.php
Last active October 12, 2022 19:03
WooCommerce - Displays the price in 3 installments without interest.
<?php
/**
* Plugin Name: WooCommerce Installments Example
* Plugin URI: http://claudiosmweb.com/
* Description: Added the price with 3 installments without interest.
* Author: claudiosanches
* Author URI: http://www.claudiosmweb.com/
* Version: 1.0
* License: GPLv2 or later
*/
@diego898
diego898 / rd.md
Last active October 13, 2020 21:18
Enable Concurrent Remote Desktop Users in Windows 8.1 x64

thanks to @neurodyne and this link for updated instructions

This works with the following versions of termsrv.dll

x64 - termsrv.dll - 6.3.9600.17095

Find Replace
39813C0600000F849E310500 B80001000089813806000090
090085C07F078BD8 090085C090908BD8
@barbwiredmedia
barbwiredmedia / functions.php
Last active February 23, 2023 23:55
Wordpress SEO Yoast Order meta box. This will change the priority of Yoasts meta box and move it to the bottom of all pages / posts.
// Move Yoast Meta Box to bottom
function yoasttobottom() {
return 'low';
}
add_filter( 'wpseo_metabox_prio', 'yoasttobottom');
@yamalight
yamalight / README.md
Last active January 13, 2023 11:18
Feedly Colorful Listview
@yamalight
yamalight / flowread-colorful-listview.user.js
Last active January 1, 2018 16:24
Flowreader Colorful Listview
// ==UserScript==
// @name Flowreader Colorful Listview
// @namespace http://flowreader.colorful.list.view
// @description Colorizes items headers based on their source
// @include http*://flowreader.com/*
// @version 0.2.0
// @grant GM_addStyle
// ==/UserScript==
const colors = {};
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active July 28, 2024 21:51 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy
@ihorduchenko
ihorduchenko / All-in-One WP Migration unlimit
Created August 11, 2017 08:27
Removing the 512MB size limit on All-in-One WP Migration Plugin
Path:
/wp-content/plugins/all-in-one-wp-migration/constants.php
Change this block:
// =================
// = Max File Size =
// =================
define( 'AI1WM_MAX_FILE_SIZE', 536870912 );
@miguelmota
miguelmota / remove_tuxera.sh
Last active May 26, 2024 20:00
Completely uninstall and remove Tuxera NTFS on MacOS (resets trial version)
sudo rm -rf /Applications/Tuxera\ Disk\ Manager.app
sudo rm -rf /Library/Application\ Support/Tuxera\ NTFS
sudo rm -rf /Library/Filesystems/fusefs_txantfs.fs
@prwhite
prwhite / feedly-colorful-list-view.user.js
Last active May 15, 2020 21:10 — forked from yamalight/README.md
Feedly Colorful Listview [more subtle colors]
// ==UserScript==
// @name Feedly Colorful Listview
// @namespace http://feedly.colorful.list.view
// @description Colorizes items headers based on their source
// @include http*://feedly.com/*
// @include http*://*.feedly.com/*
// @version 0.8.9
// @grant GM_addStyle
// ==/UserScript==