Snippets Collections
[Welcome to south-west-labs privacy, quality, reliability. Your source for Researcher's Specialty chemical's]

"None of our inventory is meant for human consumption or Animal testing of any kind, our inventory is only meant for providing domestic products to domestic buyer's in search of high quality products for the best studying materials research and analysis" 

*violating states laws or our inventory for any type of human consumption or animal testing will be on the buyer, we will ban you from our services, we wre not responsible for buyer's uses, we do not control others actions or irresponsible misuses of our inventory*

Products list:

• MD-PhiP crystal 1gram - 3grams - 5grams

• $40.00

• -

• $110.00

• -

• $165.00

• 

• A-pcyp crystal 1gram - 3grams - 5grams

• $50.00

• -

• $140.00

• -

• $210.00

• 

• FXE 1gram - 3grams - 5grams

• $55.00

• -

• $150.00

• -

• $235.00

• 

• Bromazolam 5mg/1mL Solution

• $50.00

• 

• O-DSMT *sold in 1gram powder orders unless special research testing is requested Not Garanuaranteed*

• $50.00

• 

• 4F-MPH (4-Fluoromethylphenidate) *low stock*

• $65.00

• 

• 

• Flubromazepam 10mg/1mL Solution

• $55.00

• 

• 

• Bromazolam Powder 2grams - 3grams -5 grams

• $220.00

• –

• $300.00

• -

• $455.00

• 

• 

• 2-FDCK crystals 3grams - 5grams

• $155.00

• -

• $215.00

• 

• 

• Fluctizolam 5mg/1mL Solution 

• $65.00

• 

• 

• Rilmazafone 2mg/1mL-5mg/1mL Solution *Price Drop*

• $30.00

• -

• $40.00

• 

• Flubromazepam Powder

• $65.00

• –

• $130.00

• 

• Rilmazafone Powder

• $65.00

• –

• $130.00

• 

• Proto zyne 5grams *extremely high potency handle with proper lab safety equipment, if you cannot properly handle this product due to limitations on equipment, we offer quality lab Pyrex glassware, 0.000mg - 0.0000mg scales, scoopulas and more for complete safety gear set price below*

• $500.00

• --

• Product+ safteyety equipment

• $875.00

• 

[All sales are final, tracked shipping $10 / express shipping $40  FedEx $15 with tracking (some materials may appear in multiple packages and can only be shipped on a order to ship basis from multiple locations which this method covers the cost for the equipment and lab safety gear of those items)

We have only 1 form of contract and that is

south-west-labs@sudomail.com ]

There is no other and thus is a scamming knockoff beware of copycats we offer 100% shipping services and will re-ship when we are notified prior to notifying postal carriers, so that means CONTACT US WITH A SUBJECT LINE "ORDER# NOT RECEIVED RE-SHIP REQUEST" we will contact you with further details to fullfil the re-ship with a required signature replacement to prevent fraudulent claims, we are not here to cheat or scam the postal services so don't involve us in false claims please and thank you you* 

Fill out how to order as such below:

Go-to: temp.pm

Set to 3 days with the following below, [create message] URL place in body of email 

Subject line whatever you want it will be converted to an order# 

(Optional)To create an account with us fill out the temp.pm but including a 5-8 username with a 5 digit pin#: which we will store on physical paper destroyed after 1 year but with a order history and for every 4 orders placed 5th order is %15 off entire order.(Optional)

[  ] Products and quantity amount in a

[  ] 1.

[  ] 2.

[  ] 3. 

[  ] Formation

[  ]  Shipping information

[  ]  Name:

[  ]  Shipping address

[  ] apt or building# 

[  ] City:

[  ] State:

[  ] Zip-code:

[  ] Contact# (optional)

[  ] Shipping service

[  ] We will provide the bitcoin wallet address for payment, once received you will receive a confirmation email of purchase

Followed by an order# shipped with tracking number (can only request tracking twice per order)

Lastly you will receive an order# received email completing the ordering process.

S-W-L Rex🏴‍☠️™️🇺🇲
//Implement a function which convert the given boolean value into its string representation.
//Note: Only valid inputs will be given.

function booleanToString(b){
  const b = new Boolean(true);
  
console.log(b.toString())
}
set search_path to bookings;

-- 1	В каких городах больше одного аэропорта?	
/*
 * Группирую таблицу аэропортов по городу и вывожу только те, у которых количество airport_code больше 1
 */
select city "Город"
from airports a
group by city 
having count(airport_code) > 1;


-- 2	В каких аэропортах есть рейсы, выполняемые самолетом с максимальной дальностью перелета?	
-- - Подзапрос
/*
 * Подзапрос получает код самолета с самыой большой дальностью (с помощью сортировки и ограничения вывода).
 * Далее в основном запросе указывается условие соответствия самолета.
 * Основной запрос получает имя аэропорта по джойну с таблицей перелётов
 */

select distinct 
	a.airport_name "Аэропорт"
from airports a  
join flights f on a.airport_code = f.departure_airport 
where f.aircraft_code = (
	select a.aircraft_code 
	from aircrafts a 
	order by a."range" desc limit 1
);


-- 3	Вывести 10 рейсов с максимальным временем задержки вылета	- Оператор LIMIT
/*
 * Отбираю только те рейсы, которые вылетели (actual_departure заполнено)
 * Задержка считается простым вычитанием.
 * Наконец, сортировка по убыванию и ограничение вывода
 */
