File and folder naming convention for React.js components
/actions/...
/components/common/Link.js
/components/common/...
/components/forms/TextBox.js
/components/forms/TextBox.res/style.css
<?xml version="1.0" encoding="utf-8"?> | |
<rss version="2.0" xmlns:g="http://base.google.com/ns/1.0"> | |
<channel> | |
<title>Celebird RSS 2.0 data feed template products-variants-apparel-upi</title> | |
<description>Celebird data feed template.</description> | |
<link>http://www.celebird.com</link> | |
<item> | |
<g:id>celebird-eg-variants-apparel-upi-001</g:id> | |
<title>Diesel Men's Black Stainless-Steel Analog Watch with Black Dial</title> | |
<description>Cutting edge style watch with a matte black plastic round case, matte black dial, black silicone strap, 3-hand quartz analog movement. Scratch resistant mineral crystal face. Water resistant up to 50 meters. Case size: 44mm. Band width: 24mm.</description> |
<?php | |
// Delegate static file requests back to the PHP built-in webserver | |
if (PHP_SAPI === 'cli-server' && $_SERVER['SCRIPT_FILENAME'] !== __FILE__) { | |
return false; | |
} | |
chdir(dirname(__DIR__)); | |
require 'vendor/autoload.php'; | |
{ | |
"name": "es6-express", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1", | |
"build": "rimraf dist/ && babel ./ --out-dir dist/ --ignore ./node_modules,./.babelrc,./package.json,./npm-debug.log --copy-files", | |
"start": "npm run build && node dist/index.js" | |
}, |
package com.gazatem.java.blockchain.tutorial; | |
import com.gazatem.java.blockchain.tutorial.model.Block; | |
import com.gazatem.java.blockchain.tutorial.service.Calculate; | |
import java.util.ArrayList; | |
public class main { | |
private static Calculate calculate; |
package com.gazatem.java.blockchain.tutorial.model; | |
import java.util.Date; | |
public class Block { | |
private String hash; | |
private String previousHash; | |
private String storedData; | |
private long timeStamp; | |
private int nonce; |
# stop script on error signal | |
set -e | |
# remove old deployment folders | |
if [ -d "/home/forge/weather-deploy" ]; then | |
rm -R /home/forge/weather-deploy | |
fi | |
if [ -d "/home/forge/weather-backup" ]; then | |
rm -R /home/forge/weather-backup | |
fi |
One liner to stop / remove all of Docker containers: | |
docker stop $(docker ps -a -q) | |
docker rm $(docker ps -a -q) |
----- Esc ----- | |
Quick change directory: Esc + c | |
Quick change directory history: Esc + c and then Esc + h | |
Quick change directory previous entry: Esc + c and then Esc + p | |
Command line history: Esc + h | |
Command line previous command: Esc + p | |
View change: Esc + t (each time you do this shortcut a new directory view will appear) | |
Print current working directory in command line: Esc + a | |
Switch between background command line and MC: Ctrl + o | |
Search/Go to directory in active panel: Esc + s / Ctrl + s then start typing directory name |
----- Esc ----- | |
Quick change directory: Esc + c | |
Quick change directory history: Esc + c and then Esc + h | |
Quick change directory previous entry: Esc + c and then Esc + p | |
Command line history: Esc + h | |
Command line previous command: Esc + p | |
View change: Esc + t (each time you do this shortcut a new directory view will appear) | |
Print current working directory in command line: Esc + a | |
Switch between background command line and MC: Ctrl + o | |
Search/Go to directory in active panel: Esc + s / Ctrl + s then start typing directory name |