Skip to content

Instantly share code, notes, and snippets.

View ramunasnognys's full-sized avatar
🎯
Focusing

Ramunas ramunasnognys

🎯
Focusing
View GitHub Profile
@ramunasnognys
ramunasnognys / 01-directory-structure.md
Created February 17, 2021 09:19 — forked from tracker1/01-directory-structure.md
Anatomy of a JavaScript/Node project.

Directory structure for JavaScript/Node Projects

While the following structure is not an absolute requirement or enforced by the tools, it is a recommendation based on what the JavaScript and in particular Node community at large have been following by convention.

Beyond a suggested structure, no tooling recommendations, or sub-module structure is outlined here.

Directories

  • lib/ is intended for code that can run as-is
  • src/ is intended for code that needs to be manipulated before it can be used

Media Queries Setup-1


Phone Tablet portrait Tablet landscape Defaults Big desktop
phone tab-port tab-land current Big desktop
0 - 600px 600 - 900px 900 - 1200px 1200 - 1800 1800px +
@ramunasnognys
ramunasnognys / get-json-data-javascript.js
Last active June 7, 2020 18:53
Getting JSON Data from URL
var getJSON = function (url, callback) {
var xhr = new XMLHttpRequest();
xhr.open("GET", url, true);
xhr.responseType = "json";
xhr.onload = function () {
var status = xhr.status;
if (status === 200) {
callback(null, xhr.response);
} else {
callback(status, xhr.response);
@ramunasnognys
ramunasnognys / wordpress-checklist.md
Last active December 12, 2023 22:26
Ultimate WordPress Checklist

WordPress Development Checklist

WordPress Setup Checklist

First things first. This first WordPress checklist will help you start out on the right foot when you start to create a WordPress website.

  • Purchase a domain name.
  • Purchase a hosting plan from a reputable hosting company that specializes in WordPress hosting.
  • Install the latest version of the WordPress software on your server.

Basic WordPress Development Checklist

The following developer WordPress checklist is a brief starting point. While there are a number of specific tasks that have to be done, everyone has their own way of doing things. Add to this list as you develop your own workflow.

  • Set up new domain in cPanel
screen.scss
@mixin breakpoint($point) {
@if $point == sm-max {
@media (max-width: 460px) { @content; }
}
@else if $point == md-max {
@media (max-width: 800px) { @content; }
}
@else if $point == lg-max {
@media (max-width: 1024px) { @content; }
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
th {
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Javascript</title>
</head>
<body>