Skip to content

Instantly share code, notes, and snippets.

View CharlyJazz's full-sized avatar
🧭
I may be slow to respond.

CharlyJazz

🧭
I may be slow to respond.
View GitHub Profile
@CharlyJazz
CharlyJazz / style.css
Last active March 2, 2021 18:45
Possible reset styles
body,
h1, h2, h3, h4, h5, h6,
dl, dd, ol, ul,
form, fieldset, legend {
margin: 0;
padding: 0;
}
ol, ul {
list-style: none;
@CharlyJazz
CharlyJazz / app.js
Last active December 22, 2017 11:50
Adding Region - Marionette
const User = Backbone.Model.extend({
defaults: {
is_user: false
}
});
// Array of types of users
const models = [new User({is_user: true}), new User({is_admin: true}), new User()]
Set-Cookie: __Host-sess=id123; path=/; Secure; HttpOnly; SameSite
@CharlyJazz
CharlyJazz / http.txt
Created December 29, 2017 22:56
token response
4. Example Access Token Response
Typically, a bearer token is returned to the client as part of an
OAuth 2.0 [RFC6749] access token response. An example of such a
response is:
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Cache-Control: no-store
Pragma: no-cache
@CharlyJazz
CharlyJazz / index.html
Created March 15, 2018 23:37
Modal with you tube video
<?php get_header();
/*
Template Name: Testimonios
*/
$args = [
'post_type' => 'testimonials',
'order' => 'ASC',
'posts_per_page' => -1
];
@CharlyJazz
CharlyJazz / GPG2
Last active September 4, 2018 00:44
$ gpg2 --list-keys --keyid-format LONG/home/charlyjazz/.gnupg/pubring.gpg
-----------------------------------
pub rsa1024/<ESTE ES> 2018-06-27 [SC]
uid [ultimate] Carlos Azuaje (Good Stuff) <[email protected]>
sub rsa1024/<GLUP GLUP GLUP> 2018-06-27 [E]
$ gpg2 --armor --export <ESTE ES>
COPIAR LO QUE SALE
{
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
"bracketPairColorizer.forceIterationColorCycle": true,
"window.zoomLevel": -1,
"eslint.packageManager": "yarn",
"editor.formatOnSave": true,
"editor.detectIndentation": true,
"editor.fontSize": 16,
"editor.snippetSuggestions": "top",