Skip to content

Instantly share code, notes, and snippets.

View photizzo's full-sized avatar

Ememobong Akpanekpo photizzo

View GitHub Profile
@photizzo
photizzo / O'Reilly Design Books (Free).md
Created July 4, 2017 14:09 — forked from udezekene/O'Reilly Design Books (Free).md
Download the just released O'Reilly Design Books for free without e-mail signup.

Free O'Reilly Design Books and convenient script to just download them.

HUGE thanks to O'Reilly for making this resource free. Visit the design page if you want to learn more about the design resources. Also, they do have FREE resources for other topics like: Data, IoT, Programming, Security, Web Development, and WebOps.

Thanks @augbog for the initial gist. If you are a developer or looking for software engineering books, headover to the source of this fork.

How to use:

  1. Take the download.sh file and put it into a directory where you want the files to be saved.
  2. cd into the directory and make sure that it has executable permissions (chmod +x download.sh should do it)
package life.league.genesis.core.theme.compose
import android.util.Log
import androidx.compose.foundation.layout.Column
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.text.TextStyle
import androidx.compose.ui.text.font.FontFamily
import androidx.compose.ui.text.font.FontWeight
package co.tractionapp.traction.main.pages.products
import android.app.Activity.RESULT_OK
import android.app.Dialog
import android.content.Intent
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import android.view.*
import co.tractionapp.data.room.objects.TractionProductCategory
@photizzo
photizzo / audio.json
Last active September 13, 2021 12:41
{
"results": [ {
"alternatives": [ {
"confidence": 0.7541675,
"transcript": "as we prepare for these meeting this is just",
"words": [ {
"endTime": "0.100s",
"startTime": "0s",
"word": "as"
}, {
package com.eyowo.android.report.ui.util
import android.widget.ImageView
import android.widget.TextView
import com.eyowo.android.core.utils.ext.isAvailable
import com.eyowo.android.core.utils.ext.isNotAvailable
import com.eyowo.android.core.utils.getTransactionsImage
import com.eyowo.android.core.utils.toTitleCase
import com.eyowo.android.report.R
import com.eyowo.android.report.model.ExpensesModel
@DisplayName("Upload Profile")
@Test
public void execute() throws Exception {
// set timeout for driver actions (similar to step timeout)
// driver.manage().timeouts().implicitlyWait(15000, TimeUnit.MILLISECONDS);
By by;
boolean booleanResult;
FileUploader.UploadFileToInputElementAction uploadFileToInputElementAction;
RandomDataGenerator.GenerateName generateName;
RandomDataGenerator.GenerateNumberInRange generateNumberInRange;
@photizzo
photizzo / AcceptAQuote.java
Created June 23, 2021 08:59
Quote test classes
package com.idealabs.Playground;
import io.testproject.sdk.drivers.ReportingDriver;
import io.testproject.sdk.drivers.web.RemoteWebDriver;
import io.testproject.sdk.interfaces.junit5.ExceptionsReporter;
import org.junit.jupiter.api.*;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeOptions;
@photizzo
photizzo / DisapprovingQuote.java
Created June 22, 2021 19:36
Disapprove and reject quote
package com.idealabs.Playground;
import io.testproject.sdk.drivers.ReportingDriver;
import io.testproject.sdk.drivers.web.RemoteWebDriver;
import io.testproject.sdk.interfaces.junit5.ExceptionsReporter;
import org.junit.jupiter.api.*;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;
import org.openqa.selenium.By;
// set timeout for driver actions (similar to step timeout)
driver.manage().timeouts().implicitlyWait(15000, TimeUnit.MILLISECONDS);
By by;
boolean booleanResult;
// 1. Navigate to '{{ApplicationURL}}'
// Navigates the specified URL (Auto-generated)
GeneratedUtils.sleep(500);
driver.navigate().to(ApplicationURL);
// set timeout for driver actions (similar to step timeout)
driver.manage().timeouts().implicitlyWait(15000, TimeUnit.MILLISECONDS);
By by;
boolean booleanResult;
// 1. Navigate to '{{ApplicationURL}}'
// Navigates the specified URL (Auto-generated)
GeneratedUtils.sleep(500);
driver.navigate().to(ApplicationURL);