What do you want to save?
Add Code snippet
New code examples
-
C# 2022-03-19 19:40:16
how to convert a key state to a letter in monogame
private string text = string.Empty; protected override void Update(GameTime gameTime) { KeyboardState keyboardState = Keyboard.GetState(); Keys[] keys = keyboardState.GetPressedKeys(); // Get an array of all the pressed keys.... Add solution -
Other 2022-03-19 11:00:14
woocommerce custom payment process method
function process_payment( $order_id ) { global $woocommerce; $order = new WC_Order( $order_id ); // Mark as on-hold (we're awaiting the cheque) $order->update_status('on-hold', __( 'Awaiting cheque payment', 'woocommerce' )); // R... Add solution -
SQL 2022-03-18 05:45:27
oracle sql trigger after insert
-- SQL Server (update my_table2 after insert on my_table1) CREATE TRIGGER trigger_name ON my_table1 FOR INSERT AS BEGIN UPDATE my_table2 SET my_col_date = getdate() FROM my_table1 END -- Oracle (insert into log table after update on my_table) CREATE ... Add solution -
Other 2022-03-18 04:50:01
woocommerce create coupon programmatically
/** * Create a coupon programatically */ $coupon_code = 'UNIQUECODE'; // Code $amount = '10'; // Amount $discount_type = 'fixed_cart'; // Type: fixed_cart, percent, fixed_product, percent_product $coupon = array( 'post_title' => $coupon_code, 'post_co... Add solution -
SQL 2022-03-18 03:30:17
search all database tables for a value sqlserver
DECLARE @SearchStr nvarchar(100) SET @SearchStr = '## YOUR STRING HERE ##' -- Copyright © 2002 Narayana Vyas Kondreddi. All rights reserved. -- Purpose: To search all columns of all tables for a given search string -- Written by: Naraya... Add solution
Best helpers
Ranking is empty