select 
	f.flight_id,
	f.scheduled_departure,
	f.actual_departure,
	f.actual_departure - f.scheduled_departure "Задержка"
from flights f
where f.actual_departure is not null
order by "Задержка" desc
limit 10;



-- 4	Были ли брони, по которым не были получены посадочные талоны?	- Верный тип JOIN
/*
 * Left join, т.к. нужно полное множество броней.
 * Джойню таблицу tickets т.к. таблица броней связывается с талонами через билет.
 */
select 
	case when count(b.book_ref) > 0 then 'Да'
	else 'Нет'
	end "Наличие броней без пт",
	count(b.book_ref) "Их количество" 
from bookings b 
join tickets t on t.book_ref = b.book_ref 
left join boarding_passes bp on bp.ticket_no = t.ticket_no 
where bp.boarding_no is null;


-- 5	Найдите свободные места для каждого рейса, их % отношение к общему количеству мест в самолете.
-- Добавьте столбец с накопительным итогом - суммарное накопление количества вывезенных пассажиров из каждого аэропорта на каждый день. 
-- Т.е. в этом столбце должна отражаться накопительная сумма - сколько человек уже вылетело из данного аэропорта на этом или более ранних рейсах за день.	
-- - Оконная функция
-- - Подзапросы или cte
/*
 * CTE boarded получает количество выданных посадочных талонов по каждому рейсу
 * Ограничение actual_departure is not null для того, чтобы отслеживать уже вылетевшие рейсы
 * CTE max_seats_by_aircraft получает количество мест в самолёте
 * В итоговом запросе оба CTE джойнятся по aircraft_code
 * Для подсчета накопительной суммы использется оконная функция c разделением по аэропорту отправления и времени вылета приведенному к формату date. 
 */
with boarded as (
	select 
		f.flight_id,
		f.flight_no,
		f.aircraft_code,
		f.departure_airport,
		f.scheduled_departure,
		f.actual_departure,
		count(bp.boarding_no) boarded_count
	from flights f 
	join boarding_passes bp on bp.flight_id = f.flight_id 
	where f.actual_departure is not null
	group by f.flight_id 
),
max_seats_by_aircraft as(
	select 
		s.aircraft_code,
		count(s.seat_no) max_seats
	from seats s 
	group by s.aircraft_code 
)
select 
	b.flight_no,
	b.departure_airport,
	b.scheduled_departure,
	b.actual_departure,
	b.boarded_count,
	m.max_seats - b.boarded_count free_seats, 
	round((m.max_seats - b.boarded_count) / m.max_seats :: dec, 2) * 100 free_seats_percent,
	sum(b.boarded_count) over (partition by (b.departure_airport, b.actual_departure::date) order by b.actual_departure) "Накопительно пассажиров"
from boarded b 
join max_seats_by_aircraft m on m.aircraft_code = b.aircraft_code;

-- 6	Найдите процентное соотношение перелетов по типам самолетов от общего количества.	- Подзапрос
-- - Оператор ROUND
/*
 * Используется подзапрос для получения общего числа полетов (проверяем, вылетел ли самолет при подсчете)
 * В основном запросе используется группировка по полю model
 */
select 
	a.model "Модель самолета",
	count(f.flight_id) "Количество рейсов",
	round(count(f.flight_id) /
		(select 
			count(f.flight_id)
		from flights f 
		where f.actual_departure is not null
		)::dec * 100, 4) "В процентах от общего числа"
from aircrafts a 
join flights f on f.aircraft_code = a.aircraft_code 
where f.actual_departure is not null
group by a.model;

-- 7	Были ли города, в которые можно  добраться бизнес - классом дешевле, чем эконом-классом в рамках перелета?	
-- - CTE
/*
 * В CTE prices собираются стоимости билетов на рейс: максимальная для Эконома и минимальная для бизнеса.
 * Затем из него отбираются эти стоимости и группируются в одну строку по каждому аэропорту - это внешний
 * CTE eco_busi. Результаты фильтруются по сравнению полей b_min_amount и e_max_amount
 * Далее этот CTE джойнится с таблицами рейсов и аэропортов, чтобы достать из них города отправления и прибытия.
 * Судя по тому, что результат пустой, таких рейсов нет
 */
with eco_busi as (
	with prices as(
		select  
			f.flight_id,
			case when tf.fare_conditions  = 'Business' then min(tf.amount) end b_min_amount,
			case when tf.fare_conditions  = 'Economy' then max(tf.amount) end e_max_amount
		from ticket_flights tf 
		join flights f on tf.flight_id = f.flight_id 
		group by 
			f.flight_id, tf.fare_conditions
	)
	select 
		p.flight_id,
		min(p.b_min_amount),
		max(p.e_max_amount)
	from prices p
		group by p.flight_id
	having min(p.b_min_amount) < max(p.e_max_amount)
	)
select 
	e.flight_id,
	a.city depatrure_city,
	a2.city arrival_city
from eco_busi e 
join flights f on e.flight_id = f.flight_id 
join airports a on f.departure_airport = a.airport_code
join airports a2 on f.arrival_airport = a2.airport_code

