Skip to content

Instantly share code, notes, and snippets.

View luisxiaomai's full-sized avatar
🎯
Focusing

luxiaomai luisxiaomai

🎯
Focusing
  • shanghai
View GitHub Profile
@luisxiaomai
luisxiaomai / 20211210-TLP-WHITE_LOG4J.md
Created December 13, 2021 09:05 — forked from SwitHak/20211210-TLP-WHITE_LOG4J.md
BlueTeam CheatSheet * Log4Shell* | Last updated: 2021-12-12 2204 UTC

Security Advisories / Bulletins linked to Log4Shell (CVE-2021-44228)

Errors, typos, something to say ?

  • If you want to add a link, comment or send it to me
  • Feel free to report any mistake directly below in the comment or in DM on Twitter @SwitHak

Other great ressources

@luisxiaomai
luisxiaomai / xcodebuild flags.md
Created December 19, 2017 03:36 — forked from mtauraso/xcodebuild flags.md
Xcodebuild flags in CI

Xcodebuild flag reference for CI:

Required flags:

-project OR -workspace

What xcode project/workspace file we're using. If you specify a project on the command-line and that project has an associated workspace, the project is still aware of its existence within the workspace. As an example, worspace level schemes will be available to xcodebuild even if you specify a project on the command line.

-scheme

Specify the scheme to use for build. Schemes specify multiple build/test targets along with environment args and command line parameters. Schemes must be marked "shared" in the xcode UI in order to be available to xcodebuild. For any particular build/test action there is a default configuration when you use a scheme from the Xcode UI.

@luisxiaomai
luisxiaomai / GIF-Screencast-OSX.md
Created November 21, 2016 03:36 — forked from dergachev/GIF-Screencast-OSX.md
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@luisxiaomai
luisxiaomai / ui_testing_in_xcode.md
Created November 8, 2016 07:05 — forked from rbobbins/ui_testing_in_xcode.md
UI Testing in Xcode

Wil Turner, Brook Callhan: Speakers

##3 Main components/concepts that enable UI Testing:##

  • UITesting
    • Find and interact w/ UI elements
    • Validate UI properties and state
  • UIrecording
    • Updated test reports to include UI testing data
    • UI testing is enabled by XCTest and UI Accesibility
@luisxiaomai
luisxiaomai / Test.java
Last active August 29, 2015 14:07 — forked from klepikov/Test.java
import java.io.IOException;
import java.net.URL;
import java.util.Date;
import java.util.List;
import java.util.logging.Level;
import org.json.*;
import org.openqa.selenium.*;
import org.openqa.selenium.chrome.*;
import org.openqa.selenium.logging.*;