Solving the mystery from https://mystery.knightlab.com/
.
.
.
Solving the mystery from https://mystery.knightlab.com/
.
.
.
accessToken="<Bitrise token>" | |
file="bitrise_results.csv" | |
response=$(curl "https://api.bitrise.io/v0.1/builds?limit=50" -H "accept: application/json" -H "Authorization: $accessToken") | |
echo "Clearing out $file" | |
# These need to match the fields specified in the jq .data | map | |
echo "Triggered, Finished, Status, Slug, Workflow, Triggered by, Repo" > $file |
#!/bin/sh | |
MSG_FILE=$1 | |
#Assumes branch names in the format type/ticket-number-description-of-ticket | |
TICKETNO=`git on | cut -d'/' -f 2 | cut -d'-' -f '-2'` | |
MSG=`cat $MSG_FILE` | |
TITLE=`head -n 1 $MSG_FILE` | |
if [[ $TITLE = *"$TICKETNO"* ]]; then |
This script will look for unused android.app.Activity
classes in an IntelliJ project. To use, open the IDE scripting console, paste in this script and then press Ctrl+A and then Ctrl+Enter.
This is a work in progress
unknowns
list and is printed just before potentially unused activities.getStartIntent
# Import git_shared_config | |
[include] | |
path = <path_to_shared_config> | |
# Use Notepad++ as editor of choice | |
[core] | |
editor = notepad++ -multiInst -nosession | |
autocrlf = true | |
# Use intellij or kdiff3 as merge and difftool by setting tool = kdiff3 or tool = intellij | |
[mergetool "kdiff3"] | |
path = D:/Program Files (x86)/KDiff3/kdiff3.exe |
#include <stdio.h> | |
#include <jpeglib.h> | |
#include <iostream> | |
using namespace std; | |
JBLOCKARRAY rowPtrs[MAX_COMPONENTS]; | |
void read(jpeg_decompress_struct srcinfo, jvirt_barray_ptr * src_coef_arrays) { | |
//cout << "Started reading DCT" << endl; |
@echo off | |
rmdir maven | |
set version=apache-maven-%1 | |
echo Setting maven version to %version% | |
mklink /D maven %version% |