Skip to content

Instantly share code, notes, and snippets.

View defnngj's full-sized avatar

虫师 defnngj

View GitHub Profile
@zoonderkins
zoonderkins / mac-install-nerd-font.md
Last active June 13, 2023 10:07
Mac install Nerd Font

Mac install Nerd Font (Fire code)

brew cask
brew tap homebrew/cask-fonts 
brew install font-fira-code
brew install font-Fira-Code-nerd-font
brew install font-hack-nerd-font
@biwkf
biwkf / gist:b0ebb9940e6341ed5e588f148b4381a8
Created February 27, 2019 15:10
Automating deeplinks with Appium on iOS real device
/* On a real device it is not possible to simply call driver.get("url"), doing so will open SIRI and query with "url" resulting in a search.
Instead we can take advantage of Safari's launch parameters and pass deep link URL as argument.
Below is an example: */
String deepLinkURL = "deeplink://";
driver.executeScript("mobile: terminateApp", ImmutableMap.of("bundleId", "com.apple.mobilesafari"));
List args = new ArrayList();
@fragmuffin
fragmuffin / .gitignore
Last active June 27, 2024 03:28
python unittest skip by label
__pycache__
@jridgewell
jridgewell / iOSOpenDev-Install.sh
Created April 3, 2013 06:32
A script to install iOSOpenDev
#!/bin/bash
# --------------------------------------------------------------
# iOSOpenDev -- iOS Open Development (http://www.iOSOpenDev.com)
# Copyright (C) 2012 Spencer W.S. James <dev@iosopendev.com>
# --------------------------------------------------------------
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.