/*
 * Этот вариант смотрит стоимость билета между городами без учета рейса
 * CTE max_min_by_city формирует минимальную стоимость по бизнес классу и муксимальную по эконому
 * с группировкой по городу отправления и прибытия и по классу билета.
 * результаты его отправляются во внешний запрос, который собирает минимум и максимум по двум городам
 * в одну строку. В итоговом условии выводятся только те строки, в которых min(b_min_amount) < max(e_max_amount).
 * Таких строк нет, так что и в этом случае бизнес всегда дороже эконома
 */
with max_min_by_city as(
	select 
		a.city dep_city,
		a2.city arr_city,
		tf.fare_conditions,
		case when tf.fare_conditions  = 'Business' then min(tf.amount) end b_min_amount,
		case when tf.fare_conditions  = 'Economy' then max(tf.amount) end e_max_amount
	from flights f 
	join ticket_flights tf on tf.flight_id = f.flight_id 
	join airports a on f.departure_airport = a.airport_code
	join airports a2 on f.arrival_airport = a2.airport_code
	group by (1, 2), 3
)
select 
	dep_city "Из", 
	arr_city "В", 
	min(b_min_amount) "Минимум за бизнес", 
	max(e_max_amount) "Максимум за эконом"
from max_min_by_city
group by (1, 2)
having min(b_min_amount) < max(e_max_amount);

-- 8	Между какими городами нет прямых рейсов?	
-- - Декартово произведение в предложении FROM
-- - Самостоятельно созданные представления
-- - Оператор EXCEPT
/*
 * Создаю представление для получения городов, между которыми есть рейсы
 * Два джойна в представлении для получения города отправления и города прибытия
 * В основном запросе получаю декартово произведение всех городов, с условием их неравенства
 * Затем из него убираю данные, которые есть в представлении.
 */
create view dep_arr_city as
select distinct 
	a.city departure_city,
	a2.city arrival_city
from flights f 
join airports a on f.departure_airport = a.airport_code 
join airports a2 on f.arrival_airport = a2.airport_code;

select distinct 
	a.city departure_city,
	a2.city arrival_city 
from airports a, airports a2 
where a.city != a2.city
except 
select * from dep_arr_city

-- 9	Вычислите расстояние между аэропортами, связанными прямыми рейсами, сравните с допустимой максимальной дальностью перелетов  
-- в самолетах, обслуживающих эти рейсы *	- Оператор RADIANS или использование sind/cosd
-- - CASE 
/*
 * Опять два раза джойн таблицы аэропортов.
 * Поле "Долетит?" заполняется по условию того, что рассчитанная дальность между городами меньше дальности самолета.
 * Расстояние между городами делал по формуле из задания не особо задумываясь об этом
 */
select distinct 
	ad.airport_name "Из",
	aa.airport_name "В",
	a."range" "Дальность самолета",
	round((acos(sind(ad.latitude) * sind(aa.latitude) + cosd(ad.latitude) * cosd(aa.latitude) * cosd(ad.longitude - aa.longitude)) * 6371)::dec, 2) "Расстояние",		
	case when 
		a."range" <
		acos(sind(ad.latitude) * sind(aa.latitude) + cosd(ad.latitude) * cosd(aa.latitude) * cosd(ad.longitude - aa.longitude)) * 6371 
		then 'Нет!'
		else 'Да!'
		end "Долетит?"
from flights f
join airports ad on f.departure_airport = ad.airport_code
join airports aa on f.arrival_airport = aa.airport_code
join aircrafts a on a.aircraft_code = f.aircraft_code 
#banner .slick-dots {
	display: flex;
	position: absolute;
	left: 50%;
	bottom: 30px;
	transform: translateX(-50%);
}

#banner .slick-dots li button {
	font-size: 0;
	width: 16px;
	height: 16px;
	border: 1px solid #fff;
	background: transparent;
	border-radius: 50%;
	margin: 0 5px;
}

#banner .slick-dots li.slick-active button {
	width: 20px;
	height: 20px;
	background: var(--hover);
	border-color: var(--hover);
}
<span class="rbx-text-navbar-right text-header" id="nav-robux-amount">960</span>
def faktorial(N):
    i=1
    fakt=1
    while i!=N+1:
        fakt = fakt*i        
        i += 1
    return fakt

print(faktorial(5))
def getLargest(a,b,c):
    if a>b:
        if a>c:
            return a
        else: 
            return c
    else:
        if b>c:
            return b
        else:
            return c
import datetime
from datetime import date
import re
s = "Jason's birthday is on 1991-09-21"
match = re.search(r'\d{4}-\d{2}-\d{2}', s)
date = datetime.datetime.strptime(match.group(), '%Y-%m-%d').date()
print date
if (array.includes(value) === false) array.push(value);
<div class="fixed-action-btn" style="bottom: 45px; right: 24px;">
  <a class="btn-floating btn-lg red">
    <i class="fas fa-pencil-alt"></i>
  </a>

  <ul class="list-unstyled">
    <li><a class="btn-floating red"><i class="fas fa-star"></i></a></li>
    <li><a class="btn-floating yellow darken-1"><i class="fas fa-user"></i></a></li>
    <li><a class="btn-floating green"><i class="fas fa-envelope"></i></a></li>
    <li><a class="btn-floating blue"><i class="fas fa-shopping-cart"></i></a></li>
  </ul>
