Skip to content

Instantly share code, notes, and snippets.

View chrisgalard's full-sized avatar
💭
Hacking some stuff :)

Christian Cisneros chrisgalard

💭
Hacking some stuff :)
View GitHub Profile
@chrisgalard
chrisgalard / 01-Clickfunnels CSS Snippets.md
Last active February 20, 2023 10:18
Clickfunnels CSS Snippets

Introduction

This is a series of code snippets that will help you customize your Clickfunnels pages with CSS code.

Instructions

Each one of the files below contain different snippets of code that do specific things. Everything inside the /* and */ is a comment.

Once you find the snippet that does what you want to achieve, just copy the entire thing and paste it into your "SETTINGS > CUSTOM CSS" in your funnel step.

@chrisgalard
chrisgalard / newUser.md
Last active June 23, 2023 09:52
Creating user with SSH access in Linux

#Creating a new user with SSH access in Linux

##1. Log in as root ssh root@SERVER_IP_ADDRESS

##2. Create a new user adduser username

##3. Add the newly created user to the sudo group gpasswd -a username sudo

@chrisgalard
chrisgalard / append.js
Last active July 4, 2016 17:54
A method to easily append a child with attributes and content to an element
Node.prototype.append = function(element, content, attribs) {
if (typeof element === 'string') {
element = document.createElement(element);
element.innerHTML = content ? content : '';
}
for (var attrib in attribs) {
if (attribs.hasOwnProperty(attrib)) {
element.setAttribute(attrib, attribs[attrib]);
}