Skip to content

Instantly share code, notes, and snippets.

Avatar
🚀
....

Peter Jausovec peterj

🚀
....
View GitHub Profile
@peterj
peterj / smaller-profile-section.css
Last active Nov 30, 2020
Makes the profile header section smaller
View smaller-profile-section.css
.creator-profile-card {
max-width: 50%;
margin-left: auto;
margin-right: auto;
}
@peterj
peterj / follow-user-button-input.css
Created Nov 30, 2020
Add a margin between email input and subscribe button (Gumroad)
View follow-user-button-input.css
.follow-user-form button {
transition: border-radius 1.5s cubic-bezier(.23,1.5,.32,1);
box-shadow: none;
margin-left: 15px;
border-radius: 5px;
display: inline-block;
position: relative;
height: 50px;
min-width: 50px;
vertical-align: top;
View index.js
const express = require('express');
const bodyParser = require('body-parser');
const app = express();
app.use(bodyParser.json());
const { Region } = require('oracle-nosqldb');
const { ServiceType } = require('oracle-nosqldb/lib/constants');
const NoSQLClient = require('oracle-nosqldb').NoSQLClient;
View colors.json
[
{
"name": "gray",
"values": [
{
"name": "gray-100",
"value": "#f7fafc"
},
{
"name": "gray-200",
View gradient.json
{
"name": "red-400-red-800-0-white",
"tokens": [
{
"name": "%GRADIENT_START%",
"value": "#fc8181"
},
{
"name": "%GRADIENT_END%",
"value": "#9b2c2c"
View values.json
{
"name": "red-100-black",
"tokens": [
{
"name": "%BG_COLOR%",
"value": "#FFF5F5"
},
{
"name": "%TEXT_COLOR%",
"value": "#000"
View temp1.js
name: 'default',
template: `.product-price-tag%TAG% {
background: %BG_COLOR% !important;
color: %TEXT_COLOR%;
}
.product-price-tag%TAG%:before {
border-right-color: %BG_COLOR% !important;
color: %TEXT_COLOR%;
}
View temp1.js
name: 'default',
template: `.product-price-tag%TAG% {
background: %BG_COLOR% !important;
color: %TEXT_COLOR%;
}
.product-price-tag%TAG%:before {
border-right-color: %BG_COLOR% !important;
color: %TEXT_COLOR%;
}
View northwind.sql
CREATE DATABASE northwind;
--
-- PostgreSQL database dump
--
SET statement_timeout = 0;
SET lock_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
View books.json
{
"_id": 1,
"title": "Unlocking Android",
"isbn": "1933988673",
"pageCount": 416,
"publishedDate": {
"$date": "2009-04-01T00:00:00.000-0700"
},
"thumbnailUrl": "https://s3.amazonaws.com/AKIAJC5RLADLUMVRPFDQ.book-thumb-images/ableson.jpg",
"shortDescription": "Unlocking Android: A Developer's Guide provides concise, hands-on instruction for the Android operating system and development tools. This book teaches important architectural concepts in a straightforward writing style and builds on this with practical and useful examples throughout.",