Rails flash messages with AJAX requests
This file contains 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
require 'dm-core' | |
require 'dm-migrations' | |
DataMapper.setup(:default, "sqlite3:///#{Dir.pwd}/gabung.db") | |
class Institusi | |
include DataMapper::Resource | |
property :id, Serial | |
property :nama_institusi, String | |
property :nilai, Integer |
This file contains 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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Cetak dengan page break</title> | |
<style> | |
.halaman{ | |
page-break-after: always; | |
page-break-inside: avoid; | |
} |
This file contains 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
" Use Vim settings, rather then Vi settings (much better!). | |
" This must be first, because it changes other options as a side effect. | |
set nocompatible | |
" ================ General Config ==================== | |
set number "Line numbers are good | |
set backspace=indent,eol,start "Allow backspace in insert mode | |
set history=1000 "Store lots of :cmdline history | |
set showcmd "Show incomplete cmds down the bottom |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
This file contains 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
1877879000000154007 | |
1877879000000154044 | |
1877879000000154009 | |
1877879000000154018 | |
1877879000000468246 | |
1877879000000395479 | |
1877879000000155537 | |
1877879000000156873 | |
1877879000000156891 | |
1877879000000165314 |
This file contains 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
organization_id | school_name | school_segment | |
---|---|---|---|
5796c5a234c0e700030000ba | MAN LHOKSEUMAWE | Segment A | |
5796c59434c0e7000300000b | MAN 2 BANDA ACEH | Segment A | |
54c9cdbc1a494b0a6200ebd2 | MAN MODEL PALANGKARAYA | Segment A | |
5538c1dd87df070003000131 | SMPN 228 JAKARTA | Segment A | |
5538c20a87df070003001571 | SMPN 1 Baleendah | Segment A | |
5538c20b87df0700030015cd | SMPN 1 SOREANG | Segment A | |
5538c3e387df07000300fa2e | MTsN 1 BUKITTINGGI | Segment A | |
5538c45987df0700030134e4 | SMPN 1 Kotabaru | Segment A | |
5538c46887df070003013d74 | SMPN 11 BALIKPAPAN | Segment A |
This file contains 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
user_id,subscription_time | |
5a17034cf5c0dd0a68000001,3 | |
5a17034cf5c0dd0a6800000c,1 | |
5a1260b3163e0e0121000001,3 | |
5a1260b3163e0e012100000c,3 | |
5a1260b4163e0e0121000017,3 | |
5a1260b4163e0e0121000022,3 | |
5a1260b4163e0e012100002d,3 | |
5a1260b4163e0e0121000038,3 | |
5a1260b4163e0e0121000043,3 |
OlderNewer