I hereby claim:
- I am jreyes33 on github.
- I am jreyes (https://keybase.io/jreyes) on keybase.
- I have a public key whose fingerprint is 96F5 0A28 0F5C 6324 D8EE DDF4 C8AD FE9F 141C 1EBE
To claim this, I am signing this object:
| #!/usr/bin/osascript | |
| # From: https://medium.com/@geert.cuppens/macos-keyboard-shortcut-to-toggle-dark-mode-2724c9f7fbfe | |
| tell application "System Events" | |
| tell appearance preferences | |
| set dark mode to not dark mode | |
| end tell | |
| end tell |
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| while true | |
| do | |
| clear | |
| curl -s https://talaikis.com/api/quotes/random/ | | |
| jq -r '"“\(.quote)” —\(.author)"' | | |
| cowsay -f $( ls /usr/share/cowsay/cows/ | shuf -n 1) |
| # … | |
| tasks: | |
| - name: Inspect postman file | |
| stat: path=~/bin/Postman/Postman | |
| register: postman_file | |
| - name: Install postman | |
| when: not postman_file.stat.exists | |
| unarchive: | |
| remote_src: yes |
| public static String foo(boolean b) { | |
| if ( b ) { | |
| performVitallyImportantBusinessFunction(); | |
| return "OK"; | |
| } | |
| return "FAIL"; | |
| } | |
| @Test |
I hereby claim:
To claim this, I am signing this object:
| let isAnimal = (emojo) => | |
| '🐀'.codePointAt(0) <= emojo.codePointAt(0) && | |
| emojo.codePointAt(0) <= '🐼'.codePointAt(0); | |
| let emoji = ['🐶', '👻', '🐸', '🐻', '💩', '🐳']; | |
| let animals = [for (e of emoji) if (isAnimal(e)) e]; | |
| console.log(animals); | |
| // => ["🐶","🐸","🐻","🐳"] |
| <templateSet group="custom"> | |
| <template name="ati" value="org.hamcrest.MatcherAssert.assertThat($ACTUAL$, org.hamcrest.CoreMatchers.is($EXPECTED$));" description="assertThat is" toReformat="true" toShortenFQNames="true" useStaticImport="true"> | |
| <variable name="ACTUAL" expression="" defaultValue="" alwaysStopAt="true" /> | |
| <variable name="EXPECTED" expression="" defaultValue="" alwaysStopAt="true" /> | |
| <context> | |
| <option name="JAVA_CODE" value="false" /> | |
| <option name="JAVA_STATEMENT" value="true" /> | |
| <option name="JAVA_EXPRESSION" value="true" /> | |
| <option name="JAVA_DECLARATION" value="false" /> | |
| <option name="JAVA_COMMENT" value="false" /> |
| var express = require('express'); | |
| var fs = require('fs'); | |
| var app = express(); | |
| app.get('*', function(req, res) { | |
| fs.readFile('public' + req.originalUrl, function(err, data) { | |
| if (err) { | |
| res.send('File not found ' + req.originalUrl); | |
| } else { | |
| res.contentType('application/json'); |