Skip to content

Instantly share code, notes, and snippets.

View frankwrk's full-sized avatar
🏠
Working

Francisc Furdui frankwrk

🏠
Working
View GitHub Profile
@frankwrk
frankwrk / elementor-widget.php
Created November 8, 2023 13:34 — forked from igorbenic/elementor-widget.php
Ultimate Guide for JavaScript in Elementor Widgets
<?php
/**
* Plugin Name: Elementor Widget
* Text Domain: elementor-widget
* Domain Path: /languages
* Version: 0.1.0
*
* @package Elementor_Widget
*/
@frankwrk
frankwrk / days-messages-widget.php
Created November 8, 2023 13:34 — forked from damiencarbery/days-messages-widget.php
Elementor Days Widget - Display different text based on the day of the week. https://www.damiencarbery.com/2023/10/custom-elementor-widget-daily-text/
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
// Elementor DaysMessages Widget - Elementor widget that displays different text based on the day of the week.
class Elementor_DaysMessages_Widget extends \Elementor\Widget_Base {
// Set widget internal name.
public function get_name() {
// create a bookmark and use this code as the URL, you can now toggle the css on/off
// thanks+credit: https://dev.to/gajus/my-favorite-css-hack-32g3
javascript: (function() {
var elements = document.body.getElementsByTagName('*');
var items = [];
for (var i = 0; i < elements.length; i++) {
if (elements[i].innerHTML.indexOf('* { background:#000!important;color:#0f0!important;outline:solid #f00 1px!important; background-color: rgba(255,0,0,.2) !important; }') != -1) {
items.push(elements[i]);
}
}
@frankwrk
frankwrk / Contract Killer 3.md
Created May 17, 2019 01:52
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post

Verifying my Blockstack ID is secured with the address 1LDt62WaCYeoscJiiryyi7pFnXtPTZ2aPX https://explorer.blockstack.org/address/1LDt62WaCYeoscJiiryyi7pFnXtPTZ2aPX

Keybase proof

I hereby claim:

  • I am skyrol on github.
  • I am twosix (https://keybase.io/twosix) on keybase.
  • I have a public key whose fingerprint is E234 0C26 905F 71B5 33BB D9F1 CD92 4730 B36B 98CD

To claim this, I am signing this object:

1. Clone your fork:

git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
@frankwrk
frankwrk / index.html
Created November 7, 2017 16:54 — forked from CodeMyUI/index.html
Split Slick Slideshow
<!--
Follow me on
Dribbble: https://dribbble.com/supahfunk
Twitter: https://twitter.com/supahfunk
Codepen: https://codepen.io/supah/
-->
<div class="split-slideshow">
<div class="slideshow">

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: