Skip to content

Instantly share code, notes, and snippets.

View jrichardsz's full-sized avatar

JRichardsz jrichardsz

View GitHub Profile
@jrichardsz
jrichardsz / index.html
Last active July 18, 2022 01:02 — forked from ferminrp/index.html
Bootstrap elementary starter template
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<meta charset="utf-8">
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"elasticbeanstalk:*",
"ec2:*",
"ecs:*",
"ecr:*",
@jrichardsz
jrichardsz / db.sql
Last active March 13, 2022 23:20 — forked from EnricoSteez/db.sql
SIRS Database Creation
-- MySQL dump 10.13 Distrib 8.0.28, for Win64 (x86_64)
--
-- Host: localhost Database: main
-- ------------------------------------------------------
-- Server version 8.0.28
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!50503 SET NAMES utf8mb4 */;
-- CREATE DATABASE IF NOT EXISTS `statsinfo_dev` /*!40100 DEFAULT CHARACTER SET utf8 */;
-- USE `statsinfo_dev`;
-- MySQL dump 10.13 Distrib 5.5.28, for debian-linux-gnu (i686)
--
-- Host: 127.0.0.1 Database: statsinfo_dev
-- ------------------------------------------------------
-- Server version 5.5.28-0ubuntu0.12.04.3
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
@jrichardsz
jrichardsz / net.js
Created March 5, 2022 00:04 — forked from sid24rane/net.js
Simple TCP Client and Server in Node.js (Covering all useful Properties & Methods)
var net = require('net');
// creates the server
var server = net.createServer();
//emitted when server closes ...not emitted until all connections closes.
server.on('close',function(){
console.log('Server closed !');
});
@jrichardsz
jrichardsz / gitcheats.txt
Created February 22, 2022 19:31 — forked from mkhairi/gitcheats.txt
git cheats git snippets gittips git snippets
# shortform git commands
alias g='git'
# push changes to an empty git repository for the first time
git push --set-upstream origin master
# Remove + and - from start of diff lines
git diff --color | sed "s/^\([^-+ ]*\)[-+ ]/\\1/" | less -r
# clear out git hooks
@jrichardsz
jrichardsz / Duden Offline.html
Created February 20, 2022 01:42 — forked from jpluimers/Duden Offline.html
The HTML page that www.duden.de shows when it is offline: a definition of "Wartung" (German word for Maintenance)
<!DOCTYPE html>
<!-- saved from url=(0021)https://www.duden.de/ -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><link rel="apple-touch-icon" href="https://www.duden.de/favicon.svg"><link rel="shortcut icon" href="https://www.duden.de/favicon.png"><meta name="theme-color" content="#FECF2F"><meta name="viewport" content="width=device-width, user-scalable=no"><!--[if lt IE 9]><script src="../res/js/html5shiv/dist/html5shiv.min.js"></script><![endif]--><title>Duden Offline</title><style>/* normalize.css v2.1.0 | MIT License | git.io/normalize */
/* normalize.css v2.1.0 | HTML5 Display Definitions | MIT License | git.io/normalize */
article,
aside,
details,
figcaption,
figure,
footer,
@jrichardsz
jrichardsz / html responsive hamburger menu vertical t1.md
Last active February 20, 2022 14:06 — forked from tomhodgins/adaptive-nav.html
html responsibe hamburger menu templates template

index.html

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>Responsive Nav</title>
  <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, minimal-ui">
  <style>html{opacity:0;-webkit-text-size-adjust: 100%;}body{margin:0}</style>
@jrichardsz
jrichardsz / index.html
Last active February 20, 2022 01:39 — forked from DreamTeam92/index.html
Landing Minimal Responsive Website Template | Webflow Templates// source https://jsbin.com/boyixum
<!DOCTYPE html>
<!-- This site was created in Webflow. http://www.webflow.com-->
<!-- Last Published: Mon Sep 12 2016 06:52:34 GMT+0000 (UTC) -->
<html data-wf-domain="minimaltemplate.webflow.io" data-wf-page="530ab3ac7b5bc4ca19000b97" data-wf-site="530ab3ac7b5bc4ca19000b96">
<head>
<meta charset="utf-8"><title>Minimal Responsive Website Template | Webflow Templates</title>
<meta content="width=device-width, initial-scale=1" name="viewport">
<meta content="Webflow" name="generator">
<link href="https://daks2k3a4ib2z.cloudfront.net/530ab3ac7b5bc4ca19000b96/css/minimaltemplate.webflow.91e586bd6.css" rel="stylesheet" type="text/css"><script src="https://ajax.googleapis.com/ajax/libs/webfont/1.4.7/webfont.js"></script>
<script type="text/javascript">WebFont.load({
@jrichardsz
jrichardsz / 404.html
Created February 20, 2022 01:34 — forked from postpostmodern/404.html
My custom configurations for apache 2.2
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Page Not Found</title>
<style type="text/css" media="screen">
body {
background: #f0f0f0;
font: normal 18px sans-serif;
width: 400px;