| Sign | Description | Unicode | Mac |
|---|---|---|---|
| ‐ | Bindestrich | U+2010 | |
| – | Gedankenstrich (Halbgeviertstrich) | U+2013 | ⌥ + - |
| − | Subtraktionszeichen (Minus) | U+2212 | |
| — | Spiegelstrich (Geviertstrich) | U+2014 | ⇧ + ⌥ + - |
| ‑ | Geschützer Bindestrich | ‑ | \2011 |
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 | |
| class GeoDistance | |
| R = 6371000 | |
| def toRadians (v) | |
| return v * Math::PI / 180.0; | |
| end | |
| def calc (a, b) |
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
| def readCSV (file) | |
| CSV.read(file, { encoding: "UTF-8", headers: true, header_converters: :symbol, converters: :all }).map { |d| d.to_hash } | |
| end | |
| def writeCSV (file, hash) | |
| CSV.open(file, "w") do |row| | |
| row << hash.first.keys | |
| hash.each { |obj| row << obj.values } | |
| 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
| #!/usr/bin/env ruby | |
| require 'csv' | |
| require 'awesome_print' | |
| require 'json' | |
| class Hash | |
| def checkKeys!(allowed_keys) | |
| self.keys.each { |key| delete(key) unless allowed_keys.include? key } | |
| self | |
| 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
| { | |
| "1": { | |
| "name": "Fareedoone Aryan", | |
| "id": 1, | |
| "reports": [ | |
| "21" | |
| ], | |
| "location": "Kabul", | |
| "latitude": 34.555649, | |
| "longitude": 69.205927, |
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
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| # redirect all to index | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteRule ^ / [L,NC] | |
| </IfModule> |
…sleeping, meditating, yoga, after hour…. Mostly ambient, drone, (neo-)classical, dub, minimal techno, deep house, micro house, downtempo, slo-mo house, ketapop, schneckno, jetlagdisco, post-rock, lowfi hip hop…
Please feel free to comment your recommendations.
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
| .flair-pulse { | |
| background: rgba(250,10,10,1); | |
| background: -moz-linear-gradient(left,rgba(250,10,10,1) 0%,rgba(143,3,138,1) 71%,rgba(50,0,107,1) 100%); | |
| background: -webkit-linear-gradient(left,rgba(250,10,10,1) 0%,rgba(143,3,138,1) 71%,rgba(50,0,107,1) 100%); | |
| background: -o-linear-gradient(left,rgba(250,10,10,1) 0%,rgba(143,3,138,1) 71%,rgba(50,0,107,1) 100%); | |
| background: -ms-linear-gradient(left,rgba(250,10,10,1) 0%,rgba(143,3,138,1) 71%,rgba(50,0,107,1) 100%); | |
| background: linear-gradient(to right,rgba(250,10,10,1) 0%,rgba(143,3,138,1) 71%,rgba(50,0,107,1) 100%); | |
| color: white !important; | |
| -webkit-box-shadow: 5px 5px 21px 0px rgba(235,9,9,1); | |
| -moz-box-shadow: 5px 5px 21px 0px rgba(235,9,9,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
| #!/usr/bin/env ruby | |
| # encoding: utf-8 | |
| Dir.chdir(File.dirname(__FILE__)) | |
| require "awesome_print" | |
| # Skript um ein Spaltenlayout für zwei unterschiedliche Breiten zu finden | |
| BREITE_1 = 250 | |
| BREITE_2 = 200 |
<template>
<div ref="result">
{{ result }}
</div>
</template>
<script>
export default {