This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace ConsoleApplication4 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace ConsoleApplication4 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Arrays; | |
public class Main { | |
public static void main(String[] args) { | |
System.out.println("Hello World!"); | |
int[] s = new int[]{5,4,3,2,2,1, 55, 34,12, 4,66,98, 32, 67,15}; | |
System.out.println(Arrays.toString(s)); | |
//selectionSort(s); | |
//insertionSort(s); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"color_scheme": "Packages/IR_Black.tmbundle/Themes/IR_Black.tmTheme", | |
"font_face": "Monaco", | |
"font_size": 12, | |
"highlight_line": true, | |
"caret_style": "phase", | |
"auto_indent": true, | |
"draw_indent_guides": true, | |
"line_padding_bottom": 1, | |
"line_padding_top": 1, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"auto_indent": true, | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"cmd": | |
[ | |
"rvm-auto-ruby", | |
"$file" | |
], | |
"color_scheme": "Packages/IR_Black.tmTheme", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"auto_indent": true, | |
"bold_folder_labels": true, | |
"ensure_newline_at_eof_on_save": true, | |
"caret_style": "phase", | |
"cmd": | |
[ | |
"rvm-auto-ruby", | |
"$file" | |
], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"auto_indent": true, | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"cmd": | |
[ | |
"rvm-auto-ruby", | |
"$file" | |
], | |
"color_scheme": "Packages/Solarized Color Scheme/Solarized (light).tmTheme", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PostsController < ApplicationController | |
before_action :load_post, only: [:edit, :show, :update, :destroy] | |
def index | |
load_posts | |
end | |
def new | |
build_post |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SQLite version 3.x | |
# gem install sqlite3 | |
# | |
# Ensure the SQLite 3 gem is defined in your Gemfile | |
# gem 'sqlite3' | |
# | |
default: &default | |
adapter: sqlite3 | |
pool: 5 | |
timeout: 5000 |
OlderNewer