One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| @next_upgrade ||= false | |
| source 'https://rubygems.org' | |
| if @next_upgrade | |
| gem 'rails', '6.0.0.rc2' | |
| else | |
| gem 'rails', '~> 5.2.0' | |
| end | |
| # rest of gems below .... |
| source 'http://rubygems.org' | |
| gem 'rspec' |
| import java.io.FileDescriptor; | |
| import java.io.FileOutputStream; | |
| import java.io.IOException; | |
| import java.io.OutputStream; | |
| import java.io.PrintStream; | |
| public class HelloWorld{ | |
| private static HelloWorld instance; | |
| public static void main(String[] args){ | |
| instantiateHelloWorldMainClassAndRun(); |
| ### Install Oracle Java 8, this means you agree to their binary license!! | |
| cd ~ | |
| sudo add-apt-repository -y ppa:webupd8team/java | |
| sudo apt-get update | |
| echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections | |
| echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections | |
| sudo aptitude -y install oracle-java8-installer | |
| ### Download and Install ElasticSearch |
| section .text | |
| global _start | |
| _start: ; entry point | |
| mov ecx, 1 ; set loop counter | |
| loop_main: | |
| push ecx ; save loop counter | |
| xor dx, dx ; reset dx | |
| mov ax, cx |
| copy/delete word under cursor in Vim | |
| yw / byw | |
| Assuming that the cursor is at the first character of the word simply do this in command mode: | |
| yw | |
| y is for yank and w is for word. | |
| Other ways of doing the same thing which are not as efficient: | |
| vey | |
| the v starts visual select mode. e tells vim to move to end of word. y yanks or copies the word. to delete replace y with x. |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>Title</title> | |
| <link href="stylesheets/main.css" rel="stylesheet" /> | |
| </head> | |
| <body> | |
| <header> | |
| <hgroup> |