Skip to content

Instantly share code, notes, and snippets.

@JacobDB
JacobDB / inline-svg-function.scss
Created January 26, 2017 17:45 — forked from B-iggy/inline-svg-function.scss
Inline SVG function [SASS]
// Replace letters
@function str-replace($string, $search, $replace: '') {
$index: str-index($string, $search);
@if $index {
@return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace);
}
@return $string;
}
@Bernix01
Bernix01 / pm.py
Created September 6, 2018 23:06
Paymentez Toolbox
import os
import requests
import sys
import pprint
'''
Description:
Allows to list and delete user pm cards using Paymentez API. For development testing purposes only.
Usage:
Make sure you have requests installed with pip install requests.