PLATAFORMAS DE PROGRAMACIÓN PARA NIÑOS
- Scratch El mas usado en Code Club / CoderDojo, programacion visual
- BitsBox, caja física con retos mensuales de programación
- Coda
- CodeSpark
- Osmo
KITS HARDWARE/SOFTWARE
import { select, subscribe } from '@wordpress/data' | |
export function whenEditorIsReady() { | |
return new Promise((resolve) => { | |
const unsubscribe = subscribe(() => { | |
// This will trigger after the initial render blocking, before the window load event | |
// This seems currently more reliable than using __unstableIsEditorReady | |
if (select('core/editor').isCleanNewPost() || select('core/block-editor').getBlockCount() > 0) { | |
unsubscribe() | |
resolve() |
#!/usr/bin/env bash | |
cd $(dirname $0) | |
docker run --rm -it -v "$(pwd)":/home/rust/src -v cargo-git:/home/rust/.cargo/git -v cargo-registry:/home/rust/.cargo/registry -v "$(pwd)/target/":/home/rust/src/target ekidd/rust-musl-builder:nightly-2021-01-01 sudo chown -R rust:rust /home/rust/.cargo/git /home/rust/.cargo/registry /home/rust/src/target | |
docker run --rm -it -v "$(pwd)":/home/rust/src -v cargo-git:/home/rust/.cargo/git -v cargo-registry:/home/rust/.cargo/registry -v "$(pwd)/target/":/home/rust/src/target ekidd/rust-musl-builder:nightly-2021-01-01 cargo build --release |
<? | |
$results = [ | |
'id' => 'abc123', | |
'address.id' => 'def456', | |
'address.coordinates.lat' => '12.345', | |
'address.coordinates.lng' => '67.89', | |
'address.coordinates.geo.accurate' => true, | |
]; |
name: remadeagency | |
recipe: wordpress | |
config: | |
webroot: . | |
events: | |
post-db-import: | |
# Set PROD_URL and DEV_URL values in .env file |
ffmpeg -i in.mkv -f srt -i in.srt -map 0:0 -map 0:1 -map 1:0 -c:v copy -c:a copy -c:s srt out.mkv |
#!/bin/bash | |
uuser="unsplash_user_name" | |
path="path/to/dir" | |
size=$(xdpyinfo | grep dimensions | awk '{print $2}') | |
curl "https://source.unsplash.com/user/$uuser/$size" --location --output $path/unsplash-random.jpeg | |
gsettings set org.gnome.desktop.background picture-uri file://$path/unsplash-random.jpeg |
<?php | |
/* | |
* Plugin Name: Cancel Unpaid Bookings | |
* Author: WooThemes | |
* Description: Allows booking orders to be canceled by the cancel unpaid orders cron job. | |
*/ | |
// woocommerce-cancel-unpaid-bookings.php | |
function woocommerce_cancel_unpaid_booking_orders_from_admin( $return, $order ) { |
<?php | |
/** | |
* Filter fixing term slug for WPML plugin | |
* always (!) removes -{language code} (including repetitions like "-de-de-de") from the end of the slug before it is saved in the database and after WPML modified the slug. | |
* Note that this will always happen, even if you typed in the language code yourself in the input. | |
* The function will not strip combinations of different language codes like "-de-en-de" (this would certainly result in "-de-en"). | |
* | |
* @author Jannik Portz (@janizde) | |
* @param string $slug The slug coming from WPML_Term_Translations::pre_term_slug_filter | |
* @return string The slug without language codes at the end |