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
| {"type":"FeatureCollection","features":[{"type":"Feature","properties":{"id_wilayah":41864,"nama_wilayah":"KULON PROGO","id_provinsi":41863,"nm_provinsi":"DAERAH ISTIMEWA YOGYAKARTA","id_kabkota":41864,"nm_kabkota":"KULON PROGO","id_kecamatan":null,"nm_kecamatan":null,"id_kelurahan":null,"nm_kelurahan":null,"jumlahPenduduk":445655,"alokasiKursi":40,"tingkatWilayah":2,"bppd":11141,"centroid_x":12300224.1494935,"centroid_y":-873620.4304257927,"depthLevel":10,"kind":null,"koordinat":null,"tipe":null,"flagPemekaran":false,"id_geo_json":221991,"objectid":0,"shape_Leng":null,"shape_Area":null},"geometry":{"type":"Polygon","coordinates":[[[110.27048410475771,-7.705743059594454],[110.26874539778197,-7.70711887303753],[110.26775359485259,-7.707287671288952],[110.26173492522668,-7.704841839978883],[110.25984540644043,-7.705352388701726],[110.2580427001106,-7.705306452230957],[110.25540160709858,-7.706364030675445],[110.25448609006105,-7.70771538615611],[110.25317383350568,-7.708491101782897],[110.25039674501386,-7.7083 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| ############################################################################### | |
| # Globals-ish | |
| export VISUAL=vim | |
| export EDITOR=vim | |
| export JAVA_HOME=`/usr/libexec/java_home` | |
| ############################################################################### | |
| # Bash |
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
| # ... | |
| gem 'carrierwave' | |
| gem 'fog', '~> 1.0.0' # Need to specify version, as carrierwave references older (0.9.0) which doesn't allow configuration of Rackspace UK Auth URL |
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
| { | |
| "always_show_minimap_viewport": true, | |
| "bold_folder_labels": true, | |
| "color_scheme": "Packages/User/Color Highlighter/themes/Monokai-Soft-MD (Colorcoded).tmTheme", | |
| "font_options": | |
| [ | |
| "gray_antialias", | |
| "subpixel_antialias" | |
| ], | |
| "ignored_packages": |
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
| #!/usr/bin/env ruby -w -s | |
| # -*- coding: utf-8 -*- | |
| $LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../lib" | |
| #```ruby | |
| require 'axlsx' | |
| examples = [] | |
| examples << :basic | |
| examples << :custom_styles | |
| examples << :wrap_text |
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
| #take every sentence | |
| counts = Hash.new(0) | |
| File.foreach("sample.txt") do | |
| |line| | |
| line.scan(/\w+/) do | |
| |word| | |
| word = word.downcase | |
| counts[word] += 1 | |
| end | |
| end |
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
| #require 'socket' | |
| require 'net/http' | |
| require 'open-uri' | |
| require 'nokogiri' | |
| client = TCPSocket.open('indoexchanger.co.id', 'www') | |
| client.send("OPTIONS /~dave/ HTTP/1.0\n\n", 0) | |
| puts client.readlines | |
| client.close |