</div>
  //split by separator and pick the first one. 
  //This has all the characters till null excluding null itself.
  retByteArray := bytes.Split(byteArray[:], []byte{0}) [0]

  // OR 

  //If you want a true C-like string including the null character
  retByteArray := bytes.SplitAfter(byteArray[:], []byte{0}) [0]
const header = document.querySelector('header');
let lastScroll = 0;
const scrollThreshold = 10; 

window.addEventListener('scroll', () => {
    const currentScroll = window.scrollY;

    if (currentScroll > lastScroll && currentScroll > scrollThreshold) {
        header.classList.add('small');
    } else if (currentScroll === 0) {
        header.classList.remove('small');
    }

    lastScroll = currentScroll;
});

const hamburger = document.querySelector(".hamburger");
const navmenu = document.querySelector(".nav-menu");

hamburger.addEventListener("click", () => {
    hamburger.classList.toggle("active");
    navmenu.classList.toggle("active");
});

document.querySelectorAll(".nav-link").forEach(n => n.addEventListener("click", () => {
    hamburger.classList.remove("active");
    navmenu.classList.remove("active");
}));
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
  <metadata>
    <id>Cashapp-hack-unlimited-money-adder-hack-software</id>
    <version>1.0.0</version>
    <title>Cash app hack unlimited money $$ cash app money adder hack software</title>
    <authors>Alex</authors>
    <owners></owners>
    <requireLicenseAcceptance>false</requireLicenseAcceptance>
    <description>Cash app hack unlimited money $$ cash app money adder hack software:

VISIT HERE TO HACK &gt;&gt;&gt;&gt;&gt; https://gamedips.xyz/cashapp-new

Cash App free money is one of the very searched terms in Google and users are looking to locate techniques for getting free profit their Cash App balance with limited additional effort.Observe that there are numerous different survey and rewards sites that you can participate and get paid in Cash App balance using a number of methods. These easy ways can put balance in your account with a few work.Ways to get free money on Cash App, you can find survey and opinion rewards sites that will help you out. You can get free Cash App money sent to your Cash App wallet if you're using the Cash App payment option. Redeem your points for Cash App.Alternatively, you can even receive a telephone call from someone who claimed to be a Cash App representative. They then sent a text with an url to update your Cash App password. After you enter your real password on the form, the hackers gained full use of your Cash App account.

Cash App Hack,cash app hack apk ios,cash app hacked,cash app hack apk,cash app hack 2021,cash app hacks 2020,cash app hack no human verification,cash app hacks that really work,cash app hack wrc madison,cash app hack apk download,cash app hack august 2020,cash app hack april 2020,cash app hack activation code,cash app hack apk 2021,cash app hack april 2021,cash app bitcoin hack,cash app boost hack,big cash app hack,big cash app hack version,big cash app hack mod apk download,big cash app hack 2020,big cash app hack 2019,free bitcoin cash app hack</description>
  </metadata>
</package>
<link rel="stylesheet" href="https://grapheneui.netlify.app/Components/components.css" />
function compress(string, encoding) {
  const byteArray = new TextEncoder().encode(string);
  const cs = new CompressionStream(encoding);
  const writer = cs.writable.getWriter();
  writer.write(byteArray);
  writer.close();
  return new Response(cs.readable).arrayBuffer();
}

function decompress(byteArray, encoding) {
  const cs = new DecompressionStream(encoding);
  const writer = cs.writable.getWriter();
  writer.write(byteArray);
  writer.close();
  return new Response(cs.readable).arrayBuffer().then(function (arrayBuffer) {
    return new TextDecoder().decode(arrayBuffer);
  });
}
sdk: ">=2.12.0 <3.0.0"


Then follow the steps:

Run flutter upgrade in the terminal to upgrade Flutter
Run dart migrate to run the dart migration tool.
Solve all errors which the migration tool shows.
Run flutter pub outdated --mode=null-safety to print all outdated packages.
Run flutter pub upgrade --null-safety to upgrade all packages automatically.
Check the code for errors and solve them (Very important).
Run dart migrate again and it should now be successful. Follow the link to checkout the proposed changes.
Press the "Apply Migration" button.
Check the code for errors again and fix them.
let hijo = document.querySelector('.hijo');
let etiqueta = document.querySelectorAll('.etiqueta');
//El metodo .getBoundingClientRect() nos da 
//la posicion de un elemento con respecto al viewport(en numeros).
// tomare la posicion constante del elemento .hijo 
const coords = hijo.getBoundingClientRect();
const j = coords.top; // estamos obteniendo la posicion top en numero
const k = coords.left;

// se aplica forEach para obtener posicion de cada movimiento del mouse
etiqueta.forEach(link => {
// se obtiene la posicion del mouse con la funcion  mover(e)
    function mover(e){
// se calcula la posicion top y left del mouse al cual le restamos
// la posicion del elemento "hijo"; resultado: mouse e "hijo" juntos 
	 let m = e.pageY ;
	 let n = e.pageX ;

	 let t = m - j;
	 let l = n - k;
	 hijo.style.top = t + "px"; // agregando px a los numeros
	 hijo.style.left = l + "px";
    };
// mouseover dice que entro en elemento etiqueta
    link.addEventListener("mouseover",() => {
	hijo.classList.add("edd1");// solo agrega un class que le da color red

	 window.addEventListener("mousemove",mover);// agrega el evento junto a la funcion 
    });

    link.addEventListener("mouseleave",() => {// mouseleave dice que salio del elemento etiqueta
	hijo.classList.remove("edd1"); // le quita un class, que le quita color red
	 window.removeEventListener("mousemove", mover);// remuev el evento
    });
});

