- Job number 742615
- Date posted Nov 15, 2019
- Travel 0-25 %
- Profession Business Programs & Operations
- Role type Individual Contributor
- Employment type Full-Time
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
| ; add a basic namespace, I guess | |
| (ns thingo.core) | |
| (require '[clojure.java.io :as io]) | |
| (require '[clojure.xml :as xml]) | |
| (require '[clojure.zip :as zip]) | |
| (require '[clojure.data.zip.xml :as zip-xml]) | |
| (require '[clojure.pprint :refer pprint :as pp]) | |
| (def blog-file "./path-to-wordpress-export-file.xml") |
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
| boot --help ⏎ | |
| SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". | |
| SLF4J: Defaulting to no-operation (NOP) logger implementation | |
| SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. | |
| boot.App.main App.java: 500 | |
| boot.App.runBoot App.java: 407 | |
| org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke ClojureRuntimeShimImpl.java: 145 | |
| org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke ClojureRuntimeShimImpl.java: 154 | |
| ... | |
| boot.main/-main main.clj: 216 |
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
| [[source]] | |
| url = "https://pypi.org/simple" | |
| verify_ssl = true | |
| name = "pypi" | |
| [packages] | |
| slackclient = "*" | |
| [dev-packages] | |
| ipdb = "*" |
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
| set_o_tuples = [ | |
| ("streetaddress", "burdon") | |
| ("area", "bungo"), | |
| ("region", "bingo"), | |
| ("some_other_key", "bango"), | |
| ]) | |
| for key, val in set_o_tuples: | |
| # I want to run code like this, but keept it DRYer than | |
| # literally typing the the code below |
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
| msg = build_message('email/welcome.email', {'user': request.user}) | |
| msg.send() |
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
| WITH disk_tables AS | |
| (SELECT nspname, | |
| relname, | |
| pg_relation_size(c.oid) AS "size" | |
| FROM pg_class c | |
| LEFT JOIN pg_namespace n ON (n.oid = c.relnamespace) | |
| WHERE nspname IN ('public')) | |
| SELECT pg_size_pretty(SUM(disk_tables.size)) FROM disk_tables; |
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
| from os import environ as env | |
| import logging | |
| from auth0.v3.management import Auth0 | |
| logger = logging.getLogger() | |
| class SomeAuthWrapper(): | |
| """ | |
| Wraps the API calls we need to make to administer users |
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
| export default { | |
| name: 'ProfileComponent', | |
| // active tags is an array like ['foo', 'bar', 'baz'] | |
| props: ['auth', 'authenticated', 'profile', 'activetags'], | |
| data() { | |
| return { | |
| ownProfile : true, | |
| isActive: function (ev) { | |
| // this isn't called at all | |
| console.log("rendered on building the dom?") |