A hand crafted markdown document contains all major Javascript topics covered, taken from different sources. Brush Up your JS memory.
Single line comments start with //
. For multi-line commands, you use /* ... */
// This is a single line comment
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Self-expanding textarea</title> | |
</head> | |
<body> | |
<textarea id="expand" rows="8" cols="40"></textarea> | |
<script type="text/javascript" charset="utf-8"> | |
var textarea = document.getElementById('expand') | |
var div = document.createElement('div') |
<template> | |
<div :class="{'loading': loading}" class="pager-data-wrapper"> | |
<!-- Pagination Slot --> | |
<slot :result="getResult()"> | |
<div class="text-center alert-info pb-3"> | |
<span v-if="!loading"> | |
{{ result.length }} items found. render it using v-for="item in result" | |
</span> | |
<span v-if="loading"> |
;Author : Sanjib Narzary | |
;Institute: NIT Calicut | |
;Email: o-._.-o@live.com | |
;Assembly Code | |
section .data | |
;New line string | |
NEWLINE: db 0xa, 0xd | |
LENGTH: equ $-NEWLINE | |
section .bss | |
INPT: resd 1 |
The git command-line utility has plenty of inconsistencies http://steveko.wordpress.com/2012/02/24/10-things-i-hate-about-git/
A GUI like http://sourcetreeapp.com is often helpful, but staying on the command line usually quicker. This is a list of the commands I use most frequently, listed by funcional category:
git status
list which (unstaged) files have changed
<?php | |
$result = []; | |
$task = 'deploy'; | |
$live = true; | |
$process = new \Symfony\Component\Process\Process('/Applications/MAMP/bin/php/php7.1.0/bin/php ~/.composer/vendor/bin/envoy run '. $task); | |
$process->setTimeout(3600); | |
$process->setIdleTimeout(300); | |
$process->setWorkingDirectory(base_path()); | |
$process->run( |
Some Linux systems come preloaded with zsh. You can check if it exists as well as its version by writing zsh --version
in a terminal window. In case this zsh version is ok for you, you're done now!
Determine on which Linux distribution your system is based on. See List of Linux distributions – Wikipedia for a list. Most Linux systems – including Ubuntu – are Debian-based.
Open a terminal window. Copy & paste the following into the terminal window and hit Return
. You may be prompted to enter your password.
/*
Made by [egy.js](https://www.instagram.com/egy.js/);
*/