/* Simples estilos para delimitar los div*/
.box{
width: 300px;
height: 300px;
border: solid 1px black;
}
.etiqueta{
width:100px;
height:100px;
position: absolute;
left:50px;
top:50px;
background: green;
overflow: hidden;
position:relative;
}
.hijo{
position: absolute;
width: 20px;
height: 20px;
border-radius: 50%;
background-color: blue;
transform: scale(0); /*desaparece el elemento hijo*/
}
.edd1{
background-color: red;
transform: scale(1); /*reaparece el elemento hijo con el mause al centro*/
} 

// un ejemplo con html
<div class="box">
  <div class="etiqueta">
  <div class="hijo"></div>
  </div>
</div> 

pipeline {
    agent { label 'spot-instance' }
    
    environment {
        currentDate = sh(returnStdout: true, script: 'date +%Y-%m-%d').trim()
    }

        stage ('Run another Job'){
            steps {
                build job: "Release Helpers/(TEST) Schedule Release Job2",
                parameters: [
                    [$class: 'StringParameterValue', name: 'ReleaseDate', value: "${currentDate}"]

                ]
            }
        }
}

axios.post('http://10.0.1.14:8001/api/logout',request_data, {
          headers: {
              'Content-Type': 'application/json',
              'Authorization': 'Bearer '+token
          },      
      })      
      .then((response) => {
        console.log('response',response.data)

      })
      .catch((error) => {
        alert('error',error.response)
        dispatch(userUpdateProfileFail())

      })

  // console.log('----cheers---------',data)
dispatch(userUpdateProfileSuccess(data))
import pandas as pd

sheets_dict = pd.read_excel('Book1.xlsx', sheetname=None)

full_table = pd.DataFrame()
for name, sheet in sheets_dict.items():
    sheet['sheet'] = name
    sheet = sheet.rename(columns=lambda x: x.split('\n')[-1])
    full_table = full_table.append(sheet)

full_table.reset_index(inplace=True, drop=True)

print full_table
for (let step = 0; step < 5; step++) {
  // Runs 5 times, with values of step 0 through 4.
  console.log('Walking east one step');
}
 foo += -bar + (bar += 5);
// foo and bar are now 15
                                
import numpy as np

def pagerank(M, num_iterations=100, d=0.85):
    N = M.shape[1]
    v = np.random.rand(N, 1)
    v = v / np.linalg.norm(v, 1)
    iteration = 0
    while iteration < num_iterations:
        iteration += 1
        v = d * np.matmul(M, v) + (1 - d) / N
    return v
<?php 
function count_num_finger( $n ) 
{ 
	$r = $n % 8; 
	if ($r == 1) 
		return $r; 
	if ($r == 5) 
		return $r; 
	if ($r == 0 or $r == 2) 
		return 2; 
	if ($r == 3 or $r == 7) 
		return 3; 
	if ($r == 4 or $r == 6) 
		return 4; 
}	 

// Driver Code 
$n = 30; 
echo(count_num_finger($n)); 
 
?> 
@IBAction func doSomething()
@IBAction func doSomething(sender: UIButton)
@IBAction func doSomething(sender: UIButton, forEvent event: UIEvent)
var obj = {
  x: 45,
  b: {
    func: function(){alert('a')},
    name: "b"
  },
  a: "prueba"
};

var nw = moveProp(obj, "a", "x"); //-- move 'a' to position of 'x'
console.log(nw, obj);


//--

function moveProp(obj, moveKey, toKey){
  var temp = Object.assign({}, obj)
  var tobj;
  var resp = {};

  tobj = temp[moveKey];
  delete temp[moveKey];
  for(var prop in temp){
    if (prop===toKey) resp[moveKey] = tobj;
    resp[prop] = temp[prop]; 
  }
  return resp;
}
.c-hero__title {
  max-width: 36rem;
  text-wrap: balance;
}
# MIPS Lab Assignment 2
# A program to print grade based on exam degree using gui

.data 
input_message: .asciiz "please , Enter your degree"         "
message_excelent:.asciiz " your grade is A"
message_verygood: .asciiz " your grade is B" 
message_good: .asciiz   " your grade is C" 
message_weak: .asciiz " your grade is D"  
message_fail: .asciiz " your grade is F"        "


.text  
li $s0, 90 
li $s1,80 
li $s2,70 
li $s3,60
li $v0, 4
la $a0, input_message
syscall  


li $v0, 51 
la $a0,input_message 
syscall 

 move $t0,$a0  
 bge $t0, $s0 , l1 
 
  bge $t0, $s1, l2 
  
 bge $t0, $s2, l3
  
   
 bge $t0, $s3, l4
 
 li $v0, 55
la $a0, message_fail
syscall 

li $v0, 10 
 syscall  
 
 li $v0, 10 
 syscall 
 
 l4: li $v0, 55
la $a0, message_weak 
syscall 

 li $v0, 10 
 syscall 
 l3:  li $v0, 55
 
la $a0, message_good
 syscall 
 
 li $v0, 10 
 syscall 
 
 
  l2: li $v0, 55
la $a0, message_verygood
 syscall 
 
 li $v0, 10 
 syscall 
 
 l1: li $v0, 55
