Skip to content

Instantly share code, notes, and snippets.

View jtello's full-sized avatar

Julio Tello jtello

View GitHub Profile
quellish /
Created October 28, 2014 03:03
Xcode CI script variables



To run bot successfully
1. its important to install certificates on System in key chine. Instead of login
2. its important to copy provisioning profiles to xcodeServer/provisioning profiles folder. i e. cp ~/Library/MobileDevice/Provisioning\ Profiles/* /Library/Developer/XcodeServer/ProvisioningProfiles/
3. Allow all applications to access this item should be checked ,in key chine in system -> certificates ->distribution certificate
4. open ~/.profile and add export LANG=en_US.UTF-8 to file
echo "run script"
echo $LANG
Mac OS El Capitan 10.11.1
Server v5.0.15
Xcode 7.1
In your bot settings, go to the triggers tab and add a "Run script" After Integration:
-ipaPath "${XCS_OUTPUT_DIR}/ExportedProduct/Apps/${XCS_BOT_NAME}.ipa"
-groupAliases GROUP_1,GROUP_2
voidrender /
Created June 3, 2015 16:34
A sample script to add to an After Integration Run Script step for an Xcode Server bot.
# This is the path to a directory we have hosted by the web server on our Xcode Server
# Replace both instances of YourProduct with the name of your product
# You probably don't need all of the --remove-filter options, either.
alcove --verbose --product-name YourProduct --remove-filter *Masonry*,*YourProduct.iOSTest*,*iPhoneSimulator* --output-directory $output_directory
trolologuy /
Last active April 7, 2021 02:07
Simple Telegram notifications bot using curl. Planned for use with travis to get notified on build status sending most of the required information added a login-notifier as well..
curl -fqsSL | bash
axemclion / MessageQueueSpy.js
Last active February 8, 2023 06:25
Message Queue - Replay React Native Message Queue
import MessageQueue from 'react-native/Libraries/BatchedBridge/MessageQueue.js';
const WHITELIST = ['UIManager'];
const NOOP = () => { };
let queue = [];
let now = 0;
export default {
start() {
MessageQueue.spy(msg => {
linux-china /
Last active April 20, 2023 07:48
multipass shell completion for zsh & bash
complete -c multipass -n "__fish_use_subcommand" -s h -l help -d 'Prints help information'
complete -c multipass -n "__fish_use_subcommand" -s V -l version -d 'Prints version information'
complete -c multipass -n "__fish_use_subcommand" -f -a "delete" -d 'Delete instances'
complete -c multipass -n "__fish_use_subcommand" -f -a "exec" -d 'Run a command on an instance'
complete -c multipass -n "__fish_use_subcommand" -f -a "find" -d 'Display available images to create instances from'
complete -c multipass -n "__fish_use_subcommand" -f -a "get" -d 'Get a configuration setting'
complete -c multipass -n "__fish_use_subcommand" -f -a "help" -d 'Display help about a command'
complete -c multipass -n "__fish_use_subcommand" -f -a "info" -d 'Display information about instances'
complete -c multipass -n "__fish_use_subcommand" -f -a "launch" -d 'Create and start an Ubuntu instance'
complete -c multipass -n "__fish_use_subcommand" -f -a "list" -d 'List all available instances'
zbraniecki /
Last active April 7, 2024 04:42
Rust <--> C/C++ FFI for newbies

As Gecko is moving toward more Rust code, the cases where Rust and C code interoperate will become more common.

This document is an attempt to ease the learning curve for engineers facing it for the first time. It assumes no prior experience with cross-language C interfaces (called FFI).

It also assumes that Rust code is already built into Gecko. If you need help with that, read Introducing Rust code in Firefox.

What can you transfer across the fence

tuxfight3r /
Last active June 21, 2024 14:44
Bash keyboard shortcuts

Bash Shortcuts

visual cheetsheet


command description
ctrl + a Goto BEGINNING of command line
subfuzion /
Last active June 22, 2024 13:47
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.