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
| import { waitFor } from "xstate/lib/waitFor"; | |
| import { interpret } from "xstate"; | |
| describe("Example", () => { | |
| it("answering with the wrong shells loses the turn", async () => { | |
| const mockGameMachine = gameMachine.withConfig({ | |
| actions: { | |
| redirectToGame: jest.fn(), | |
| }, | |
| services: { |
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
| import glob | |
| import subprocess | |
| for f in glob.glob('./*.psd'): | |
| fname = f[2:] | |
| fname = fname[:-4] | |
| print('call:', 'convert "' + f + '"[0] "./exported/' + fname + '.pdf"') | |
| subprocess.call('convert "' + f + '"[0] "./exported/' + fname + '.pdf"', shell=True) | |
| # print('f ->', f, 'fname', fname) |
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
| import boto3 | |
| import io | |
| import sys | |
| session = boto3.session.Session() | |
| do_client = session.client('s3', | |
| region_name='nyc3', | |
| endpoint_url='https://nyc3.digitaloceanspaces.com', | |
| aws_access_key_id='', |
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
| [ | |
| { | |
| name: "hello" | |
| }, | |
| { | |
| name: "ciao", | |
| } | |
| ] |
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
| Trattoria Da Guido, | |
| Via Faenza, Florence | |
| (055 264 5741) | |
| https://goo.gl/maps/wZbZwSyduiB2 | |
| --- | |
| All'Antico Vinaio, |
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
| { | |
| "devices":[ | |
| { | |
| "id":"Y3mK5Kvy", | |
| "device_id":"did_e3be5", | |
| "device_type":"ios" | |
| }, | |
| { | |
| "id":"6ZvpDPvX", | |
| "device_id":"did_84fdd", |
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
| package com.estraiverbi; | |
| import org.jsoup.Jsoup; | |
| import org.jsoup.nodes.Document; | |
| import java.io.BufferedReader; | |
| import java.io.IOException; | |
| import java.lang.reflect.Constructor; | |
| import java.lang.reflect.InvocationTargetException; | |
| import java.net.URISyntaxException; |
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 genericpath import exists | |
| import os | |
| from os.path import relpath, dirname | |
| __author__ = 'Marco A.' | |
| import sys | |
| if __name__ == "__main__": | |
| arguments_length = len(sys.argv) - 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
| package com.besaba.revonline.themesdownloader; | |
| import org.xml.sax.SAXException; | |
| import javax.xml.parsers.ParserConfigurationException; | |
| import javax.xml.xpath.XPathExpressionException; | |
| import java.io.IOException; | |
| import java.nio.file.Files; | |
| import java.nio.file.Path; | |
| import java.nio.file.Paths; |
NewerOlder