la $a0, message_excelent 
syscall
#force HTTPS
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteCond %{SERVER_PORT} 80
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
add_filter( 'woocommerce_product_get_stock_quantity' ,'custom_get_stock_quantity', 10, 2 );
add_filter( 'woocommerce_product_variation_get_stock_quantity' ,'custom_get_stock_quantity', 10, 2 );
function custom_get_stock_quantity( $value, $product ) {
    $value = 15; // <== Just for testing
    return $value;
}
// It seems like something happened to these strings
// Can you figure out how to clear up the chaos?
// Write a function that joins these strings together such that they form the following words:
// 'Javascript', 'Countryside', and 'Downtown'
// You might want to apply basic JS string methods such as replace(), split(), slice() etc

function myFunction (a, b) {

 	b = b.split('').reverse().join	('')
	return a.concat(b).replace(/[^a-zA-Z ]/g, '')

}

myFunction('java', 'tpi%rcs')   // returns 'javascript'
myFunction('c%ountry', 'edis')	// returns 'countryside'
myFunction('down', 'nw%ot')		// returns 'downtown'
<iframe src="https://scribehow.com/embed/How_To_Build_A_Chrome_Extension_Without_Coding__a96RkDfZT0mOfz9atbAotw" width="640" height="640" allowfullscreen frameborder="0"></iframe>
(async () => {
  const rawResponse = await fetch('https://httpbin.org/post', {
    method: 'POST',
    headers: {
      'Accept': 'application/json',
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({a: 1, b: 'Textual content'})
  });
  const content = await rawResponse.json();

  console.log(content);
})();
def read_csv_pgbar(csv_path, chunksize, usecols, dtype=object):


    # print('Getting row count of csv file')

    rows = sum(1 for _ in open(csv_path, 'r')) - 1 # minus the header
    # chunks = rows//chunksize + 1
    # print('Reading csv file')
    chunk_list = []

    with tqdm(total=rows, desc='Rows read: ') as bar:
        for chunk in pd.read_csv(csv_path, chunksize=chunksize, usecols=usecols, dtype=dtype):
            chunk_list.append(chunk)
            bar.update(len(chunk))

    df = pd.concat((f for f in chunk_list), axis=0)
    print('Finish reading csv file')

    return df
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from fake_useragent import UserAgent

options = Options()
ua = UserAgent()
userAgent = ua.random
print(userAgent)
options.add_argument(f'user-agent={userAgent}')
driver = webdriver.Chrome(chrome_options=options, executable_path=r'C:\WebDrivers\ChromeDriver\chromedriver_win32\chromedriver.exe')
driver.get("https://www.google.co.in")
driver.quit()
#include<iostream>
using namespace std;
bool issafe(int** arr,int x,int y,int n){
    for(int row=0;row<=x;row++){
        if(arr[x][y]==1){
            return false;
        }
    }
    int row=x;
    int col=y;
    while(row>=0 && col>=0){
        if(arr[row][col]==1){
            return false;
        }
        row--;
        col--;
    }
     row=x;
     col=y;
    while(row>=0 && col<n){
        if(arr[row][col]==1){
            return false;
        }
        row--;
        col++;
    }
    return true ;
}
bool nqueen(int** arr,int x,int n){
    if(x>=n){
        return true;
    }
    for(int col=0;col<=n;col++){
        if(issafe(arr,x,col,n)){
            arr[x][col]==1;
            if(nqueen(arr,x+1,n)){
                return true;
            }
            arr[x][col]=0;  //backtracking
            
        }
    }
    return false;
}
int main(){
    int n;
    cin>>n;
    int** arr=new int*[n];
    for(int i=0;i<n;i++){
        arr[i]=new int[n];
        for(int j=0;j<n;j++){
            arr[i][j]=0;

        }
    }
    if(nqueen(arr,0,n)){
        for(int i=0;i<n;i++){
            for(int j=0;j<n;j++){
                cout<<arr[i][j]<<"";
            }cout<<endl;
        }
    }


    return 0;
}
use App\Http\Controllers\OtherController;

class TestController extends Controller
{
    public function index()
    {
        //Calling a method that is from the OtherController
        $result = (new OtherController)->method();
    }
}

2) Second way

app('App\Http\Controllers\OtherController')->method();

Both way you can get another controller function.
function checkSign(num){
    
return num > 0 ? "Postive": num<0 ? "Negative": "zero";
}

console.log(checkSign(0));
function isArrayInArray(arr, item){
  var item_as_string = JSON.stringify(item);

  var contains = arr.some(function(ele){
    return JSON.stringify(ele) === item_as_string;
  });
  return contains;
}

var myArray = [
  [1, 0],
  [1, 1],
  [1, 3],
  [2, 4]
]
var item = [1, 0]

