Skip to content

Instantly share code, notes, and snippets.

@SkyyySi
SkyyySi / youtube-vanced-alternatives.md
Last active May 16, 2024 00:01
A list of alternatives after the shutdown of Vanced

NONE OF THESE CLIENTS ARE VERIFIED BY ME FOR SECURITY OR ANYTHING ELSE! USE AT YOUR OWN RISK!

These are the current alternatives (with links when possible):

@phpmypython
phpmypython / permissionset.sh
Last active December 24, 2016 06:27
WordPress Permissions
find . -type f -name "wp-config-sample.php" -o -name "readme.html" -o -name "README.txt" -o -wholename "wp-admin/install.php" -exec rm -f {} \; &&
find . -type d -exec chmod 0755 {} \; &&
find . -type f -exec chmod 0755 {} \; &&
find . -name "wp-config.php" -exec chmod 600 {} \;
@seanuk
seanuk / Standard Terms & Conditions.md
Last active April 16, 2023 02:24
My standard terms & conditions for web projects. Together with a signed project proposal it forms a working agreement. Includes bits borrowed from https://gist.github.com/malarkey/4031110 & https://gist.github.com/maban/6098135

Standard Terms & Conditions

The following terms and conditions, together with a signed project proposal, form an agreement that is intended to protect both parties, and is no way meant to trick or deceive you. We have tried to keep the wording as plain as possible, but if anything is unclear we will be more than happy to clarify it with you.

In short, [CLIENT COMPANY] (referred to herein as “you”) is engaging SJD Digital (referred to herein as “us” & “we”), to undertake the work as specified in the attached proposal, and under the requirements of these terms and conditions.

Deadlines

We will do our best to meet all agreed deadlines. You agree to review our work and provide feedback and approval in a timely manner. You accept that delays in supplying required information or materials may result in longer delays to the delivery of the finished work.

@maban
maban / Maban Website Contract.md
Last active May 18, 2024 02:21 — forked from malarkey/Contract Killer 3.md
My boilerplate contract

Website Contract [month] [year]

Description of this Contract

This contract is not meant to trick or deceive you; the intention is purely to protect both parties. I have tried to keep the wording as plain as possible, but if anything is unclear, please let me know and I will be more than happy to clarify it with you. Also, until you sign it, please feel free to request to change bits of it to suit your requirements.

In short, [client name] is contracting me, [my name], to [description of my role] between [start date and finish date].

By signing this, you are confirming that you have the power and ability to enter into this contract on behalf of [client's company].

@bitchwhocodes
bitchwhocodes / gist:5840934
Created June 22, 2013 13:51
Foursquare api using JS - accessing endpoints that don't require authorization. Requires jquery
var Foursquare = function () {
/*
Please register a client/app with foursquare ( https://developer.foursquare.com)
and put the client id and secret in the apiglobals.js
NOTE: Didn't want to use require for this, but it would be easy to port it
and have its required dependancies be Jquery and apiglobals.js
*/
var init = function (client_id,client_secret) {
@ntwb
ntwb / Vanilla.php
Last active December 11, 2015 17:18 — forked from brokentwig/Vanilla2.php
<?php
/**
* Implementation of Vanilla 2.0.18.1 Converter
*
* @since bbPress (r4717)
* @link Codex Docs http://codex.bbpress.org/import-forums/vanilla
*/
class Vanilla extends BBP_Converter_Base {
<?php
/**
* Vanilla 2.0.18.1 Converter
*
* @since bbPress (rxxxx)
*/
class Vanilla2 extends BBP_Converter_Base {
/**
@malarkey
malarkey / Contract Killer 3.md
Last active May 17, 2024 15:28
The latest version of my ‘killer contract’ for web designers and developers

When times get tough and people get nasty, you’ll need more than a killer smile. You’ll need a killer contract.

Used by 1000s of designers and developers Clarify what’s expected on both sides Helps build great relationships between you and your clients Plain and simple, no legal jargon Customisable to suit your business Used on countless web projects since 2008

…………………………

@getsource
getsource / WP_Bag_of_Tricks.txt
Created October 26, 2011 21:07 — forked from boogah/WP_Bag_of_Tricks.txt
Things I've learned by being DreamHost's resident WordPress nerd.
WP Bag of Tricks
1. Helpful Scripts/Plugins:
Hacks:
http://wordpress.org/extend/plugins/tac/
http://wordpress.org/extend/plugins/exploit-scanner/ (Can be extremely resource intensive.)
http://wordpress.org/extend/plugins/wp-malwatch/
@matoakley
matoakley / gist:1092571
Created July 19, 2011 14:38
MySQL to convert a string into a slug
LOWER(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(TRIM('My String'), ':', ''), ')', ''), '(', ''), ',', ''), '\\', ''), '\/', ''), '\"', ''), '?', ''), '\'', ''), '&', ''), '!', ''), '.', ''), ' ', '-'), '--', '-'), '--', '-')) AS `post_name`