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
    
  
  
    
  | print('Hello, World!') | 
  
    
      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
    
  
  
    
  | print('Hello, World!') | 
  
    
      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 requests | |
| from pprint import pprint | |
| import xml.etree.ElementTree as ET | |
| session = requests.Session() | |
| session.headers.update({'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0'}) | |
| r = session.get("https://www.reddit.com/r/NHKEasyNews/.rss") | |
| root = ET.fromstring(r.text) | 
  
    
      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 os | |
| import numpy as np | |
| from PIL import Image | |
| #------------------------------------------------------------------- | |
| # | |
| # helper functions | |
| # | |
| def create_complex_plane(X, Y, x0, x1, y0, y1, endpoint=False): | |
| I = np.indices((Y,X)).astype(np.float64) | 
  
    
      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
    
  
  
    
  | // | |
| // Trie.swift | |
| // AutoCorrect | |
| // | |
| // Created by Shaul Hameed on 30/07/17. | |
| // | |
| // | |
  
    
      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
    
  
  
    
  | func exposeAtPoint(point: CGPoint) { | |
| let device = activeInput.device // var activeInput: AVCaptureDeviceInput! | |
| if device.isExposurePointOfInterestSupported && device.isExposureModeSupported(.continuousAutoExposure) { | |
| do { | |
| try device.lockForConfiguration() | |
| device.exposurePointOfInterest = point | |
| device.exposureMode = .continuousAutoExposure | |
| if device.isExposureModeSupported(.locked) { | |
| device.addObserver(self, forKeyPath: "adjustingExposure", options: .new, context: &adjustingExposureContext) | 
  
    
      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
    
  
  
    
  | class ViewController: UIViewController, ARSCNViewDelegate { | |
| // Rest of class code goes above here ... | |
| func session(_ session: ARSession, cameraDidChangeTrackingState camera: ARCamera) { | |
| var status = "Loading..." | |
| switch camera.trackingState { | |
| case .notAvailable: | |
| status = "Not available" | |
| case .limited(_): | 
  
    
      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
    
  
  
    
  | class ViewController: UIViewController, ARSCNViewDelegate { | |
| // Rest of class code goes above here ... | |
| func session(_ session: ARSession, cameraDidChangeTrackingState camera: ARCamera) { | |
| var status = "Loading..." | |
| switch camera.trackingState { | |
| case .notAvailable: | |
| status = "Not available" | |
| case .limited(_): | 
NewerOlder