Hello i am a test
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
def each_way_to_remove_one_level(original_arr) | |
original_arr.map.with_index do |_, index| | |
original_arr.dup.tap { _1.delete_at(index) } | |
end | |
end | |
def monotonic?(record) | |
record.each_cons(2).map { |a, b| a <=> b }.uniq.count == 1 | |
end |
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
class Partition | |
include Enumerable | |
attr_reader :arr, :k | |
def initialize(arr, k) | |
@arr = arr | |
@k = k | |
end | |
def each |
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
const token = "YOUR TOKEN HERE" | |
const url = "https://api.ditchcarbon.com" | |
/** | |
* Return Ditch Carbon supplier details | |
* | |
* @param {string} supplier - name of the supplier | |
* @param {string} country - two-letter country code | |
* @return {array} Ditch Carbon details | |
* @customfunction |
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
commit 327539e89ec754d610cf5f584a929d10a589f63d | |
Author: Ori Marash <[email protected]> | |
Date: Sun Oct 18 20:00:02 2020 +0100 | |
Add resources | |
diff --git a/app/assets/stylesheets/typography.sass b/app/assets/stylesheets/typography.sass | |
index 69a2bdd..ea47423 100644 | |
--- a/app/assets/stylesheets/typography.sass | |
+++ b/app/assets/stylesheets/typography.sass |
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
diff --git a/.browserslistrc b/.browserslistrc | |
new file mode 100644 | |
index 0000000..e94f814 | |
--- /dev/null | |
+++ b/.browserslistrc | |
@@ -0,0 +1 @@ | |
+defaults | |
diff --git a/.gitignore b/.gitignore | |
new file mode 100644 | |
index 0000000..f22dd34 |
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
+------------------------------+---------+ | |
| Gem | Version | | |
+------------------------------+---------+ | |
| jekyll | 3.8.7 | | |
| jekyll-sass-converter | 1.5.2 | | |
| kramdown | 1.17.0 | | |
| jekyll-commonmark-ghpages | 0.1.6 | | |
| liquid | 4.0.3 | | |
| rouge | 3.19.0 | | |
| github-pages-health-check | 1.16.1 | |
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
import requests, json, time | |
notify_url = 'my notify url' | |
url = 'my canvas api (including /api/v1)' | |
token = 'my canvas token' | |
headers = { | |
"Authorization": "Bearer {}".format(token) | |
} | |
def notify(message): |
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
[ | |
"EN232679117MY" | |
] |
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
{ | |
"language": "en", | |
"content": "neato" | |
} |
NewerOlder