Skip to content

Instantly share code, notes, and snippets.

View kvnol's full-sized avatar

Kevin Oliveira kvnol

View GitHub Profile
@kvnol
kvnol / gulpfile.js
Created June 17, 2021 14:28
Exemplo de arquivo gulpfile
'use strict';
// Dependencies
const { gulp, series, parallel, src, dest, watch } = require('gulp');
const concat = require('gulp-concat');
const babel = require('gulp-babel');
const uglify = require('gulp-uglify');
const sass = require('gulp-sass');
const sourcemaps = require('gulp-sourcemaps');
<h2>Headings</h2>
<h1>Header one</h1>
<h2>Header two</h2>
<h3>Header three</h3>
<h4>Header four</h4>
<h5>Header five</h5>
<h6>Header six</h6>
<h2>Blockquotes</h2>
<p>Single line blockquote:</p>
<blockquote><p>Stay hungry. Stay foolish.</p></blockquote>
@import "./info";
.dd-m-post {
// margin-top: rem(27px);
margin-bottom: rem(27px);
@media (min-width: $tablet) {
// margin-top: rem(55px);
margin-bottom: rem(55px);
}
@kvnol
kvnol / _rem.scss
Created October 28, 2021 19:07
rem sass mixin
$rem-baseline: 16px !default;
$rem-fallback: false !default;
$rem-px-only: false !default;
@use 'sass:math';
@function rem-separator($list, $separator: false) {
@if $separator== 'comma' or $separator== 'space' {
@return append($list, null, $separator);
}
:root {
--ion-color-primary: #0053d4;
--ion-color-primary-rgb: 0, 83, 212;
--ion-color-primary-contrast: #ffffff;
--ion-color-primary-contrast-rgb: 255, 255, 255;
--ion-color-primary-shade: #003b9c;
--ion-color-primary-tint: #0062ff;
--ion-color-secondary: #00cc99;
@kvnol
kvnol / migrating-wordpress-to-strapi.md
Last active October 15, 2024 15:31
Migrating WordPress to Strapi V4

Migrating WordPress to Strapi V4

Example using albums post type, change for your post type.

Route

/* src/api/albums/routes/01-import.js */

module.exports = {
@kvnol
kvnol / remove-arkos-dotfiles.md
Created February 6, 2024 12:38
Remove dotfiles in ArkOS Roms Folder

Open the Terminal app and type:

sudo dot_clean -mn /Volumes/SD/<console>

where /Volumes/SD is the path to your SD card and `` is the name of the console (eg: snes)