Skip to content

Instantly share code, notes, and snippets.

View Sharifur's full-sized avatar
🎯
Focusing

Sharifur Rahman Sharifur

🎯
Focusing
View GitHub Profile
@Sharifur
Sharifur / submiline text 3 licence or key 100% working
Created April 14, 2018 05:43
submiline text 3 licence or key 100% working
—– BEGIN LICENSE —–
TwitterInc
200 User License
EA7E-890007
1D77F72E 390CDD93 4DCBA022 FAF60790
61AA12C0 A37081C5 D0316412 4584D136
94D7F7D4 95BC8C1C 527DA828 560BB037
D1EDDD8C AE7B379F 50C9D69D B35179EF
2FE898C4 8E4277A8 555CE714 E1FB0E43
D5D52613 C3D12E98 BC49967F 7652EED2
@RuGa
RuGa / massInsertOrUpdate.php
Last active April 12, 2024 16:54
Mass (bulk) insert or update on duplicate for Laravel 4/5
/**
* Mass (bulk) insert or update on duplicate for Laravel 4/5
*
* insertOrUpdate([
* ['id'=>1,'value'=>10],
* ['id'=>2,'value'=>60]
* ]);
*
*
* @param array $rows
@joeyz
joeyz / wp_dynamic_sidebar.php
Created March 30, 2015 02:51
WP dynamic sidebar
//Goes in Functions.php
// Widgetized Sidebar
function lavish_widgets_init() {
register_sidebar( array(
'name' => 'left sidebar',
'id' => 'left_sidebar',
'before_widget' => '<div>',
'after_widget' => '</div>',
'before_title' => '<h2 class="rounded">',
@bgallagh3r
bgallagh3r / functions.php
Created January 21, 2014 19:21
Custom Excerpt class for Wordpress.
/*
|--------------------------------------------------------------------------
| Custom Excerpt
|--------------------------------------------------------------------------
*/
class Excerpt {
// Default length (by WordPress)
public static $length = 55;
@dompascal
dompascal / css-structure-with-media-queries.css
Created November 23, 2013 10:56
CSS - Structure with Media Queries
/* fonts */
/* ------------------------------------------------------------------------- */
/* reset */
/* ------------------------------------------------------------------------- */
@import url('css/reset.css');
@import url('css/normalize.min.css');
@petenelson
petenelson / custom-permalink-from-meta.php
Created November 5, 2012 21:32
WordPress permalink for custom post type based on post meta