Skip to content

Instantly share code, notes, and snippets.

View TomiToivio's full-sized avatar
👽
LaclauGPT!

Tomi Toivio TomiToivio

👽
LaclauGPT!
View GitHub Profile

Keybase proof

I hereby claim:

  • I am tomitoivio on github.
  • I am tomi (https://keybase.io/tomi) on keybase.
  • I have a public key ASBqguDRmCCyHcVHLe3HStKzVodCGvZHNNF1sauwa8iPEAo

To claim this, I am signing this object:

@TomiToivio
TomiToivio / gist:009c22781d260bd392aefbd8a2169ef0
Created March 6, 2018 23:22 — forked from corsonr/gist:9152652
WooCommerce : add custom fields to product variations
<?php
//Display Fields
add_action( 'woocommerce_product_after_variable_attributes', 'variable_fields', 10, 3 );
//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', 'save_variable_fields', 10, 1 );
/**

Keybase proof

I hereby claim:

  • I am TomiToivio on github.
  • I am tomi (https://keybase.io/tomi) on keybase.
  • I have a public key whose fingerprint is 4857 DF2D B5F1 22E9 D77D 2A26 C49F 94FA 5C95 6101

To claim this, I am signing this object:

Verifying that +tomitoivio is my blockchain ID. https://onename.com/tomitoivio
@TomiToivio
TomiToivio / dabblet.css
Created June 16, 2016 10:31
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
@TomiToivio
TomiToivio / tulostinkartta.php
Last active May 23, 2016 15:36
Tulostinkartta
<?php
/*
Plugin Name: 3D-Tarvike Tulostinkartta
Plugin URI: http://tulostimet.3d-tarvike.fi/
Description: 3D-Tarvike Tulostinkartta
Version: 1.0
Author: Tomi Toivio
Author URI: http://sange.fi/
License: GPL2
*/
@TomiToivio
TomiToivio / tulostinkartta.php
Last active May 23, 2016 15:31
Tulostinkartta
<?php
/*
Plugin Name: 3D-Tarvike Tulostinkartta
Plugin URI: http://tulostimet.3d-tarvike.fi/
Description: 3D-Tarvike Tulostinkartta
Version: 1.0
Author: Tomi Toivio
Author URI: http://sange.fi/
License: GPL2
*/
@TomiToivio
TomiToivio / oxygen.po
Created May 5, 2016 08:28
WordPress-teema Oxygen suomeksi
msgid ""
msgstr ""
"Project-Id-Version: Oxygen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-03-06 18:28+0200\n"
"PO-Revision-Date: Thu May 05 2016 11:26:30 GMT+0300 (FLE Daylight Time)\n"
"Last-Translator: Tomi Toivio <[email protected]>\n"
"Language-Team: \n"
"Language: Finnish\n"
"Plural-Forms: nplurals=2; plural=n != 1\n"
@TomiToivio
TomiToivio / test.stl
Created January 16, 2015 05:28
STL-testi
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@TomiToivio
TomiToivio / testi.stl
Created November 19, 2014 04:17
STL-testi
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.