- can override settings by edit "/etc/wsl.conf"
- normally this file is not exists at first
$ sudo vi /etc/wsl.conf
[interop]
appendWindowsPath = false
| macOS Big Sur Icon Template for Affinity Photo (c) by Yoshimasa Niwa | |
| macOS Big Sur Icon Template for Affinity Photo is licensed under a | |
| Creative Commons Attribution 4.0 International License. | |
| You should have received a copy of the license along with this | |
| work. If not, see <http://creativecommons.org/licenses/by/4.0/>. |
Based off of: http://docs.sequelizejs.com/en/1.7.0/articles/express/
Create and initialize your a directory for your Express application.
$ mkdir sequelize-demoGet-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Enum\HID\*\*\Device` Parameters FlipFlopWheel -EA 0 | ForEach-Object { Set-ItemProperty $_.PSPath FlipFlopWheel 1 }FlipFlopWheel attributes set to 1
Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Enum\HID\*\*\Device` Parameters FlipFlopWheel -EA 0| import time | |
| from selenium import webdriver | |
| driver = webdriver.Chrome('./chromedriver') | |
| driver.get('https://ui.lkqd.com/login') | |
| assert 'LKQD' in driver.title | |
| time.sleep(2) | |
| username_field = driver.find_element_by_name('username') | |
| username_field.send_keys('myusername') |
| $token = '<API_Token>' | |
| $headers = @{ | |
| "Authorization" = "Bearer $token" | |
| "Content-type" = "application/json" | |
| } | |
| $body = @{ | |
| accountName="<Your_account>" | |
| projectSlug="<Your_project_slug>" |
ℹ️ There is a newer alternative project that does similar things and more, check it out at https://github.com/stevenilsen123/mac-keyboard-behavior-in-windows
Make Windows PC's shortcut act like macOS (Mac OS X) (using AutoHotkey (ahk) script)
With this AutoHotKey script, you can use most macOS style shortcuts (eg, cmd+c, cmd+v, ...) on Windows with a standard PC keyboard.
| import Cocoa | |
| protocol AXUIProtocol { | |
| func AXUIWindowArray(processIdentifier pid:pid_t) -> [AXUIElement] | |
| func AXUIWindowArray(bundleIdentifier bid:NSString) -> [AXUIElement] | |
| } | |
| extension AXUIProtocol { | |
| func AXUIWindowArray(processIdentifier pid:pid_t) -> [AXUIElement] { | |
| let windowList : UnsafeMutablePointer<AnyObject?> = UnsafeMutablePointer<AnyObject?>.alloc(1) |
| # Test Frameworks | |
| pod 'gh-unit' | |
| pod 'kiwi' | |
| ## Mock Frameworks | |
| pod 'OCMock' | |
| # Debugging/Logging | |
| pod 'UALogger' |
| -- 1. Place in ~/Library/Scripts and enable the Applescript menu via the Applescript Editor | |
| -- 2. Substitute "vpn.example.com" and "redacted" for your VPN server and password | |
| -- 3. Open Security & Privacy System Preferences, go to Privacy, Accessibility | |
| -- 4. Enable Applescript Editor and System UI Server | |
| -- 5. Trigger script from the menu | |
| -- 6. Enjoy being connected | |
| tell application "Cisco AnyConnect Secure Mobility Client" | |
| activate | |
| end tell |