Skip to content

Instantly share code, notes, and snippets.

Avatar

Ram ram4git

View GitHub Profile
View index.html
<!DOCTYPE html>
<html>
<head>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Poppins:wght@200&display=swap"
rel="stylesheet"
/>
<link
href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css"
View NineSquare.html
<div id="curator-feed-sandbox-layout"></div>
<script type="text/javascript">
/* curator-feed-sandbox-layout */
(function() {
var i, e, d = document,
s = "script";
i = d.createElement("script");
i.async = 1;
i.src = "https://cdn.curator.io/published/d85b878e-0ede-4436-8198-ed1eba1d7482.js";
e = d.getElementsByTagName(s)[0];
@ram4git
ram4git / bigSquare.html
Created Apr 16, 2020
WithBiggerSquare
View bigSquare.html
<div id="curator-feed-sandbox-layout"></div>
<script type="text/javascript">
/* curator-feed-sandbox-layout */
(function() {
var i, e, d = document,
s = "script";
i = d.createElement("script");
i.async = 1;
i.src = "https://cdn.curator.io/published/d85b878e-0ede-4436-8198-ed1eba1d7482.js";
e = d.getElementsByTagName(s)[0];
@ram4git
ram4git / webpack.prod
Created May 7, 2019
Webpack Compression
View webpack.prod
/* global __dirname */
const path = require('path');
const webpack = require('webpack');
const merge = require('webpack-merge');
const CompressionPlugin = require('compression-webpack-plugin');
const GitRevisionPlugin = require('git-revision-webpack-plugin');
const gitRevisionPlugin = new GitRevisionPlugin({branchCommand: 'rev-parse --symbolic-full-name HEAD'});
View catprank
crontab -e */15 * * * * say `curl -s http://catfacts-api.appspot.com/api/facts |python -mjson.tool|grep facts -a1|tail -n1`
@ram4git
ram4git / info.sql
Last active Mar 9, 2017
PSQL DUMP AND RESTORE
View info.sql
#DUMP
pg_dump <DB_NAME> -U <USER_NAME> | gzip > <FILE_NAME>.gz
#RESTORE
gunzip -c <FILE_NAME>.gz | psql <DB_NAME>