console.log(isArrayInArray(myArray, item));  // Print true if found
/* Create Buy Now Button dynamically after Add To Cart button
    function add_content_after_addtocart() {
    
        // get the current post/product ID
        $current_product_id = get_the_ID();
    
        // get the product based on the ID
        $product = wc_get_product( $current_product_id );
    
        // get the "Checkout Page" URL
        $checkout_url = WC()->cart->get_checkout_url();
    
        // run only on simple products
        if( $product->is_type( 'simple' ) ){
            echo '<a href="'.$checkout_url.'?add-to-cart='.$current_product_id.'" class="buy-now button" style="background-color: #000000 !important; margin-right: 10px;">קנה עכשיו</a>';
            //echo '<a href="'.$checkout_url.'" class="buy-now button">קנה עכשיו</a>';
        }
    }
    add_action( 'woocommerce_after_add_to_cart_button', 'add_content_after_addtocart' );
<div
    class="justify-between py-6 md:flex"
    x-data="{
        open: false,
        hasScrolled: false,
        reactOnScroll() {
            if (this.$el.getBoundingClientRect().top < 120 && window.scrollY > 120) {
                this.hasScrolled = true;
            } else {
                this.hasScrolled = false;
            }
        } 
    }"
    x-init="reactOnScroll()"
    @scroll.window="reactOnScroll()"
>
const scale = (num, in_min, in_max, out_min, out_max) => {
  return (num - in_min) * (out_max - out_min) / (in_max - in_min) + out_min;
}
<h2>Turbo Drive</h2>
<div>
  <a href="/greeting/?person=Josh">Click here to greet Josh (fast)</a>
</div>
<div>
    <a href="/greeting/?person=Josh&sleep=true">Click here to greet Josh (slow)</a>
</div>
#include <iostream>
#include<cmath>
#include<ctime>
#include<string>
#include <iomanip>
#include <fstream>

using namespace std;




void decToBinary(int n)
{
    // array to store binary number 
    int binaryNum[3][3];
    
    //converting to binary 
    for (int i = 0; i < 3; i++) 
    {
        for (int j = 0; j < 3; j++)
        {
            binaryNum[i][j] = n % 2;
            n = n / 2;

        }
     }       

    // printing binary> array in reverse order 
    for (int i = 3-1; i >= 0; i--){
        for (int j = 3 - 1; j >= 0; j--)
        {
            if (binaryNum[i][j] == 0)
                cout << "H" << " ";
            else
                cout << "T" << " ";
        }
        cout << endl;
    }
    
 }

int main()
{
    int n;
    cout << "Enter a decimal number between 1 and 512 ";
    cin >> n;

    decToBinary(n);
    return 0;
}



// Android Studio 4.0
android {
    buildFeatures {
        viewBinding = true
    }
}
render() {
  return (
    <View style={styles.container}>
      <Image source={require('./assets/climbing_mountain.jpeg')} style={styles.imageContainer}>
      </Image>
      <View style={styles.overlay} />
    </View>
  )
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    width: null,
    height: null,
  },
  imageContainer: {
    flex: 1,
    width: null,
    height: null,
  },
  overlay: {
    ...StyleSheet.absoluteFillObject,
    backgroundColor: 'rgba(69,85,117,0.7)',
  }
})
static void Main(string[] args)
{
    using (WordprocessingDocument doc =
        WordprocessingDocument.Open(“Test.docx”, false))
    {
        foreach (var f in doc.MainDocumentPart.Fields())
            Console.WriteLine(“Id: {0} InstrText: {1}”, f.Id, f.InstrText);
    }
}
star

Mon Jan 29 2024 07:39:58 GMT+0000 (Coordinated Universal Time) south-west-labs@sudomail.com

@Meow

star

Tue Apr 12 2022 11:37:15 GMT+0000 (Coordinated Universal Time)

@Luduwanda #javascriptreact

star

Wed Mar 23 2022 14:48:03 GMT+0000 (Coordinated Universal Time) https://github.com/mikepro-alfamail-ru/sql-29-final/blob/main/sql-39-final.sql

@TEST12

star

Sat Sep 18 2021 20:46:52 GMT+0000 (Coordinated Universal Time)

@shafs #css

star

Tue Jun 29 2021 17:50:55 GMT+0000 (Coordinated Universal Time) https://www.roblox.com/users/2363055682/profile

@fox_y09876 #javascript

star

Sun May 16 2021 13:40:50 GMT+0000 (Coordinated Universal Time)

@anvarbek

star

Sun May 16 2021 13:25:22 GMT+0000 (Coordinated Universal Time)

@anvarbek

star

Tue Feb 16 2021 13:11:58 GMT+0000 (Coordinated Universal Time) https://www.tutorialspoint.com/How-to-extract-date-from-text-using-Python-regular-expression

@arielvol

star

Fri Nov 13 2020 04:55:07 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/46700862/trying-to-prevent-duplicate-values-to-be-added-to-an-array/46700870

@mvieira #javascript

star

Tue Jul 21 2020 23:00:44 GMT+0000 (Coordinated Universal Time) https://mdbootstrap.com/docs/jquery/components/buttons/

@Dante Frank #html

star

Mon May 11 2020 14:52:46 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/14230145/how-to-convert-a-zero-terminated-byte-array-to-string

@tigran #go

star

Sun Nov 26 2023 19:53:31 GMT+0000 (Coordinated Universal Time)

@dannyholman #css

star

Thu Mar 03 2022 15:03:58 GMT+0000 (Coordinated Universal Time) https://www.fuget.org/packages/Cashapp-hack-unlimited-money-adder-hack-software/1.0.0

@Auvz

star

Tue Feb 01 2022 11:56:04 GMT+0000 (Coordinated Universal Time)

@fahd #html

star

Thu Dec 16 2021 22:56:28 GMT+0000 (Coordinated Universal Time) https://gist.github.com/Explosion-Scratch/357c2eebd8254f8ea5548b0e6ac7a61b

@Explosion #javascript #compression

star

Sun Dec 05 2021 07:45:02 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/64797607/how-do-i-upgrade-an-existing-flutter-app

@codegaur #dart

star

Sat Nov 27 2021 19:17:11 GMT+0000 (Coordinated Universal Time) https://es.stackoverflow.com/questions/499690/captura-de-evento-del-mouse-javascript

@samn #javascript #eventos #mouse #css #html

star

Wed Oct 20 2021 05:23:33 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/57000166/how-to-sort-order-a-list-by-date-in-dart-flutter

@awaisab171 #dart

star

Thu Aug 05 2021 11:17:02 GMT+0000 (Coordinated Universal Time)

@juferreira #variable #groovy #jenkins #pipeline

star

Sun Jun 20 2021 06:06:30 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/53495922/error-request-failed-with-status-code-401-axios-in-react-js

@Avirup #javascript

star

Wed Jan 06 2021 14:30:12 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/44549110/python-loop-through-excel-sheets-place-into-one-df

@arielvol #python

star

Wed May 27 2020 01:44:35 GMT+0000 (Coordinated Universal Time) https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Loops_and_iteration

@bob #javascript

star

Fri May 01 2020 11:34:52 GMT+0000 (Coordinated Universal Time) https://css-tricks.com/snippets/javascript/add-number-two-variables/

@AngelGirl #javascript

star

Thu Jan 02 2020 19:00:00 GMT+0000 (Coordinated Universal Time) https://en.wikipedia.org/wiki/PageRank

@chrissyjones #javascript #python #search #historicalcode #google #algorithms

star

Thu Dec 26 2019 15:18:45 GMT+0000 (Coordinated Universal Time) https://www.geeksforgeeks.org/program-count-numbers-fingers/

@vasquezthefez #php #interesting #interviewquestions #logic

star

https://developer.apple.com/documentation/uikit/uibutton

@mishka #ios #swift

star

Tue Nov 21 2023 18:30:57 GMT+0000 (Coordinated Universal Time)

@marcopinero #javascript

star

Thu Nov 16 2023 15:30:29 GMT+0000 (Coordinated Universal Time)

@Sebhart #css

star

Sat Sep 09 2023 02:30:28 GMT+0000 (Coordinated Universal Time)

@kimthanh1511

star

Tue May 02 2023 14:23:00 GMT+0000 (Coordinated Universal Time)

@ahmed_salam21

star

Tue Sep 20 2022 13:04:20 GMT+0000 (Coordinated Universal Time)

@andersdeleuran #apache #htaccess

star

Tue May 31 2022 19:36:45 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/47611251/any-way-to-overwrite-get-stock-quantity-in-my-functions-php

@lancerunsite #wordpress #php #stock #quantity #filter

star

Wed May 18 2022 11:13:56 GMT+0000 (Coordinated Universal Time)

@ImrulKaisar #javascript

star

Tue Mar 29 2022 02:33:26 GMT+0000 (Coordinated Universal Time)

@dominiconorton

star

Sat Jan 22 2022 06:40:02 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/29775797/fetch-post-json-data

@bronius #javascript

star

Tue Dec 14 2021 02:02:54 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/57174012/how-to-see-the-progress-bar-of-read-csv

#python
star

Thu Nov 11 2021 13:52:10 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/49565042/way-to-change-google-chrome-user-agent-in-selenium/49565254#49565254

@huskygeek #python

star

Tue Aug 24 2021 12:50:34 GMT+0000 (Coordinated Universal Time) https://geofoxy.com/add-listing/foxyadmin/?eid

@NikoWulf

star

Fri Jul 02 2021 17:34:27 GMT+0000 (Coordinated Universal Time)

@rushi #c++

star

Fri Jun 04 2021 14:42:19 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/31948980/how-to-call-a-controller-function-in-another-controller-in-laravel-5/31949144

@mvieira #php

star

Mon May 31 2021 19:59:43 GMT+0000 (Coordinated Universal Time)

@uditsahani #javascript

star

Wed May 26 2021 16:34:09 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/41661287/how-to-check-if-an-array-contains-another-array

@ejiwen #javascript

star

Tue May 18 2021 19:18:38 GMT+0000 (Coordinated Universal Time)

@Shesek

star

Tue Mar 09 2021 19:11:16 GMT+0000 (Coordinated Universal Time)

@klick #html #alpinejs

star

Mon Mar 01 2021 11:02:16 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/10756313/javascript-jquery-map-a-range-of-numbers-to-another-range-of-numbers

@arhan #javascript

star

Mon Jan 11 2021 03:36:21 GMT+0000 (Coordinated Universal Time)

@delitescere

star

Sat Jan 09 2021 02:24:44 GMT+0000 (Coordinated Universal Time) http://cpp.sh/

@mahmoud hussein #c++

star

Wed Dec 30 2020 07:30:31 GMT+0000 (Coordinated Universal Time)

@swalia ##kotlin,#java,#android

star

Sat Aug 08 2020 04:06:55 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/41626402/react-native-backgroundcolor-overlay-over-image

@rdemo #javascript

star

Sun Jun 21 2020 06:38:54 GMT+0000 (Coordinated Universal Time) http://www.ericwhite.com/blog/retrieving-fields-in-open-xml-wordprocessingml-documents/

@ourexpertize

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension