Skip to content

Instantly share code, notes, and snippets.

View ashryanbeats's full-sized avatar
🔋

Ash Ryan Arnwine ashryanbeats

🔋
View GitHub Profile
Codapi: https://github.com/nalgeon/codapi
@ashryanbeats
ashryanbeats / journey-analytics.txt
Last active January 24, 2024 19:30
Journey analytics
Common room: https://www.commonroom.io/
Orbit: https://orbit.love/
reo.dev
@ashryanbeats
ashryanbeats / developer-portal-providers.txt
Last active January 23, 2025 01:46
Developer Portal providers
Pronovix: https://pronovix.com/
APImatic: https://www.apimatic.io
Apiable: https://www.apiable.io/
Readme: https://readme.com/
Moesif: https://www.moesif.com/solutions/developer-portal
Fern: https://www.buildwithfern.com/
Developer Hub: https://developerhub.io/
Theneo: https://www.theneo.io/
Mintlify: https://mintlify.com
@ashryanbeats
ashryanbeats / sdk-generators.txt
Last active October 30, 2024 20:32
SDK generators
Coast: https://www.trycoast.com/
APIMatic: https://www.apimatic.io/
Fern: https://www.buildwithfern.com/
Kiota: https://github.com/microsoft/kiota
SDKgen: https://sdkgen.app/
Sideko: https://www.sideko.dev/
Liblab: https://liblab.com
Speakeasy: https://www.speakeasyapi.dev/
Stainless: https://www.stainlessapi.com
#!/bin/bash
if [ -n "$ZSH_VERSION" ]
then
echo "zsh detected. What a nice shell you have!"
else
echo "zsh is required. Sorry about that..."
echo ""
exit 1
fi
@ashryanbeats
ashryanbeats / 0_reuse_code.js
Last active August 29, 2015 14:17
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
var obj = {name: "Ash", place: "Osaka"};
obj.valueOf = function() {return this.name}; // valueOf will return whatever is assigned it to be the object's soft value.
obj.valueOf(); // this is how you could call it.
obj == "Ash" // Soft comparison resolves to true.
obj === "Ash" // Strict comparison resolves to false.
function bubbleSort(array) {
if (array.length === 1) {
return array;
}
//loop through array
for (var i = 0; i < array.length; i++) {
if(array[i] > array[i + 1]) {
var x = array[i];
describe('Bubble Sort', function(){
it('handles an empty array', function(){
expect( bubbleSort([]) ).toEqual( [] );
});
it('handles a single item', function(){
expect( bubbleSort([1]) ).toEqual( [1] );
});
it('handles two out-of-order items', function(){
expect( bubbleSort([2, 1]) ).toEqual( [1, 2] );
});