This is allowed for ReactNative apps. Source
AppHub.io is one option, open source coming soon.
$(function () { | |
"use strict"; | |
// for better performance - to avoid searching in DOM | |
var content = $('#content'); | |
var input = $('#input'); | |
var status = $('#status'); | |
// my color assigned by the server | |
var myColor = false; |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
##Create an alias to MAMP's PHP installation
To do this, we can simply create an alias for our bash profile. We'll be doing this is nano, though you can do it in vim or a number of other editors as well.
Within the terminal, run:
nano ~/.bash_profile
This will open nano with the contents, at the top in a blank line add the following line:
http://uploads.makevoid.com/jquery_dom_highlighter.html |
import os | |
from PIL import Image | |
def extractFrames(inGif, outFolder): | |
frame = Image.open(inGif) | |
nframes = 0 | |
while frame: | |
frame.save( '%s/%s-%s.gif' % (outFolder, os.path.basename(inGif), nframes ) , 'GIF') | |
nframes += 1 |
transmission-cli
for the torrent client, and nginx
to serve files.seedbox-setup.sh
present in the current directory.worker_processes 2; | |
error_log /var/log/nginx/error.log; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 1024; | |
use epoll; | |
} |
var communityName = Settings.get('title','Telescope'), | |
emailSubject = 'You are invited to try '+communityName, | |
route = user ? Telescope.utils.getSigninUrl() : Telescope.utils.getSignupUrl(), // this the line I added | |
emailProperties = { | |
newUser : typeof user === 'undefined', | |
communityName : communityName, | |
actionLink : Telescope.utils.getSiteUrl() + route, // site url + route depending if the user already have an account or not | |
invitedBy : Users.getDisplayName(currentUser), | |
profileUrl : Users.getProfileUrl(currentUser) | |
}; |
//Display Fields | |
add_action( 'woocommerce_product_after_variable_attributes', 'variable_fields', 10, 2 ); | |
//JS to add fields for new variations | |
add_action( 'woocommerce_product_after_variable_attributes_js', 'variable_fields_js' ); | |
//Save variation fields | |
add_action( 'woocommerce_process_product_meta_variable', 'variable_fields_process', 10, 1 ); | |
function variable_fields( $loop, $variation_data ) { | |
?> | |
<tr> |