Skip to content

Instantly share code, notes, and snippets.

View nandaleite's full-sized avatar

Fernanda Leite nandaleite

  • Brazil
  • 11:45 (UTC -03:00)
View GitHub Profile
@jimmywarting
jimmywarting / readme.md
Last active March 16, 2026 15:25
Cors proxies
Exposed headers
Service SSL status Response Type Allowed methods Allowed headers
@hayleox
hayleox / deploy.php
Last active April 16, 2025 07:58
Script used to automatically deploy from GitHub to a cPanel shared hosting server
<?php
/**
* deploy.php by Hayden Schiff (oxguy3)
* Available at https://gist.github.com/oxguy3/70ea582d951d4b0f78edec282a2bebf9
*
* No rights reserved. Dedicated to public domain via CC0 1.0 Universal.
* See https://creativecommons.org/publicdomain/zero/1.0/ for terms.
*/
// random string of characters; must match the "Secret" defined in your GitHub webhook
@Venugopal155
Venugopal155 / html_share_buttons.html
Last active April 13, 2022 15:22
Pure HTML Share Buttons
<h3>Pure HTML Share Buttons</h3>
<!-- Social Button HTML -->
<!-- Twitter -->
<a href="http://twitter.com/share?url=<URL>&text=<TEXT>&via=<VIA>" target="_blank" class="share-btn twitter">
<i class="fa fa-twitter"></i>
</a>
@topisani
topisani / gulpfile.js
Last active September 16, 2022 18:23
Gulp build script to build sass and upload to an ftp server. has a watch task.
// Web build script. Builds sass and uploads to an ftp server.
// Place source to be uploaded in a folder next to the script called src.
// Sass file is src/sass/style.scss and will become src/css/style.css
// will upload all files to the specified root
// Configuration for script
var config = {
host: 'example.com',
user: 'user',
password: 'fish123',
root: '/public_html'
@cvieth
cvieth / Shopify-Checkout-Hack.js
Last active May 20, 2023 09:51
Shopify Checkout Hack - This scipt helps to modify the Shopify Checkout Pages
/**
* Shopify Checkout Hack
*
* This scipt helps to modify the Shopify Checkout Pages. To run this script, add your
* code for each checkout step, compress your code with a tool of your choice and paste
* it to:
*
* Admin > General > Google Analytics > Additional Google Analytics Javascript
*
* @author Christoph Vieth <christoph@vieth.me>
@chrisjhoughton
chrisjhoughton / fb-open-graph.liquid
Last active February 10, 2025 17:27
Facebook Open Graph meta tags for Shopify. Add this as a snippet called "fb-open-graph.liquid" in your theme, and then add {% include 'fb-open-graph' %} to your theme.liquid file.
{% if template contains 'product' %}
<meta property="og:type" content="product">
<meta property="og:title" content="{{ product.title | strip_html | escape }}">
<meta property="og:category" content="{{ product.type }}" />
{% for image in product.images limit:3 %}
<meta property="og:image" content="http:{{ image.src | product_img_url: 'master' }}">
<meta property="og:image:secure_url" content="https:{{ image.src | product_img_url: 'master' }}">
{% endfor %}
<meta property="og:price:amount" content="{{ product.price | money_without_currency | stip_html | escape | remove: ',' }}">
<meta property="og:price:currency" content="{{ shop.currency }}">
@joyrexus
joyrexus / README.md
Last active February 23, 2026 21:20 — forked from liamcurry/gist:2597326
Vanilla JS equivalents of jQuery methods

Sans jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})