This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'JSON' | |
device_types = JSON.parse `xcrun simctl list -j devicetypes` | |
runtimes = JSON.parse `xcrun simctl list -j runtimes` | |
devices = JSON.parse `xcrun simctl list -j devices` | |
devices['devices'].each do |runtime, runtime_devices| | |
runtime_devices.each do |device| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
signingConfigs { | |
release | |
} | |
buildTypes { | |
release { | |
signingConfig signingConfigs.release | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set fish_greeting (set_color red)' ___ | |
___======____='(set_color yellow)'---='(set_color red)') | |
/T \_'(set_color yellow)'--==='(set_color red)') | |
L \ '(set_color yellow)'(@) '(set_color red)'\~ \_'(set_color yellow)'-=='(set_color red)') | |
\ / )J'(set_color yellow)'~~ '(set_color red)'\\'(set_color yellow)'-='(set_color red)') | |
\\\\___/ )JJ'(set_color yellow)'~~ '(set_color red)'\) | |
\_____/JJJ'(set_color yellow)'~~ '(set_color red)'\ | |
/ \ , \\'(set_color red)'J'(set_color yellow)'~~~~ \ | |
(-\)'(set_color red)'\='(set_color yellow)'| \~~~ L__ | |
('(set_color red)'\\'(set_color yellow)'\\) ( -\)_ ==__ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Arrays; | |
import java.util.Collections; | |
public class PartialSort<T extends Comparable<T>> { | |
private T[] data; | |
public PartialSort(T[] lst) { | |
data = lst; | |
} |