SQL

DELETE FROM tblemployee 
WHERE user_id IN
    (SELECT user_id 
    FROM 
        (SELECT user_id, name,
         		ROW_NUMBER() OVER( PARTITION BY "name" 
        		ORDER BY  user_id ) AS row_num
        FROM tblemployee ) t        
        WHERE t.row_num > 1 );
-- 1 method
select e.name, t.deptname, e.salary from
(select avg(salary) as averagesalary from tblemployee) as Budget, --first from
tblemployee as e  --second from
join tbldepartment t
on e.deptid = t.deptid
where e.salary > Budget.averagesalary;
-- 2th method
select e.name, t.deptname, e.salary from
tblemployee as e
join tbldepartment t
on e.deptid = t.deptid
where e.salary > (select avg(salary) as averagesalary from tblemployee);
-- using window partition to group by department
WITH cte_emp AS  (
    select t.name, t.deptid, t.salary, td.deptname,
        rank()OVER ( PARTITION BY t.deptid ORDER BY salary desc) highestsalaryRank
        --penggunaan rank over karena di partisi sesuai deptid, jadi hasil salary lebih                       terstruktur,
        --dan duplikat di rank over dihitung sebagai value
        --penggunaan dense_rank, maka duplikat tidak akan di anggap value baru, jadi tetap                 teroganisir secara berurutan
    FROM 
        tblemployee t
    join tbldepartment td
    on t.deptid = td.deptid
)

SELECT *
FROM cte_emp;
--find the 3rd and nth salary
select * 
from(
	select name, salary, 
	dense_rank()  over(order by salary desc)r
from tblemployee) as salarySort
where r in (2,3); -- find the salary based on the r value, sort by dense rank
Select Count(*)
From   mySchema.myTable
Where  Cast(Col1 As NVarChar(128)) +
       Cast(Col2 As NVarChar(128)) +
       Cast(Coln As NVarChar(128)) Like '%?%'
SELECT CONCAT('Q',QUARTER(`Date`), ' ',YEAR(`Date`))
FROM
  datetable
ORDER BY `Date`;

| CONCAT('Q',QUARTER(`Date`), ' ',YEAR(`Date`)) |
| --------------------------------------------- |
| Q1 2011                                       |
| Q2 2011                                       |
| Q3 2011                                       |
| Q4 2011                                       |
| Q1 2012                                       |
| Q2 2012                                       |
| Q3 2012                                       |
| Q4 2012                                       |
| Q1 2013                                       |
| Q2 2013                                       |
| Q3 2013                                       |
| Q4 2013                                       |
--------------dapatkan total sales di tiap quarter per tahun di tabel order

select *, lag(totalsales, 1) over(partition by year order by q_quarter) as previousquartersales
from( 
	select totalsales,year,concat('Q','', quarter) as Q_quarter
from(
	select round(sum(ot.sales)) as totalsales,
	extract(year from order_date)as year,
	extract(quarter from order_date) as quarter
	from orders_table as ot 
	group by 2,3
	order by 2,3 asc
	) t1
) t2



----------------
select *, lag(ss)over(partition by region,y order by y, q asc)
from(
select extract(year from order_date) as y, extract(quarter from order_date)as q, sum(sales)as ss, region 
from orders_table as ot 
group by 1,2,4
)t1
----------------(1)
CREATE TABLE "BinarPlatinum".trialaja (
	fruit varchar NULL
);
----------------------(2)
insert into trialaja (fruit)
values ('mango')
--------------------(3)
select * from trialaja as t;

------(not working without primary key, delete all) (4)
delete 
from trialaja 
where fruit in(
		select fruit
		from(
		select *,row_number()over(partition by fruit) as rn
		from trialaja as t 
		) t1
		where rn > 1
		)

select * from trialaja as t;
------------------------------------------------------------------------------------------------
---(working without pirmary key) menggunakan 

delete from trialaja 
		WHERE ctid IN (SELECT ctid
              			 FROM   (SELECT ctid, fruit,
                             	 ROW_NUMBER() OVER (
                           	     PARTITION BY fruit) AS rn
                     		 	 FROM trialaja as t) b
            		   WHERE  rn > 1);

select * from trialaja as t;
SELECT    
	first_name, 
	last_name, 
	phone, 
	REPLACE(REPLACE(phone, '(', ''), ')', '') phone_formatted
FROM    
	sales.customers
WHERE phone IS NOT NULL
ORDER BY 
	first_name, 
	last_name;
 ------create new temp table-----

 create table order_temp3 as
select row_number()over()as rn,* 
from "BinarPlatinum".orders_table;

----drop existing table
drop table "BinarPlatinum".orders_table; 

----rename new temp table into orders_table
ALTER TABLE public.order_temp3 RENAME TO orders_table;
----temukan total pembelian terbanyak berdasarkan category tiap tahun

with t1 as(
select ct.category,sum(quantity) as totalbuy,extract(year from order_date) as datee
from orders_table as ot
join categories_table as ct
on ot.product_id = ct.productid
group by 1,3
)

select *
from t1
order by datee asc, totalbuy desc;
select *
from location_csv as lc 
where lastname = ''

UPDATE location_csv 
SET lastname = NULLIF(lastname, '')
update train_employeedatabase_csv 
set yeargroup = case when age < 18 then 'Under 18'
when age between 18 and 24 then 'On 18-24'
when age between 25 and 34 then 'On 25-34'
when age > 34 then 'Over34'
end 
  update dept1
set jobrole = replace(jobrole,'Manager','Manager Sales')
where department = 'Sales';
SELECT 
  ship_country,
  SUM(CASE
    WHEN status = 'shipped' OR status = 'delivered' THEN 1
    ELSE 0
  END) AS order_shipped
FROM orders
GROUP BY ship_country;
--find each sale for each city and state based on their yearly sale, and sum them all

select *, sum(sale)over(partition by yyyy)
from(
select city,state, extract(year from order_date ) as yyyy, sum(sales)as sale
from orders_table as ot
where state = 'New York'
group by 1,2,3
)t1
select *, regexp_replace(t1, '[[:digit:]]+', '','g') -- remove all number in t1
from
(
select *, 
regexp_replace(name, '[^a-zA-Z0-9]+', '','g')as t1 -- remove all special lcharacter
,regexp_replace(number, '[^a-zA-Z0-9]+', '','g') as t2 --remove all special character
from remove_specialcharacter_csv as rsc 
) tt
----find quarter sale in each state
select *,
sum(sale)over(partition by yyyy, region order  by yyyy,qqqq rows between unbounded preceding and current row) as cummulativesum,
sum(sale)over(partition by yyyy, region) as totalyearlysale,
lag(sale, 1, 0)over(partition by region order by region, yyyy, qqqq asc) as lastyearsale,
lead(sale, 1, 0)over(partition by region order by region, yyyy, qqqq asc) as nextyearsale,
percent_rank() over(partition by region, yyyy order by qqqq asc)
from
(
select region, extract(year from order_date) as yyyy
, extract(quarter from order_date) as qqqq
, round(sum(sales)) as sale
from orders_table
group by 1, 2, 3
)t1---first
where region in ('South','West') and
yyyy in ('2016','2017')
select t3,  '( ' || SUBSTRING(CAST(t3 AS VARCHAR) FROM 1 FOR 4) || ' ) '
|| SUBSTRING(CAST(t3 AS VARCHAR) FROM 5 FOR 3) || '-' 
 || SUBSTRING(CAST(t3 AS VARCHAR) FROM 8 FOR LENGTH(CAST(t3 AS VARCHAR)))

|| to concentate between 2 strings or more

Syntax: REGEXP_REPLACE(source, pattern, replacement_string, [, flags])


select *, regexp_replace(t1, '[[:digit:]]+', '','g'),--remove all number in t1
regexp_replace(t2, '[[:alpha:]]+', '','g')as t3-- remove all alpahbets in t2
from
(
select *, 
regexp_replace(name, '[^a-zA-Z0-9]+', '','g')as t1 -- remove all special lcharacter
,regexp_replace(number, '[^a-zA-Z0-9]+', '','g') as t2 --remove all special character
from remove_specialcharacter_csv as rsc 
) tt

regexp_replace(t1, '\D', '','g')as t3, -- remove all letter in t1
regexp_replace(t2, '\d', '','g')as t5-- remove all number in t2


\d	matches any digit, like [[:digit:]] -- nomor 1-9
\s	matches any whitespace character, like [[:space:]]
\w	matches any word character, like [[:word:]]
\D	matches any non-digit, like [^[:digit:]] --- bukan nomor
\S	matches any non-whitespace character, like [^[:space:]]
\W	matches any non-word character, like [^[:word:]]

^	matches at the beginning of the string
$	matches at the end of the string
we have used Regular Expression in PostgreSQL using the TILDE (~) operator and the wildcard ‘.*’.
the expression can be implemented as “^.*$”.

                                                               
                                                               
SELECT * FROM GreaterManchesterCrime WHERE CrimeID ~ ‘^[A-Z].*$’ --A 1 UPPERCASE STRING
SELECT * FROM GreaterManchesterCrime WHERE CrimeID ~ ‘^[0–9].*$’ --0 1 NUMBER

SELECT * FROM GreaterManchesterCrime WHERE CrimeID ~ ‘^[A-Z] [A-Z].*$’ -- 2 UPPERCASE STRING
OR
SELECT * FROM GreaterManchesterCrime WHERE CrimeID ~ ‘^[A-Z] {2}.*$’ -- 2 UPPERCASE STRING

SELECT * FROM GreaterManchesterCrime WHERE CrimeID ~ ‘^[0–9]{2}.*$’ --2 NUMBER
SELECT * FROM GreaterManchesterCrime WHERE CrimeID ~ ‘^[A-Z][0–9].*$’ --  1 UPPERCASE 1 NUMBER
[A-Z][A-Z]\d\d = 2 UPPERCASE LETTER AND 2 DIGIT STRING
meaning only 2 UPPER followed by 2 digit can show up

SELECT REGEXP_REPLACE('ABC12345xyz', '[[:alpha:]]', '', 'g'); -- menghilangkan string
SELECT REGEXP_REPLACE('ABC12345xyz', '\D', '', 'g'); -- menghilangkan string

SELECT REGEXP_REPLACE('ABC12345xyz', '[[:digit:]]', '', 'g'); -- menghilangkan number
SELECT REGEXP_REPLACE('ABC12345xyz', '\d', '', 'g'); -- menghilangkan number

select regexp_replace(replace('dadjkasdkjad21312....','.',''),'[a-z]','','g')
select *, sum(sale)over(order by yyyy rows between unbounded preceding and current row)
from(
select sum(sales) as sale,extract(year from order_date)yyyy
from orders_table as ot
group by 2
order by 2 asc
)t1;
UPDATE emp_info
SET address = ''
WHERE address IS NULL;
SELECT * FROM emp_info;

UPDATE emp_info
SET salary_$ = 0
WHERE salary_$ IS Null;
SELECT * FROM emp_info;
select *,row_number()over()
insert into table1
from location_table as lt 
select
year, medals,
  sum(medals) over (order by year asc) as medal_rt
from medal_table
split_part
case when, sum case when
round
coalsece = COALESCE(Title,Suffix,FirstName) AS NewValue
lag
partition by 
lead
extract
concat('Q','',qt_sale)
concat_ws
len
charindex
ntile
rows between unpreceding bound and current rows/ preceding bound
|| 
substring
replace
rollup(column name) = GROUP BY
cube(column name) = GROUP BY - non hierical, calculate all possible aggregations
update-set, alter table-add
into
isnull, column = null
cast or using ::
wildcard % like, like 200_ (underscore wildcard), not like,
string_agg(column name, ',') put column name and delimiter, and it sorted based on the value 
lower
upper
initcap
LPAD 
ilike
substring = - SELECT substring('$15us', 2, 2)AS price;
  			- substring(email from position('@'in email)+1 for char_length(email)),
			- left(email, position('@' in email)-1)

SELECT * from Product_sales where (From_date <= '2013-01-09' AND To_date >= '2013-01-01')


SELECT * FROM Orders
WHERE OrderDate BETWEEN '1996-07-01' AND '1996-07-31';

CREATE TABLE student(
   id SERIAl,
INSERT INTO newtable (year,medal) VALUES
	 (1992,23),
	 (1993,123),
	 (1994,12),
	 (1995,22),
	 (1997,35),
	 (1996,68);
	 
	
alter table newtable
add idtest serial primary key;

select *
from newtable as n 

TRUNCATE TABLE newtable RESTART IDENTITY; > reset to zero (the idtest primarykey)
CREATE TABLE contacts(
    id INT NOT NULL PRIMARY KEY,
    name VARCHAR(50),
    age INT NOT NULL,
    active VARCHAR(10)
);

WITH contacts_json (doc) AS (VALUES(
'[
    {
        "id": 1,
        "name": "Jimmy",
        "age": 25,
        "active": "yes"
    },
    {
        "id": 2,
        "name": "Annie",
        "age": 22,
        "active": "yes"
    },
    {
        "id": 3,
        "name": "John",
        "age": 21,
        "active": "no"
    },
    {
        "id": 4,
        "name": "Mark",
        "age": 15,
        "active": "no"
    },
    {
        "id": 5,
        "name": "Shelly",
        "age": 20,
        "active": "yes"
    }
]'::json))
INSERT INTO contacts (id, name, age, active)
SELECT p.* FROM contacts_json l CROSS JOIN lateral
json_populate_recordset(NULL::contacts, doc) AS p ON conflict (id)
do UPDATE SET name = excluded.name, active = excluded.active;

select * from contacts as c 
--moving average
With US_medals as ()

select year,medals,
  avg(medals)over(order by year asc rows between 2 preceding and current row) as medasls_MA
from US_medals
order by year asc;

--moving total
With US_medals as ()

select year,medals,
  sum(medals)over(order by year asc rows between 2 preceding and current row) as medasls_MT
from US_medals
order by year asc;
CREATE EXTENSION IF NOT EXISTS tablefunc;

SELECT * FROM CROSSTAB($$
  WITH Country_Awards AS (
    SELECT
      Country,
      Year,
      COUNT(*) AS Awards
    FROM Summer_Medals
    WHERE
      Country IN ('FRA', 'GBR', 'GER')
      AND Year IN (2004, 2008, 2012)
      AND Medal = 'Gold'
    GROUP BY Country, Year)

  SELECT
    Country,
    Year,
    RANK() OVER
      (PARTITION BY Year
       ORDER BY Awards DESC) :: INTEGER AS rank
  FROM Country_Awards
  ORDER BY Country ASC, Year ASC;
-- Fill in the correct column names for the pivoted table
$$) AS ct (Country VARCHAR,
           "2004" INTEGER,
           "2008" INTEGER,
           "2012" INTEGER)

Order by Country ASC;
--using rollup
select coalesce(department,'All Department Count'),
coalesce(jobrole,'All Jobrole Count'), count(*) 
from masterdataset as m 
group by rollup(department ,jobrole) -- department is the hierachy = department > jobrole
order by department, count(*) desc 

--using cube
select coalesce(department,'All Department Count'),
coalesce(jobrole,'All Jobrole Count'), count(*) 
from masterdataset as m 
group by cube(department,jobrole)
order by department
-----------------------
select date_trunc('month', current_date) - interval '1 month' - interval '1 day'
--Which means: truncate the current date to the first day of the month, then go back 1 month and one day.

SELECT
    justify_days(INTERVAL '30 days'),
    justify_hours(INTERVAL '24 hours');
SELECT
    justify_interval(interval '1 year -1 hour');

--find which weekof month
TO_CHAR( registration_date , 'W' )::integer as weekofmonth
extract to_char as INT/String
--find hour in date
date_part('hour', order_time) as hour_ordered
date_part('dow',registration_date)  as dayofweek
-- extract date_part as INT
---
extract(dow from order_time) as dayofweek
-------------------------------------------------------------------------------------------------
--if we want to use date in one column, our row in column value cannot contain string, we can use the option nullif(column name, 'string') to replace string into NULL

PARSING DATE
DATE change text value to date column, but the string has to be in digit only
date('monday, june 10th 2014') = error because DATE only expect STRING IN DIGIT(0-9) NOT A-Z
--so we can use

TO_date(date_String, format_string) = date value
--The first argument is the string that you want to convert to a date.
-- The second one is the input format. The TO_DATE() function returns a date value.
to_Date('monday, june 10th 2014', 'Day, mm , yyyy') = DATE value
SELECT TO_DATE('20170103','YYYYMMDD') >  2017-01-03
SELECT TO_DATE('2017 Feb 20','YYYY Mon DD'); >  2017-02-20



--------------------------------------------------------------------------------
TO_CHAR(expression, format)
(1)The expression can be a timestamp, an interval, an integer, a double precision, or a numeric value that is converted to a string according to a specific format. > so its a DIGIT
(2) pattern like MM YY DD

SELECT TO_CHAR(NOW() :: DATE, 'dd/mm/yyyy'); >  23/06/2016
SELECT TO_CHAR(NOW() :: DATE, 'Mon dd, yyyy'); >  Jun 23, 2016
SELECT TO_CHAR( TIMESTAMP '2017-08-18 22:30:59', 'HH24:MI:SS'); > 22:30:59

	EXTRACT (YEAR FROM birth_date) AS YEAR,
	EXTRACT (MONTH FROM birth_date) AS MONTH,
	EXTRACT (DAY FROM birth_date) AS DAY

----------------------------------------------------------------------------    
now() - hire_date as diff > get interval between two date data
 
-------------------------------------------------------------------------
DATE_PART(field,source) --almost the same as extract, we getting the one value in our date
SELECT date_part('year',TIMESTAMP '2017-01-01'); > 2017
SELECT date_part('dow',TIMESTAMP '2017-03-18 10:20:30') dow,
       date_part('doy',TIMESTAMP '2017-03-18 10:20:30') doy;
 dow | doy
-----+-----
   6 |  77
-------------------------------------
date_trunc('datepart', field) --trunc a specific date into a precision time
SELECT DATE_TRUNC('hour', TIMESTAMP '2017-03-17 02:09:30'); >  2017-03-17 02:00:00
SELECT date_trunc('minute', TIMESTAMP '2017-03-17 02:09:30'); >  2017-03-17 02:09:00



substring(email from 0 for  position ('@' in email))

substring(email from position ('@' in email)+1 for char_length(email))

+1 to ignore the @ logo

LEFT(email, POSITION('@' IN email)-1)

-1 to ignore the @ logo
ALTER TABLE assets
ALTER COLUMN asset_no TYPE INT 
USING asset_no::integer;

ALTER TABLE assets 
    ALTER COLUMN location TYPE VARCHAR,
    ALTER COLUMN description TYPE VARCHAR;

alter table temp_runner_orders_v2
alter column distancefixed type float
USING distancefixed::double precision;
--
alter table temp_runner_orders_v2
alter column durationfixed  type int
USING durationfixed ::integer ;

--
ALTER TABLE temp_runner_orders_v2  
ALTER COLUMN pickuptimefixed  TYPE DATE USING to_date(pickuptimefixed , 'YYYY-MM-DD');
To exclude entries with “0”, you need to use NULLIF() with function AVG().

SELECT AVG(NULLIF(yourColumnName, 0)) AS anyAliasName FROM yourTableName;
mysql> select AVG(nullif(StudentMarks, 0)) AS Exclude0Avg from AverageDemo;
select count(*) as total
from pizza_runner.x_csv as xc
where no <> 0

select round(avg("no"),2), --count without excluding zero
 round(avg(nullif("no",0)),2) as r-- count with exluding zero
from pizza_runner.x_csv as xc 
no
2
3
4
5
56
676
43
4
5
----dataset

with t1 as(
select *
, STDDEV ("no") OVER () AS ST 
, AVG ("no") OVER ()    AS AV
from pizza_runner.zz_csv
)

select *
from t1
WHERE no BETWEEN AV - ST AND AV + ST;
CREATE TABLE pizza_runner.tes (
	id serial4 NOT NULL,
	"no" int4 NULL
);

--after that import data as usual
--only need to import the no value only, serial key will automatically generated
----truncate and alter first to restart the primary key into 1
truncate table pizza_runner.tes 

ALTER SEQUENCE <tablename>_<id>_seq RESTART WITH 1
ALTER SEQUENCE pizza_runner.tes_id_seq  RESTART WITH 1
---email filtering
select name, split_part(name,' ',1) as firstname, split_part(name,' ',2) as lastname,
left(email,position('@' in email)-1) as emailname,
substring(email from position('@' in email)+1 for char_length(email))
from pizza_runner.tes as t
-----
SELECT order_id, runner_id,
  CASE 
    WHEN pickup_time LIKE 'null' THEN ' '
    ELSE pickup_time 
    END AS pickup_time,
  CASE 
    WHEN distance LIKE 'null' THEN ' '
    WHEN distance LIKE '%km' THEN TRIM('km' from distance)--- remove km from column
    ELSE distance END AS distance,
  CASE 
    WHEN duration LIKE 'null' THEN ' ' 
    WHEN duration LIKE '%mins' THEN TRIM('mins' from duration)-- remove mins
    WHEN duration LIKE '%minute' THEN TRIM('minute' from duration)---remove minute
    WHEN duration LIKE '%minutes' THEN TRIM('minutes' from duration)--remove minutes from duration
    ELSE duration END AS duration,
  CASE 
    WHEN cancellation IS NULL or cancellation LIKE 'null' THEN ''
    ELSE cancellation END AS cancellation
--INTO temp_runner_orders
FROM runner_orders;
select *, char_length(replaced) 
from(
select *, lower(left(trim(country),9)) as replaced
from cc_csv as cc 
)t1

lower
upper
left
right
substring
trim

upper < left < trim < replace

REPLACE(REPLACE(region,'&','and'),'.','') AS character_swap_and_remove
REPLACE(TRIM(event),'-','') AS event_fixed, 

select *, trim(replace(replace(distance, 'km',''),'null','0')) as distancefixed
,left(replace(duration,'null','0'),2) as durationfixed
,replace(pickup_time,'null','') as pickuptimefixed
,coalesce(replace(cancellation,'null',''),'') as cancellationfixed
from runner_orders as ro 
select * from pizza_runner.tes as t
--use ~ to find string and use | to seperate between
where lower("name") ~ 'samantha|castor|norman|atkinson'
--use similiar to and put the =t(true) to find string, can use % 
where lower("name") similar to 'samantha%|%stanley'='t'
---email filtering
select name, split_part(name,' ',1) as firstname, split_part(name,' ',2) as lastname,
left(email,position('@' in email)-1) as emailname,
substring(email from position('@' in email)+1 for char_length(email))
from pizza_runner.tes as t 

-----
select * from pizza_runner.tes as t
where lower("name") ~ 'samantha|castor|hurley|stanley';
--where lower("name") similar to 'samantha%|%stanley'='t'
------
select *, substring(email,1,position('@'in email)-1) as emailname,
substring(email,position('@' in email)+1,char_length(email)) as emaildomain
from pizza_runner.serialtes as s 
where lower("name") ~ 'samantha|astor';
----
with phonerawnumber as(
select *, replace(phone::text,',','')
from x_csv as xc 
)
select *,concat(left(replace,3),'-',substring(replace,4,3), ' (',substring(replace,7), ')') 
from phonerawnumber 

---

select *, Initcap(left(trim(country),9))
from pizza_runner.cc_csv as cc 


--How many runners signed up for each 1 week period?
with runnersignup as (
select *,count(*),TO_CHAR( registration_date , 'W' )::integer as weekofmonth,date_part('dow',registration_date) as hari
from runners as r 
group by runner_id, registration_date
order by runner_id 
)
select *, sum(count)over(partition by weekofmonth) as totalperweek
from runnersignup 
--- using sum case when to find the percentage of null value
select sum(case when no is null then 1 else 0 end) / Sum(1.00) as nullpercentage,
sum(case when no = 'jason' then 1 else 0 end) / Sum(1.00) as notnullpercentage
from zzzzzz_csv as zc 
rollup using subquery

select p.id, points, matches_won
from
--sum the subquery first before joining
(select id, sum(matches_won)as matches_won
from matches group by id) m
on p.id = m.id

add a file to the join statement
from points_table p
join matches_group m
on p.id = m.id and p.year = m.year

  -- Update the subquery to join on a second field
    ON c.country_id = w.country_id AND w.year = CAST(c.year AS date)
    GROUP BY w.country_id) AS subquery;

-- Add the three medal fields using one sum function
SUM(COALESCE(bronze,0) + COALESCE(silver,0) + COALESCE(gold,0)) AS medals,
SUM(COALESCE(bronze,0) + COALESCE(silver,0) + COALESCE(gold,0)) / CAST(cs.pop_in_millions AS float) AS medals_per_million
-------------------- ANY OPERATOR
SELECT
    title,
    category_id
FROM
    film
INNER JOIN film_category
        USING(film_id)
WHERE
    category_id = ANY(
        SELECT
            category_id
        FROM
            category
        WHERE
            NAME = 'Action'
            OR NAME = 'Drama'
    );


-------------- IN OPERATOR
SELECT
    title,
    category_id
FROM
    film
INNER JOIN film_category
        USING(film_id)
WHERE
    category_id IN(
        SELECT
            category_id
        FROM
            category
        WHERE
            NAME = 'Action'
            OR NAME = 'Drama'
    );
select overlay('bxxi' placing 'ud' from 2 for 2),
	trim( '             d'), trim('x' from 'xxxxxxxxddxxxxxxxxx'), 
	replace('231.21.213','.',''),
	split_part('2321.2312.3231.21321','.',4),
	concat_ws('-', 'jason', 'Alexander')
WITH trial_plan AS 
  (SELECT 
    customer_id, 
    start_date AS trial_date
  FROM foodie_fi.subscriptions
  WHERE plan_id = 0
),
-- Filter results to customers at pro annual plan = 3
annual_plan AS
  (SELECT 
    customer_id, 
    start_date AS annual_date
  FROM foodie_fi.subscriptions
  WHERE plan_id = 3
),
-- Sort values above in buckets of 12 with range of 30 days each
bins AS 
  (SELECT 
    WIDTH_BUCKET(ap.annual_date - tp.trial_date, 0, 360, 12) AS     avg_days_to_upgrade
  FROM trial_plan tp
  JOIN annual_plan ap
    ON tp.customer_id = ap.customer_id)
  
SELECT 
  ((avg_days_to_upgrade -1) * 30 || ' - ' ||   (avg_days_to_upgrade) * 30) || ' days' AS breakdown, 
  COUNT(*) AS customers
FROM bins
GROUP BY avg_days_to_upgrade
ORDER BY avg_days_to_upgrade;
select *,
point_total/games_played as point_per_game,
sum(point_total)over()/sum(games_played)over() as point_per_game_league,
round((point_total/games_played)/(sum(point_total)over()/sum(games_played::numeric)over()),2) as perfomanceindex
from game_csv as gc 
select *
from(
select distinct customer_id,
dense_rank()over( order by customer_id asc) rn_low,
dense_rank()over( order by customer_id desc) rn_high
from subscriptions as s
) t1
where rn_low <= 5 or rn_high <= 5
order by customer_id
Since a GROUP BY is included, global_gdp will require two SUM() functions.

-- Pull country_gdp by region and country
SELECT 
	region,
    country,
	SUM(gdp) AS country_gdp,
    -- Calculate the global gdp
    SUM(SUM(gdp)) OVER () AS global_gdp,
    -- Calculate percent of global gdp
    SUM(gdp) / SUM(SUM(gdp)) OVER () AS perc_global_gdp,
    -- Calculate percent of gdp relative to its region
    SUM(gdp) / SUM(SUM(gdp)) OVER (PARTITION BY region) AS perc_region_gdp


-- Bring in region, country, and gdp_per_million
SELECT 
    region,
    country,
    SUM(gdp) / SUM(pop_in_millions) AS gdp_per_million,
    -- Output the worlds gdp_per_million
    SUM(SUM(gdp)) OVER () / SUM(SUM(pop_in_millions)) OVER () AS gdp_per_million_total,
    -- Build the performance_index in the 3 lines below
    (SUM(gdp) / SUM(pop_in_millions))
    /
    (SUM(SUM(gdp)) OVER () / SUM(SUM(pop_in_millions)) OVER ()) AS performance_index
with extractedalready as(
select extract(month from order_date) as mm,
round(sum(sales::numeric)) as current_rev,
lag(round(sum(sales::numeric),0))over(order by extract(month from order_date)) as pre_rev
from orders_table as ot 
where extract(year from order_date)= 2017
group by mm
)
select *, round(current_rev/pre_rev-1,2)*100 as percentagechange 
from extractedalready



	-- Pull month and country_id
	DATE_PART('month', date) AS month,
	country_id,
    -- Pull in current month views
    SUM(views) AS month_views,
    -- Pull in last month views
    LAG(SUM(views)) OVER (PARTITION BY country_id ORDER BY DATE_PART('month', date)) AS previous_month_views,
    -- Calculate the percent change
    SUM(views) / LAG(SUM(views)) OVER (PARTITION BY country_id ORDER BY DATE_PART('month', date)) - 1 AS perc_change
FROM web_data
WHERE date <= '2018-05-31'
GROUP BY month, country_id;


In the previous exercise, you leveraged the set window of a month to calculate month-over-month changes. But sometimes, you may want to calculate a different time period, such as comparing last 7 days to the previous 7 days. To calculate a value from the last 7 days, you will need to set up a rolling calculation.

In this exercise, you will take the rolling 7 day average of views for each date and compare it to the previous 7 day average for views. This gives a clear week-over-week comparison for every single day.

SELECT
	-- Pull in date and daily_views
	date,
	SUM(views) AS daily_views,
    -- Calculate the rolling 7 day average
	AVG(SUM(views)) OVER (ORDER BY date ROWS BETWEEN 6 PRECEDING AND CURRENT ROW) AS weekly_avg
FROM web_data
GROUP BY date;

SELECT 
	-- Pull in date and weekly_avg
	date,
    weekly_avg,
    -- Output the value of weekly_avg from 7 days prior
    LAG(weekly_avg,7) OVER (ORDER BY date) AS weekly_avg_previous,
    -- Calculate percent change vs previous period
    weekly_avg / LAG(weekly_avg,7) OVER (ORDER BY date) - 1 as perc_change
FROM
  (SELECT
      -- Pull in date and daily_views
      date,
      SUM(views) AS daily_views,
      -- Calculate the rolling 7 day average
      AVG(SUM(views)) OVER (ORDER BY date ROWS BETWEEN 6 PRECEDING AND CURRENT ROW) AS weekly_avg
  FROM web_data
  -- Alias as subquery
  GROUP BY date) AS subquery
-- Order by date in descending order
ORDER BY date DESC;
SELECT
	-- Pull in region and calculate avg tallest height
    region,
    AVG(height) AS avg_tallest,
    -- Calculate region percent of world gdp
    SUM(gdp)/SUM(SUM(gdp)) OVER () AS perc_world_gdp    
FROM countries AS c
JOIN
    (SELECT 
     	-- Pull in country_id and height
        country_id, 
        height, 
        -- Number the height of each country athletes
        ROW_NUMBER() OVER (PARTITION BY country_id ORDER BY height DESC) AS row_num
    FROM winter_games AS w 
    JOIN athletes AS a ON w.athlete_id = a.id
    GROUP BY country_id, height
    -- Alias as subquery
    ORDER BY country_id, height DESC) AS subquery
ON c.id = subquery.country_id
-- Join to country_stats
JOIN country_stats AS cs 
ON cs.country_id = c.id
-- Only include the tallest height for each country
WHERE row_num = 1
GROUP BY region;
INNER JOIN - only gets the value that happened to be in both table
LEFT JOIN- get all the value from the table 1( from TABLE)
RIGHT JOIN - get all the value from the joining table (JOIN TABLE)
full join/ outer join - get all the value from both table

UNION removes duplicates, whereas UNION ALL does not.

---select rank 2,3 user that generates the most sales
select customer_id, sum(sales) as total
from orders_tab as ot 
group by customer_id 
order by total desc
offset 1 limit 2 -- skip row 1 and limit by 2
DO $$
DECLARE  
   a integer := 10;  
   b integer := 20;  
   c integer;  
BEGIN  
   c := a + b;
    RAISE NOTICE'Value of c: %', c;
END $$;

-----------------
CREATE FUNCTION getpersons() RETURNS SETOF person
   LANGUAGE plpgsql AS
$$DECLARE
   overTheAgeOf int := 15;
BEGIN
    RETURN QUERY
       SELECT *
       FROM person
       WHERE age > overTheAgeOf;
END;$$;

SELECT getpersons();
create view penjualan_kentucky_california as
select state,sales
from orders_tab as ot 
where lower(state) ~ 'kentucky|california';

select sum(sales)
from penjualan_kentucky_california
--get the cash flow sum and cummulatie sales in the state new york in 2017

with extract_mm_filter_year_and_place as (
select extract(month from order_date) as mm,
state,sales
from orders_table as ot 
where extract(year from order_date)=2017
and lower(state) = 'new york' 
)
,summed_sales as(
select state,mm,round(sum(sales)) as cashflow
from extract_mm_filter_year_and_place
group by 1,2
)
select *,sum(cashflow)over(partition by state order by mm)
from summed_sales
select sum(case when no is null then 1 else 0 end) / Sum(1.00) as nullpercentage,
sum(case when no is not null then 1 else 0 end) / Sum(1.00) as notnullpercentage
from zzzzzz_csv as zc 
--convert the phone data type into text to find specific numbers
select *, case when phone::text ilike '435%'
			or phone::text ilike '%233%'
			or phone::text ~ '23' 
			then 'yes' else 'no' end as test
from x_csv as xc 
--------------
LPAD
----------------
select lpad(name,8,'X')
select lpad('abc',8,'X')

LPAD(input_string,length, input string) prepeding text values in string
--------
SUBSTRING
--------
The following example extracts the house number (maximum 4 digits, from 0 to 9) from a string:
SELECT
	SUBSTRING (
		'The house no. is 9001',
		'([0-9]{1,4})'
	) as house_no

substring(string from start_position for length);
SUBSTRING ( string ,start_position , length )

SELECT
	SUBSTRING ('PostgreSQL' FROM 1 FOR 8); -- PostgreS
SELECT
	SUBSTRING ('PostgreSQL' FROM 8); -- SQL

------------
LENGTH(string);
--------------
SELECT
	LENGTH ('PostgreSQL Tutorial'); -- 19
SELECT
	LENGTH (''); -- 0
SELECT
	LENGTH (' '); -- 1

select *, substring(email,1,strpos(email,'@')-1) as user_name,
  substring(email,strpos(email,'@')+1,length(email)) as domain_name
from emailtraining as e; 

---------------
  LEFT
LEFT(string, n) 
--------------
SELECT LEFT(first_name, 1) initial,
    COUNT(*)
FROM customer
GROUP BY initial
ORDER BY initial;

In this example, first, the LEFT() function returns initials of all customers. Then, the GROUP BY clause groups customers by their initials. Finally, the COUNT() function returns the number of customer for each group.


---------
  REGEXP MATCHES
----------
REGEXP_MATCHES(source_string, pattern [, flags])
1) source
The source is a string that you want to extract substrings that match a regular expression.

2) pattern
The pattern is a POSIX regular expression for matching.

3) flags
The flags argument is one or more characters that control the behavior of the function. For example, (i) allows you to match case-insensitively.

SELECT 
    REGEXP_MATCHES('Learning #PostgreSQL #REGEXP_MATCHES #2123', 
         '#([A-Za-z0-9_]+)', 
        'g');

The following statement uses the REGEXP_MATCHES() function to get films whose descriptions contain the word Cat or Dog:

SELECT 
	film_id, 
	title , 
	description, 
	REGEXP_MATCHES(description, 'Cat | Dog ') cat_or_dog
FROM 
	film
ORDER BY title;

--------
REGEXP REPLACE
-----------
REGEXP_REPLACE(source, pattern, replacement_string,[, flags])   
SELECT REGEXP_REPLACE('John Doe','(.*) (.*)','\2, \1'); 
REGEXP_REPLACE(source, pattern, replacement_string,[, flags])   
1) source

The source is a string that replacement should be taken place.

2) pattern

The pattern is a POSIX regular expression for matching substrings that should be replaced.

3) replacement_string

The replacement_string is a string that to replace the substrings which match the regular expression pattern.

4) flags

The flags argument is one or more character that controls the matching behavior of the function e.g., i allows case-insensitive matching, n enables matching any character and also the newline character.
--------------------------------
*	a sequence of 0 or more matches of the atom
+	a sequence of 1 or more matches of the atom
^	matches at the beginning of the string
$	matches at the end of the string

\d	matches any digit, like [[:digit:]] -- seperti nomor 1-9
\s	matches any whitespace character, like [[:space:]]
\w	matches any word character, like [[:word:]]
\D	matches any non-digit, like [^[:digit:]] --- seperti A-Z
\S	matches any non-whitespace character, like [^[:space:]]
\W	matches any non-word character, like [^[:word:]]
--------------------------------------------------------------------------------------------
select version, regexp_replace("version",'[^0-9]+','') as number,
regexp_replace("version",'[\D]+','') as number_ver2,
regexp_replace("version",'[\d]+','') as string_ver1,
regexp_replace("version",'[^\w]+','') as tes, --selain string and number, yang lain kosong
regexp_replace("version",'[^\D]+','') as string_ver2, --selain string, yang lain kosong
regexp_replace("version",'[^\d]+','') as number_vers3, --selain number, yang lain kosong
regexp_replace("version",'[^a-zA-Z]+', '') as name -- selain aplhabet a-z A-Z, yang lain kosong
 from game_csv as gc;
----------------------------------------------------------------------------------------------
select regexp_replace('jasdoasd.asdas.,asdsa.','[^a-z]','','g');-- replace semua yang bukan huruf menjadi kosong
select regexp_replace('jasdoasd.asdas.,asdsa.','[a-z]','','g'); --replace semua huruf a-z menjadi kosong
---------------------------------------------------------------------------------------------------
SELECT foo FROM regexp_split_to_table('the quick brown fox jumps over the lazy dog', '\s+') AS foo;
  foo   
-------
 the    
 quick  
 brown  
 fox    
 jumps 
 over   
 the    
 lazy   
 dog

SELECT regexp_split_to_array('the quick brown fox jumps over the lazy dog', '\s+');
              regexp_split_to_array             
-----------------------------------------------
 {the,quick,brown,fox,jumps,over,the,lazy,dog}
(1 row)

SELECT foo FROM regexp_split_to_table('the quick brown fox', '\s*') AS foo;
 foo 
-----
 t         
 h         
 e         
 q         
 u         
 i         
 c         
 k         
 b         
 r         
 o         
 w         
 n         
 f         
 o         
 x         
(16 rows)
SELECT 
	summons_number, 
    CASE WHEN 
    	summons_number IN (
          SELECT 
  			summons_number 
  		  FROM 
  			parking_violation 
  		  WHERE 
            -- Match violation_time for morning values
  			violation_time SIMILAR TO '\d\d\d\dA' --4numberdigit-then start with A uppercase
    	)
        -- Value when pattern matched
        THEN 1 
        -- Value when pattern not matched
        ELSE 0 
    END AS morning 
FROM 
	parking_violation;

In this exercise, you will populate the morning column by matching patterns for violation_times occurring in the morning.
------------------------------------
pattern is ‘[^\w]+’, which means replacing everything that is not number, digit, underline with the nothing.

In the above code, the source is ‘some12-34@#$’, and the pattern is ‘\W+’ that represents all the characters except alphabets and numbers, the replacement string is a double single quote that represents nothing.

The ‘g’ is used to tell that apply this operation to all non-alphanumeric.
------------------------------------------------


SELECT 
	summons_number,
	-- Replace uppercase letters in plate_id with dash
	REGEXP_REPLACE(plate_id, '[A-Z]', '-', 'g') 
FROM 
	parking_violation;

----------FUZZYSTR MATCH--------
create extension fuzzystrmatch;
SELECT name FROM pg_available_extensions; ---display extension
select soundex('test'), soundex('tost'),difference('test','tost');
select soundex('indonesia'), soundex('indoneyssa'); --- returns the total similiarty between two string
difference('test','tost'); -- retrun the similiarity between two string from 0 - 4

---updating the table
update negara_tabel
set nama_negara = 'Indonesia'
where difference(nama_negara, 'Indonesia') = 4
------------------------------------------------------------------
EXAMPLE
--------------------------------------------------
SELECT
  summons_number,
  vehicle_color
FROM
  parking_violation
WHERE
  -- Match SOUNDEX codes of vehicle_color and 'GRAY'
  DIFFERENCE(vehicle_color, 'GRAY') = 4;

---------
UPDATE 
	parking_violation
SET 
	-- Update vehicle_color to `GRAY`
	vehicle_color = 'GRAY'
WHERE 
	summons_number IN (
      SELECT
        summons_number
      FROM
        parking_violation
      WHERE
        DIFFERENCE(vehicle_color, 'GRAY') = 4 AND
        -- Filter out records that have GR as vehicle_color
        vehicle_color != 'GR'
);
-------------------- EXAMPLE NO 2
SELECT 
	summons_number,
	vehicle_color,
    -- Include the DIFFERENCE() value for each color
	DIFFERENCE(vehicle_color, 'RED') AS "red",
	DIFFERENCE(vehicle_color, 'BLUE') AS "blue",
	DIFFERENCE(vehicle_color, 'YELOW') AS "yellow"
FROM
	parking_violation
WHERE 
	(
      	-- Condition records on DIFFERENCE() value of 4
		DIFFERENCE(vehicle_color, 'RED') = 4 OR
		DIFFERENCE(vehicle_color, 'BLUE') = 4 OR
		DIFFERENCE(vehicle_color, 'YELOW') = 4
	)
   	    -- Exclude records with 'BL' and 'BLA' vehicle colors
	) AND vehicle_color NOT SIMILAR TO 'BLA?'

------
UPDATE

UPDATE 
	parking_violation pv
SET 
	vehicle_color = CASE
      -- Complete conditions and results
      WHEN red = 4 THEN 'RED'
      WHEN blue = 4 then 'BLUE'
      WHEN yellow = 4 then 'YELLOW'
	END
FROM 
	red_blue_yellow rby
WHERE 
	rby.summons_number = pv.summons_number;

SELECT * FROM parking_violation LIMIT 1000;

---EXAMPLE 3
--
Complete the query using the regular expression pattern ' +' so that one or more consecutive space characters in the parking_held column are replaced with a single space (' ').
--
SELECT 
	LPAD(event_id, 10, '0') as event_id, 
    -- Replace consecutive spaces with a single space
    REGEXP_REPLACE(INITCAP(parking_held), ' +', ' ', 'g')  as parking_held
FROM 
    film_permit;

-----EXAMPLE 4
Write a query returning records with a registration_state that does not match two consecutive uppercase letters.
----------------------------------
SELECT
  summons_number,
  plate_id,
  registration_state
FROM
  parking_violation
WHERE
  -- Define the pattern to use for matching
  registration_state NOT SIMILAR TO '[A-Z]{2}';

Regular expressions must be enclosed in quotation marks ('').
The pattern is a regular expression, therefore, the SIMILAR TO operator is required in the WHERE clause.
As an example, to match three consecutive digits between 1 and 5, the pattern [1-5]{3} can be used.

--------------EXAMPLE 5
Write a query returning records with a vehicle_make not including an uppercase letter, a forward slash (/), or a space (\s).

SELECT
  summons_number,
  plate_id,
  vehicle_make
FROM
  parking_violation
WHERE
  -- Define the pattern to use for matching
  vehicle_make NOT SIMILAR TO '[A-Z/\s]+';
--------
CREATE TABLE T (name varchar(10));
INSERT INTO T VALUES
('John'),
('Smith'),
('John'),
('Smith'),
('Smith'),
('Tom');
--------------------first method deleting duplicate
WITH t_deleted AS
(DELETE FROM T returning *), -- 1st step
t_inserted AS
(SELECT name, ROW_NUMBER() OVER(PARTITION BY name ORDER BY name) rnk
    FROM t_deleted) -- 2nd step
INSERT INTO T SELECT name FROM t_inserted 
WHERE rnk=1; -- 3rd step 
--(here we move the search condition from the step 2 to reduce the code)

SELECT * FROM T;
-------------------------second method
select "name",row_number()over(partition by name)
into t_duplicate_fixed
from t; 

delete from t_duplicate_fixed
where row_number >1
-------------------------third method 
delete from t
where ctid in (select ctid
				from (select ctid,"name",row_number()over(partition by name)as rn from t) t2
				where rn >1) 

---------------------------------------4th method
DELETE FROM t a USING (
      SELECT MIN(ctid) as ctid, name,count(*)
        FROM t 
        GROUP BY name HAVING COUNT(*) > 1
      ) b
      WHERE a.name = b.name 
      AND a.ctid <> b.ctid	
select 
column_name,
data_type
from
information_schema.columns
where table_name = (column_name)

--this will run a query to determine the types of each table data type

Similiar Collections

Python strftime reference pandas.Period.strftime python - Formatting Quarter time in pandas columns - Stack Overflow python - Pandas: Change day - Stack Overflow python - Check if multiple columns exist in a df - Stack Overflow Pandas DataFrame apply() - sending arguments examples python - How to filter a dataframe of dates by a particular month/day? - Stack Overflow python - replace a value in the entire pandas data frame - Stack Overflow python - Replacing blank values (white space) with NaN in pandas - Stack Overflow python - get list from pandas dataframe column - Stack Overflow python - How to drop rows of Pandas DataFrame whose value in a certain column is NaN - Stack Overflow python - How to drop rows of Pandas DataFrame whose value in a certain column is NaN - Stack Overflow python - How to lowercase a pandas dataframe string column if it has missing values? - Stack Overflow How to Convert Integers to Strings in Pandas DataFrame - Data to Fish How to Convert Integers to Strings in Pandas DataFrame - Data to Fish create a dictionary of two pandas Dataframe columns? - Stack Overflow python - ValueError: No axis named node2 for object type <class 'pandas.core.frame.DataFrame'> - Stack Overflow Python Pandas iterate over rows and access column names - Stack Overflow python - Creating dataframe from a dictionary where entries have different lengths - Stack Overflow python - Deleting DataFrame row in Pandas based on column value - Stack Overflow python - How to check if a column exists in Pandas - Stack Overflow python - Import pandas dataframe column as string not int - Stack Overflow python - What is the most efficient way to create a dictionary of two pandas Dataframe columns? - Stack Overflow Python Loop through Excel sheets, place into one df - Stack Overflow python - How do I get the row count of a Pandas DataFrame? - Stack Overflow python - How to save a new sheet in an existing excel file, using Pandas? - Stack Overflow Python Loop through Excel sheets, place into one df - Stack Overflow How do I select a subset of a DataFrame? — pandas 1.2.4 documentation python - Delete column from pandas DataFrame - Stack Overflow python - Convert list of dictionaries to a pandas DataFrame - Stack Overflow How to Add or Insert Row to Pandas DataFrame? - Python Examples python - Check if a value exists in pandas dataframe index - Stack Overflow python - Set value for particular cell in pandas DataFrame using index - Stack Overflow python - Pandas Dataframe How to cut off float decimal points without rounding? - Stack Overflow python - Pandas: Change day - Stack Overflow python - Clean way to convert quarterly periods to datetime in pandas - Stack Overflow Pandas - Number of Months Between Two Dates - Stack Overflow python - MonthEnd object result in <11 * MonthEnds> instead of number - Stack Overflow python - Extracting the first day of month of a datetime type column in pandas - Stack Overflow
MySQL MULTIPLES INNER JOIN How to Use EXISTS, UNIQUE, DISTINCT, and OVERLAPS in SQL Statements - dummies postgresql - SQL OVERLAPS PostgreSQL Joins: Inner, Outer, Left, Right, Natural with Examples PostgreSQL Joins: A Visual Explanation of PostgreSQL Joins PL/pgSQL Variables ( Format Dates ) The Ultimate Guide to PostgreSQL Date By Examples Data Type Formatting Functions PostgreSQL - How to calculate difference between two timestamps? | TablePlus Date/Time Functions and Operators PostgreSQL - DATEDIFF - Datetime Difference in Seconds, Days, Months, Weeks etc - SQLines CASE Statements in PostgreSQL - DataCamp SQL Optimizations in PostgreSQL: IN vs EXISTS vs ANY/ALL vs JOIN PostgreSQL DESCRIBE TABLE Quick and best way to Compare Two Tables in SQL - DWgeek.com sql - Best way to select random rows PostgreSQL - Stack Overflow PostgreSQL: Documentation: 13: 70.1. Row Estimation Examples Faster PostgreSQL Counting How to Add a Default Value to a Column in PostgreSQL - PopSQL How to Add a Default Value to a Column in PostgreSQL - PopSQL SQL Subquery - Dofactory SQL IN - SQL NOT IN - JournalDev DROP FUNCTION (Transact-SQL) - SQL Server | Microsoft Docs SQL : Multiple Row and Column Subqueries - w3resource PostgreSQL: Documentation: 9.5: CREATE FUNCTION PostgreSQL CREATE FUNCTION By Practical Examples datetime - PHP Sort a multidimensional array by element containing date - Stack Overflow database - Oracle order NULL LAST by default - Stack Overflow PostgreSQL: Documentation: 9.5: Modifying Tables PostgreSQL: Documentation: 14: SELECT postgresql - sql ORDER BY multiple values in specific order? - Stack Overflow How do I get the current unix timestamp from PostgreSQL? - Database Administrators Stack Exchange SQL MAX() with HAVING, WHERE, IN - w3resource linux - Which version of PostgreSQL am I running? - Stack Overflow Copying Data Between Tables in a Postgres Database php - How to remove all numbers from string? - Stack Overflow sql - How to get a list column names and datatypes of a table in PostgreSQL? - Stack Overflow postgresql - How do I remove all spaces from a field in a Postgres database in an update query? - Stack Overflow sql - How to get a list column names and datatypes of a table in PostgreSQL? - Stack Overflow How to change PRIMARY KEY of an existing PostgreSQL table? · GitHub Drop tables w Dependency Tracking ( constraints ) Import CSV File Into PosgreSQL Table How To Import a CSV into a PostgreSQL Database How can I drop all the tables in a PostgreSQL database? - Stack Overflow How can I drop all the tables in a PostgreSQL database? - Stack Overflow PostgreSQL CASE Statements & Examples using WHEN-THEN, if-else and switch | DataCamp PostgreSQL LEFT: Get First N Characters in a String How can I drop all the tables in a PostgreSQL database? - Stack Overflow How can I drop all the tables in a PostgreSQL database? - Stack Overflow PostgreSQL - Copy Table - GeeksforGeeks PostgreSQL BETWEEN Query with Example sql - Postgres Query: finding values that are not numbers - Stack Overflow PostgreSQL UPDATE Join with A Practical Example
Request API Data with JavaScript or PHP (Access a Json data with PHP API) PHPUnit – The PHP Testing Framework phpspec array_column How to get closest date compared to an array of dates in PHP Calculating past and future dates < PHP | The Art of Web PHP: How to check which item in an array is closest to a given number? - Stack Overflow implode php - Calculate difference between two dates using Carbon and Blade php - Create a Laravel Request object on the fly testing - How can I measure the speed of code written in PHP? testing - How can I measure the speed of code written in PHP? What to include in gitignore for a Laravel and PHPStorm project Laravel Chunk Eloquent Method Example - Tuts Make html - How to solve PHP error 'Notice: Array to string conversion in...' - Stack Overflow PHP - Merging two arrays into one array (also Remove Duplicates) - Stack Overflow php - Check if all values in array are the same - Stack Overflow PHP code - 6 lines - codepad php - Convert array of single-element arrays to one a dimensional array - Stack Overflow datetime - PHP Sort a multidimensional array by element containing date - Stack Overflow sql - Division ( / ) not giving my answer in postgresql - Stack Overflow Get current date, given a timezone in PHP? - Stack Overflow php - Get characters after last / in url - Stack Overflow Add space after 7 characters - PHP Coding Help - PHP Freaks php - Laravel Advanced Wheres how to pass variable into function? - Stack Overflow php - How can I manually return or throw a validation error/exception in Laravel? - Stack Overflow php - How to add meta data in laravel api resource - Stack Overflow php - How do I create a webhook? - Stack Overflow Webhooks - Examples | SugarOutfitters Accessing cells - PhpSpreadsheet Documentation Reading and writing to file - PhpSpreadsheet Documentation PHP 7.1: Numbers shown with scientific notation even if explicitely formatted as text · Issue #357 · PHPOffice/PhpSpreadsheet · GitHub How do I install Java on Ubuntu? nginx - How to execute java command from php page with shell_exec() function? - Stack Overflow exec - Executing a java .jar file with php - Stack Overflow Measuring script execution time in PHP - GeeksforGeeks How to CONVERT seconds to minutes? PHP: Check if variable exist but also if has a value equal to something - Stack Overflow How to declare a global variable in php? - Stack Overflow How to zip a whole folder using PHP - Stack Overflow php - Saving file into a prespecified directory using FPDF - Stack Overflow PHP 7.0 get_magic_quotes_runtime error - Stack Overflow How to Create an Object Without Class in PHP ? - GeeksforGeeks Recursion in PHP | PHPenthusiast PHP PDO Insert Tutorial Example - DEV Community PHP Error : Unparenthesized `a ? b : c ? d : e` is deprecate | Laravel.io mysql - Which is faster: multiple single INSERTs or one multiple-row INSERT? - Stack Overflow Display All PHP Errors: Basic & Advanced Usage Need to write at beginning of file with PHP - Stack Overflow Append at the beginning of the file in PHP - Stack Overflow PDO – Insert, update, and delete records in PHP – BrainBell php - How to execute a raw sql query with multiple statement with laravel - Stack Overflow
Clear config cache Eloquent DB::Table RAW Query / WhereNull Laravel Eloquent "IN" Query get single column value in laravel eloquent php - How to use CASE WHEN in Eloquent ORM? - Stack Overflow AND-OR-AND + brackets with Eloquent - Laravel Daily Database: Query Builder - Laravel - The PHP Framework For Web Artisans ( RAW ) Combine Foreach Loop and Eloquent to perform a search | Laravel.io Access Controller method from another controller in Laravel 5 How to Call a controller function in another Controller in Laravel 5 php - Create a Laravel Request object on the fly php - Laravel 5.6 Upgrade caused Logging to break Artisan Console - Laravel - The PHP Framework For Web Artisans What to include in gitignore for a Laravel and PHPStorm project php - Create a Laravel Request object on the fly Process big DB table with chunk() method - Laravel Daily How to insert big data on the laravel? - Stack Overflow php - How can I build a condition based query in Laravel? - Stack Overflow Laravel Chunk Eloquent Method Example - Tuts Make Database: Migrations - Laravel - The PHP Framework For Web Artisans php - Laravel Model Error Handling when Creating - Exception Laravel - Inner Join with Multiple Conditions Example using Query Builder - ItSolutionStuff.com laravel cache disable phpunit code example | Newbedev In PHP, how to check if a multidimensional array is empty? · Humblix php - Laravel firstOrNew how to check if it's first or new? - Stack Overflow get base url laravel 8 Code Example Using gmail smtp via Laravel: Connection could not be established with host smtp.gmail.com [Connection timed out #110] - Stack Overflow php - Get the Last Inserted Id Using Laravel Eloquent - Stack Overflow php - Laravel-5 'LIKE' equivalent (Eloquent) - Stack Overflow Accessing cells - PhpSpreadsheet Documentation How to update chunk records in Laravel php - How to execute external shell commands from laravel controller? - Stack Overflow How to convert php array to laravel collection object 3 Best Laravel Redis examples to make your site load faster How to Create an Object Without Class in PHP ? - GeeksforGeeks Case insensitive search with Eloquent | Laravel.io How to Run Specific Seeder in Laravel? - ItSolutionStuff.com PHP Error : Unparenthesized `a ? b : c ? d : e` is deprecate | Laravel.io How to chunk query results in Laravel php - How to execute a raw sql query with multiple statement with laravel - Stack Overflow
PostgreSQL POSITION() function PostgresQL ANY / SOME Operator ( IN vs ANY ) PostgreSQL Substring - Extracting a substring from a String How to add an auto-incrementing primary key to an existing table, in PostgreSQL PostgreSQL STRING_TO_ARRAY()function mysql FIND_IN_SET equivalent to postgresql PL/pgSQL Variables ( Format Dates ) The Ultimate Guide to PostgreSQL Date By Examples Data Type Formatting Functions PostgreSQL - How to calculate difference between two timestamps? | TablePlus Date/Time Functions and Operators PostgreSQL - DATEDIFF - Datetime Difference in Seconds, Days, Months, Weeks etc - SQLines CASE Statements in PostgreSQL - DataCamp SQL Optimizations in PostgreSQL: IN vs EXISTS vs ANY/ALL vs JOIN PL/pgSQL Variables PostgreSQL: Documentation: 11: CREATE PROCEDURE Reading a Postgres EXPLAIN ANALYZE Query Plan Faster PostgreSQL Counting sql - Fast way to discover the row count of a table in PostgreSQL - Stack Overflow PostgreSQL: Documentation: 9.1: tablefunc PostgreSQL DESCRIBE TABLE Quick and best way to Compare Two Tables in SQL - DWgeek.com sql - Best way to select random rows PostgreSQL - Stack Overflow How to Add a Default Value to a Column in PostgreSQL - PopSQL How to Add a Default Value to a Column in PostgreSQL - PopSQL PL/pgSQL IF Statement PostgreSQL: Documentation: 9.1: Declarations SQL Subquery - Dofactory SQL IN - SQL NOT IN - JournalDev PostgreSQL - IF Statement - GeeksforGeeks How to work with control structures in PostgreSQL stored procedures: Using IF, CASE, and LOOP statements | EDB PL/pgSQL IF Statement How to combine multiple selects in one query - Databases - ( loop reference ) DROP FUNCTION (Transact-SQL) - SQL Server | Microsoft Docs SQL : Multiple Row and Column Subqueries - w3resource PostgreSQL: Documentation: 9.5: CREATE FUNCTION PostgreSQL CREATE FUNCTION By Practical Examples datetime - PHP Sort a multidimensional array by element containing date - Stack Overflow database - Oracle order NULL LAST by default - Stack Overflow PostgreSQL: Documentation: 9.5: Modifying Tables PostgreSQL: Documentation: 14: SELECT PostgreSQL Array: The ANY and Contains trick - Postgres OnLine Journal postgresql - sql ORDER BY multiple values in specific order? - Stack Overflow sql - How to aggregate two PostgreSQL columns to an array separated by brackets - Stack Overflow How do I get the current unix timestamp from PostgreSQL? - Database Administrators Stack Exchange SQL MAX() with HAVING, WHERE, IN - w3resource linux - Which version of PostgreSQL am I running? - Stack Overflow Postgres login: How to log into a Postgresql database | alvinalexander.com Copying Data Between Tables in a Postgres Database PostgreSQL CREATE FUNCTION By Practical Examples php - How to remove all numbers from string? - Stack Overflow sql - How to get a list column names and datatypes of a table in PostgreSQL? - Stack Overflow postgresql - How do I remove all spaces from a field in a Postgres database in an update query? - Stack Overflow sql - How to get a list column names and datatypes of a table in PostgreSQL? - Stack Overflow A Step-by-Step Guide To PostgreSQL Temporary Table How to change PRIMARY KEY of an existing PostgreSQL table? · GitHub PostgreSQL UPDATE Join with A Practical Example PostgreSQL: Documentation: 15: CREATE SEQUENCE How can I drop all the tables in a PostgreSQL database? - Stack Overflow PostgreSQL Show Tables Drop tables w Dependency Tracking ( constraints ) Import CSV File Into PosgreSQL Table How To Import a CSV into a PostgreSQL Database How can I drop all the tables in a PostgreSQL database? - Stack Overflow How can I drop all the tables in a PostgreSQL database? - Stack Overflow PostgreSQL CASE Statements & Examples using WHEN-THEN, if-else and switch | DataCamp PostgreSQL LEFT: Get First N Characters in a String How can I drop all the tables in a PostgreSQL database? - Stack Overflow How can I drop all the tables in a PostgreSQL database? - Stack Overflow postgresql - Binary path in the pgAdmin preferences - Database Administrators Stack Exchange postgresql - Binary path in the pgAdmin preferences - Database Administrators Stack Exchange PostgreSQL - Copy Table - GeeksforGeeks postgresql duplicate key violates unique constraint - Stack Overflow PostgreSQL BETWEEN Query with Example VACUUM FULL - PostgreSQL wiki How To Remove Spaces Between Characters In PostgreSQL? - Database Administrators Stack Exchange sql - Postgres Query: finding values that are not numbers - Stack Overflow PostgreSQL LEFT: Get First N Characters in a String unaccent: Getting rid of umlauts, accents and special characters
כמה עוד נשאר למשלוח חינם גם לעגלה ולצקאאוט הוספת צ'קבוקס לאישור דיוור בצ'קאאוט הסתרת אפשרויות משלוח אחרות כאשר משלוח חינם זמין דילוג על מילוי כתובת במקרה שנבחרה אפשרות איסוף עצמי הוספת צ'קבוקס לאישור דיוור בצ'קאאוט שינוי האפשרויות בתפריט ה-סידור לפי בווקומרס שינוי הטקסט "אזל מהמלאי" הערה אישית לסוף עמוד העגלה הגבלת רכישה לכל המוצרים למקסימום 1 מכל מוצר קבלת שם המוצר לפי ה-ID בעזרת שורטקוד הוספת כפתור וואטסאפ לקנייה בלופ ארכיון מוצרים הפיכה של מיקוד בצ'קאאוט ללא חובה מעבר ישיר לצ'קאאוט בלחיתה על הוספה לסל (דילוג עגלה) התראה לקבלת משלוח חינם בדף עגלת הקניות גרסה 1 התראה לקבלת משלוח חינם בדף עגלת הקניות גרסה 2 קביעה של מחיר הזמנה מינימלי (מוצג בעגלה ובצ'קאאוט) העברת קוד הקופון ל-ORDER REVIEW העברת קוד הקופון ל-ORDER REVIEW Kadence WooCommerce Email Designer קביעת פונט אסיסנט לכל המייל בתוסף מוצרים שאזלו מהמלאי - יופיעו מסומנים באתר, אבל בתחתית הארכיון הוספת כפתור "קנה עכשיו" למוצרים הסתרת אפשרויות משלוח אחרות כאשר משלוח חינם זמין שיטה 2 שינוי סימן מטבע ש"ח ל-ILS להפוך סטטוס הזמנה מ"השהייה" ל"הושלם" באופן אוטומטי תצוגת הנחה באחוזים שינוי טקסט "בחר אפשרויות" במוצרים עם וריאציות חיפוש מוצר לפי מק"ט שינוי תמונת מוצר לפי וריאציה אחרי בחירה של וריאציה אחת במקרה של וריאציות מרובות הנחה קבועה לפי תפקיד בתעריף קבוע הנחה קבועה לפי תפקיד באחוזים הסרה של שדות משלוח לקבצים וירטואליים הסתרת טאבים מעמוד מוצר הצגת תגית "אזל מהמלאי" בלופ המוצרים להפוך שדות ל-לא חובה בצ'קאאוט שינוי טקסט "אזל מהמלאי" לוריאציות שינוי צבע ההודעות המובנות של ווקומרס הצגת ה-ID של קטגוריות המוצרים בעמוד הקטגוריות אזל מהמלאי- שינוי ההודעה, תגית בלופ, הודעה בדף המוצר והוספת אזל מהמלאי על וריאציה הוספת שדה מחיר ספק לדף העריכה שינוי טקסט אזל מהמלאי תמונות מוצר במאונך לצד תמונת המוצר הראשית באלמנטור הוספת כפתור קנה עכשיו לעמוד המוצר בקניה הזו חסכת XX ש''ח לאפשר למנהל חנות לנקות קאש ברוקט לאפשר רק מוצר אחד בעגלת קניות הוספת סימון אריזת מתנה ואזור להוראות בצ'קאאוט של ווקומרס הצגת הנחה במספר (גודל ההנחה) הוספת "אישור תקנון" לדף התשלום הצגת רשימת תכונות המוצר בפרונט שינוי כמות מוצרים בצ'קאאוט ביטול השדות בצ'קאאוט שינוי כותרות ופלייסהולדר של השדות בצ'קאאוט
החלפת טקסט באתר (מתאים גם לתרגום נקודתי) הסרת פונטים של גוגל מתבנית KAVA ביטול התראות במייל על עדכון וורדפרס אוטומטי הוספת תמיכה בקבצי VCF באתר (קבצי איש קשר VCARD) - חלק 1 להחריג קטגוריה מסוימת מתוצאות החיפוש שליפת תוכן של ריפיטר יצירת כפתור שיתוף למובייל זיהוי אלו אלמנטים גורמים לגלילה אופקית התקנת SMTP הגדרת טקסט חלופי לתמונות לפי שם הקובץ הוספת התאמת תוספים לגרסת WP הוספת טור ID למשתמשים הסרת כותרת בתבנית HELLO הסרת תגובות באופן גורף הרשאת SVG חילוץ החלק האחרון של כתובת העמוד הנוכחי חילוץ הסלאג של העמוד חילוץ כתובת העמוד הנוכחי מניעת יצירת תמונות מוקטנות התקנת SMTP הצגת ה-ID של קטגוריות בעמוד הקטגוריות להוריד מתפריט הניהול עמודים הוספת Favicon שונה לכל דף ודף הוספת אפשרות שכפול פוסטים ובכלל (של שמעון סביר) הסרת תגובות באופן גורף 2 בקניה הזו חסכת XX ש''ח חיפוש אלמנטים סוררים, גלישה צדית במובייל שיטה 1 לאפשר רק מוצר אחד בעגלת קניות הצגת הנחה במספר (גודל ההנחה) הוספת "אישור תקנון" לדף התשלום שינוי צבע האדמין לפי סטטוס העמוד/פוסט שינוי צבע אדמין לכולם לפי הסכמות של וורדפרס תצוגת כמות צפיות מתוך הדשבורד של וורדפרס הצגת סוג משתמש בפרונט גלילה אין סופית במדיה שפת הממשק של אלמנטור תואמת לשפת המשתמש אורך תקציר מותאם אישית
הודעת שגיאה מותאמת אישית בטפסים להפוך כל סקשן/עמודה לקליקבילית (לחיצה) - שיטה 1 להפוך כל סקשן/עמודה לקליקבילית (לחיצה) - שיטה 2 שינוי הגבלת הזיכרון בשרת הוספת לינק להורדת מסמך מהאתר במייל הנשלח ללקוח להפוך כל סקשן/עמודה לקליקבילית (לחיצה) - שיטה 3 יצירת כפתור שיתוף למובייל פתיחת דף תודה בטאב חדש בזמן שליחת טופס אלמנטור - טופס בודד בדף פתיחת דף תודה בטאב חדש בזמן שליחת טופס אלמנטור - טפסים מרובים בדף ביי ביי לאריק ג'ונס (חסימת ספאם בטפסים) זיהוי אלו אלמנטים גורמים לגלילה אופקית לייבלים מרחפים בטפסי אלמנטור יצירת אנימציה של "חדשות רצות" בג'ט (marquee) שינוי פונט באופן דינאמי בג'ט פונקציה ששולפת שדות מטא מתוך JET ומאפשרת לשים הכל בתוך שדה SELECT בטופס אלמנטור הוספת קו בין רכיבי התפריט בדסקטופ ולדציה למספרי טלפון בטפסי אלמנטור חיבור שני שדות בטופס לשדה אחד שאיבת נתון מתוך כתובת ה-URL לתוך שדה בטופס וקידוד לעברית מדיה קוורי למובייל Media Query תמונות מוצר במאונך לצד תמונת המוצר הראשית באלמנטור הצגת תאריך עברי פורמט תאריך מותאם אישית תיקון שדה תאריך בטופס אלמנטור במובייל שאיבת פרמטר מתוך הכתובת והזנתו לתוך שדה בטופס (PARAMETER, URL, INPUT) עמודות ברוחב מלא באלמנטור עמודה דביקה בתוך אלמנטור יצירת "צל" אומנותי קוד לסוויצ'ר, שני כפתורים ושני אלמנטים סקריפט לסגירת פופאפ של תפריט לאחר לחיצה על אחד העמודים הוספת כפתור קרא עוד שפת הממשק של אלמנטור תואמת לשפת המשתמש להריץ קוד JS אחרי שטופס אלמנטור נשלח בהצלחה מצב ממורכז לקרוסלת תמונות של אלמנטור לייבלים מרחפים בטפסי פלואנטפורמס שדרוג חוויית העלאת הקבצים באלמנטור
What is the fastest or most elegant way to compute a set difference using Javascript arrays? - Stack Overflow javascript - Class Binding ternary operator - Stack Overflow Class and Style Bindings — Vue.js How to remove an item from an Array in JavaScript javascript - How to create a GUID / UUID - Stack Overflow json - Remove properties from objects (JavaScript) - Stack Overflow javascript - Remove property for all objects in array - Stack Overflow convert array to dictionary javascript Code Example JavaScript: Map an array of objects to a dictionary - DEV Community JavaScript: Map an array of objects to a dictionary - DEV Community javascript - How to replace item in array? - Stack Overflow javascript - How to replace item in array? - Stack Overflow How can I replace Space with %20 in javascript? - Stack Overflow JavaScript: Check If Array Has All Elements From Another Array - Designcise javascript - How to use format() on a moment.js duration? - Stack Overflow javascript - Elegant method to generate array of random dates within two dates - Stack Overflow Compare two dates in JavaScript using moment.js - Poopcode javascript - Can ES6 template literals be substituted at runtime (or reused)? - Stack Overflow javascript - How to check if array is empty or does not exist? - Stack Overflow How To Use .map() to Iterate Through Array Items in JavaScript | DigitalOcean Check if a Value Is Object in JavaScript | Delft Stack vuejs onclick open url in new tab Code Example javascript - Trying to use fetch and pass in mode: no-cors - Stack Overflow Here are the most popular ways to make an HTTP request in JavaScript JavaScript Array Distinct(). Ever wanted to get distinct element - List of object to a Set How to get distinct values from an array of objects in JavaScript? - Stack Overflow Sorting an array by multiple criteria with vanilla JavaScript | Go Make Things javascript - Map and filter an array at the same time - Stack Overflow ecmascript 6 - JavaScript Reduce Array of objects to object dictionary - Stack Overflow javascript - Convert js Array to Dictionary/Hashmap - Stack Overflow javascript - Is there any way to use a numeric type as an object key? - Stack Overflow
Hooks Cheatsheet React Tutorial Testing Overview – React performance Animating Between Views in React | CSS-Tricks - CSS-Tricks Building an Animated Counter with React and CSS - DEV Community Animate When Element is In-View with Framer Motion | by Chad Murobayashi | JavaScript in Plain English Handling Scroll Based Animation in React (2-ways) - Ryosuke react-animate-on-scroll - npm Bring Life to Your Website | Parallax Scrolling using React and CSS - YouTube react-cool-inview: React hook to monitor an element enters or leaves the viewport (or another element) - DEV Community Improve React Performance using Lazy Loading💤 and Suspense | by Chidume Nnamdi 🔥💻🎵🎮 | Bits and Pieces Mithi's Epic React Exercises React Hooks - Understanding Component Re-renders | by Gupta Garuda | Medium reactjs - When to use useImperativeHandle, useLayoutEffect, and useDebugValue - Stack Overflow useEffect vs useLayoutEffect When to useMemo and useCallback useLockBody hook hooks React animate fade on mount How to Make a React Website with Page Transitions using Framer Motion - YouTube Build a React Image Slider Carousel from Scratch Tutorial - YouTube React Router: useParams | by Megan Lo | Geek Culture | Medium useEffect Fetch POST in React | React Tutorial Updating Arrays in State Background Images in React React Context API : A complete guide | by Pulkit Sharma | Medium Code-Splitting – React Lazy Loading React Components (with react.lazy and suspense) | by Nwose Lotanna | Bits and Pieces Lazy loading React components - LogRocket Blog Code Splitting a Redux Application | Pluralsight react.js folder structure | by Vinoth kumar | Medium react boilerplate React State Management best practices for 2021 (aka no Redux) | by Emmanuel Meric de Bellefon | Medium Create an advanced scroll lock React Hook - LogRocket Blog UseOnClickOutside : Custom hook to detect the mouse click on outside (typescript) - Hashnode react topics 8 Awesome React Hooks web-vitals: Essential metrics for a healthy site. scripts explained warnings and dependency errors Learn the useContext Hook in React - Programming with Mosh Learn useReducer Hook in React - Programming with Mosh Guide To Learn useEffect Hook in React - Programming with Mosh Getting Started With Jest - Testing is Fun - Programming with Mosh Building an accessible React Modal component - Programming with Mosh Kent C. Dodds's free React course
SAVED SEARCH DATE FORMAT(page wise) AND LOOP THROUGH EACH DATA || With Pagination || Avoids 4000 data Limt Rest in Suitlet CALL ANOTHER SCRIPT | SUITELET FROM ANY OTHER SCRIPT | SUITELET | ALSO PASSING OF PARAMETERS CALLING RESTLET |FROM SUITELET Where Is The “IF” Statement In A Saved Search Formula? – > script everything Where Is The “IF” Statement In A Saved Search Formula? – > script everything ClientScript Add Sublist Line items etc Saving Record In different way. BFO AND FREEMarkup || advance pdf html template Join In Lookup Field Search || Alternative of saved search Use Saved Serch or Lookup field search for Getting value or id of Fields not visible On UI or xml https://www.xmlvalidation.com/ XML Validate Load Record--->selectLine--->CommitLine--->Save [Set Sublist field Data After Submit] Null Check Custom Check SEND MAIL WITH FILE ATTACHED EXECUTION CONTEXT || runtime.context In BeforeLoad Use This When Trying to Get Value In BeforeLoad Convert String Into JSON Freemarker Below 2.3.31 use ?eval || above use ?eval_json Design Of Full Advance PDF Template using Suitescript PART 1: Design Of Full Advance PDF Template using Suitescript PART 2: Iterate Through Complex Nested JSON Object Freemarker || BFO || Advance PDF HTML Template WORKING JSON OBJ ITERATE FreeMarker get String convert to JSON ,Iterate through it ,Print Values In Table Series Addition Freemarker Using Loop(List) Modified Null Check || Keep Updated One Here Navigations In Netsuite || Records || etc DATE FORMAT Netsuite Javascript Transform Invoice To Credit Memo NULLCHECK Freemarker||BFO|| XML||Template Before Accessing Any Value Refresh Page Without Pop Up | | client script || Reload Page Easy Manner To Format Date || Date to simple Format || MM/DD/YYYY Format ||Simple Date CUSTOM ERROR MESSAGE CREATE HOW TO STOP MAP/REDUCE SCRIPT RUNNING FILTER ON JSON OBJECT SAVED SEARCH CRITERIA LOGIC FOR WITHIN DATE | | WITHIN START DATE END DATE TO GET Line no. also of Error NETSUITE SERVER TIMEZONE : (GMT-05:00) Eastern Time (US & Canada) || Problem resolved for Map/reduce Timezone issue for Start Date in map/reduce || RESOLVED THE ISSUE compare/check date that it lies between two dates or not || Use of .getTime() object of Date TO FIND ALL TASKS WITHIN SO START DATE AND END DATE || SAVED SEARCH CODE WORDS Saved Search Get only one Result || getRange netsuite - SuiteScript 2.0 Add filters to saved search in script - Stack Overflow || Addition in saved search filter MASS DELETE ALL RCORD FROM SAVED SEARCH DATA IN PARAMETER|| ADD SS IN THE DEPLOYMENT PARAMETER SAVED SEARCH DATE COMPARE AND GET RESULT IN DAYS HOURS MINUTES Multiple Formula Columns Comment In Saved Search || Saved search used SQL language for writing formula Logic Set Addressbook Values || Addressbook is a subrecord SuiteQL || N/Query Module || Support SQL query VALIDATE 2 DATES LIE BETWEEN 2 DATES OR NOT || OVERLAPPING CASE ALSO Weeks Within two dates:
Delete Duplication SQL Using Subquery to find salary above average Sorting Rank Number In Sql find nth Salary in SQL sql - Counting rows in the table which have 1 or more missing values - Stack Overflow How to create customized quarter based on a given date column sql sql server - Stack Overflow get total sales per quarter, every year delete duplicate for table without primary key SQL Server REPLACE Function By Practical Examples adding row_number row_id to table find total sales per cateogry each year change empty string into null values Case when to update table update table using replace function How to Use CASE WHEN With SUM() in SQL | LearnSQL.com find each year sale in each city and state, then sum them all using regexp_replace to remove special chracter postgresql find quarter sale in each state, and sum it using unbounded preceding, and using percent rank create delimiter for the phone number regexp_replace to remove special characters using row between to cummulative sum update null values using WHERE filter insert into table command sum cummulative value in SQL SQL Important syntax Auto Increment in SQL read json file on postgresql Moving Average n Moving Total pivot on potgresql Rollup and Cube date function in postgresql select specify part of string using substring change column data type exclude null values in sql how to exclude zero in our counting finding outlier in sql how to import data with identifier (primary key) email and name filtering in sql trimming and removing particular string from sql replace string on sql regexp to find string in SQL answers only about email, identifier, lower, substring, date_part, to_char find percentage of null values in total remove duplicate on both tables v2 any and in operator string function moreee bucket function find perfomance index in sql find top max and top min finding world gdp formula (SUM OVER) find month percentage change find highest height in sql with row_number and subquery JOIN AND UNION offset and limit in sql function and variables using views on postgresql find cummulative sums in postgresql find null and not null percentage find specific strings or number in SQL using case when and CAST function Lpad function in Postgresql and string function in general Regexp function in postgresql regular expressions example in postgresql And FUZZYSTRMATCH updated method of deleting duplicates determine column types
Initiate MS Team Group Chat via PowerApps Save the current users email as a variable Creates variable with a theme colour palette Send an email from the current user Filters a data source based on the current logged in user Patch data fields, including a choice column to a data source Changes the colour of a selected item in a Gallery Filter and search a data source via a search box and dropdown Changes visibility based on the selection of another Gallery - used for "Tabs" Display current users first name Fix: Combobox/Search is empty check not working - Power Platform Community Retrive a user photo from SharePoint Get user photo from office365 connector from gallery Set a variable with the current users first name, from the currentUser variable Extract values from a collection Extract value from combo box Extract vale from combo box and convert to string/text Convert collection to JSON Combo box values to collection Show newly created items first / sort by most recent entry, will only show items created today Validate/Validation text box length and/or combo boxes contain data Text input validation - turns border red Lookup value against a text input and disable or enable displaymode Lookup items from a textbox Sets items to choices drop down or combo box Change text value based on lookup results returns tops 10 results and sorts by most recent created date Sets a variable with spilt text from a link - YouTube in this case Pass a null or empty value from Power Apps to a flow
Linuxteaching | linux console browser javascript Debugging in Visual Studio Code C# - Visual Studio Marketplace C# - Visual Studio Marketplace dotnet-install scripts - .NET CLI | Microsoft Docs dotnet-install scripts - .NET CLI | Microsoft Docs undefined .NET Tutorial | Hello World in 5 minutes Configuration files – Nordic Developer Academy CacheStorage.open() - Web APIs | MDN TransIP API Install .NET Core SDK on Linux | Snap Store .NET Tutorial | Hello World in 5 minutes Creating Your First Application in Python - GeeksforGeeks Riverbank Computing | Download Managing Application Dependencies — Python Packaging User Guide Building your first mobile application using Python | Engineering Education (EngEd) Program | Section Building your first mobile application using Python | Engineering Education (EngEd) Program | Section Building your first mobile application using Python | Engineering Education (EngEd) Program | Section Building your first mobile application using Python | Engineering Education (EngEd) Program | Section ActivePython-2.7 - ActiveState - Builds - ActiveState Platform Installation guidance for SQL Server on Linux - SQL Server | Microsoft Docs Ellabusby2006/Anzelmo2022 Ik wil de PHP-versie updaten van Ubuntu / Debian | TransIP Ik wil de PHP-versie updaten van Ubuntu / Debian | TransIP W3Schools Tryit Editor .NET installeren op Debian - .NET | Microsoft Learn .NET installeren op Debian - .NET | Microsoft Learn .NET installeren op Debian - .NET | Microsoft Learn .NET installeren op Debian - .NET | Microsoft Learn How To Build A Simple Star Rating System - Simon Ugorji | Tealfeed Visual Studio Code language identifiers Running Visual Studio Code on Linux HTML Forms Installeren .NET op Debian - .NET | Microsoft Learn StarCoderEx (AI code generator) - Visual Studio Marketplace Installeren .NET op Linux zonder een pakketbeheerder te gebruiken - .NET | Microsoft Learn ASP.NET Tutorial | Hello World in 5 minutes | .NET Deploy and connect to SQL Server Linux containers - SQL Server | Microsoft Learn Settings Sync in Visual Studio Code Settings Sync in Visual Studio Code TransIP API Monitoring as Code
.NET Tutorial | Hello World in 5 minutes docx2html - npm Running Visual Studio Code on Linux Connect to an ODBC Data Source (SQL Server Import and Export Wizard) - SQL Server Integration Services (SSIS) | Microsoft Docs .NET installeren in Linux zonder pakketbeheer - .NET | Microsoft Docs TransIP API TransIP API TransIP API TransIP API .NET installeren in Alpine - .NET | Microsoft Docs .NET installeren op Ubuntu - .NET | Microsoft Docs .NET installeren op Ubuntu - .NET | Microsoft Docs Geïnstalleerde .NET-versies controleren op Windows, Linux en macOS - .NET | Microsoft Docs Install .NET Core SDK on Linux | Snap Store .NET Tutorial | Hello World in 5 minutes Riverbank Computing | Download Managing Application Dependencies — Python Packaging User Guide Building your first mobile application using Python | Engineering Education (EngEd) Program | Section Building your first mobile application using Python | Engineering Education (EngEd) Program | Section Building your first mobile application using Python | Engineering Education (EngEd) Program | Section Building your first mobile application using Python | Engineering Education (EngEd) Program | Section ActivePython-2.7 - ActiveState - Builds - ActiveState Platform html - How to get mp3 files to play in iPhone Safari web browser? - Stack Overflow Work with review data  |  Google Business Profile APIs  |  Google Developers Javascript save text file - Javascript .NET installeren op Debian - .NET | Microsoft Learn Deploy and connect to SQL Server Linux containers - SQL Server | Microsoft Learn Settings Sync in Visual Studio Code Settings Sync in Visual Studio Code
Working with JSON in Freemarker - Liferay Community Freemarker parse a String as Json - Stack Overflow Online FreeMarker Template Tester Compiler Validate XML files Convert String Into JSON Freemarker Below 2.3.31 use ?eval || above use ?eval_json Working with JSON in Freemarker - Liferay Community Working with JSON in Freemarker - Liferay Community java - Freemarker iterating over hashmap keys - Stack Overflow java - Freemarker iterating over hashmap keys - Stack Overflow FreeMarker get String convert to JSON ,Iterate through it ,Print Values In Table Online FreeMarker Template Tester || freemarker compiler Series Addition Freemarker Using Loop(List) How to Convert a string to number in freemarker template - Stack Overflow javascript - Grouping JSON by values - Stack Overflow DATE FORMAT Netsuite Javascript Freemarkup | | Iterate through nested JSON all Values Using Nested For Loop Nested JSON Iterate Using BFO javascript - Error parsing XHTML: The content of elements must consist of well-formed character data or markup - Stack Overflow NULLCHECK Freemarker||BFO|| XML||Template Before Accessing Any Value ADVANCE PDF HTML TEMPLATE 7 Tips for Becoming a Pro at NetSuite’s Advanced PDF/HTML HTML Tag Center Does Not Work in Advanced PDF/HTML Templates|| align center HTML BFO NOTES Advanced PDF/HTML Template - NetSuite (Ascendion Holdings Inc) Check Template Code Is Very Different || Bill Payment check template Check Template Code Is Very Different || Bill Payment check template Intro to NetSuite Advanced PDF Source Code Mode | Tutorial | Anchor Group NETSUITE GUIDE OVER PDF/HTML TEMPLATE EDITOR suitescript - Ability to choose between multiple PDF templates on a Netsuite transaction form - Stack Overflow BFO DIV tr td etc User Guide|| USEFULL IMPORTANT Border radius in advanced html/pdf templates is not supported? : Netsuite Comma seperated Number With 2 DECIMAL PLACE || FREEMARKER || ADVANCE PDF HTML TEMPLATE
001-hello-world: Hello Image Classification using OpenVINO™ toolkit 002-openvino-api: OpenVINO API tutorial 003-hello-segmentation: Introduction to Segmentation in OpenVINO 004-hello-detection: Introduction to Detection in OpenVINO 101-tensorflow-to-openvino: TensorFlow to OpenVINO Model Conversion Tutorial 102-pytorch-onnx-to-openvino: PyTorch to ONNX and OpenVINO IR Tutorial 103-paddle-onnx-to-openvino: Convert a PaddlePaddle Model to ONNX and OpenVINO IR 104-model-tools: Working with Open Model Zoo Models 210-ct-scan-live-inference: Live Inference and Benchmark CT-scan Data with OpenVINO 201-vision-monodepth: Monodepth Estimation with OpenVINO 210-ct-scan-live-inference: Live Inference and Benchmark CT-scan Data with OpenVINO 401-object-detection-webcam: Live Object Detection with OpenVINO 402-pose-estimation-webcam: Live Human Pose Estimation with OpenVINO 403-action-recognition-webcam: Human Action Recognition with OpenVINO 211-speech-to-text: Speech to Text with OpenVINO 213-question-answering: Interactive Question Answering with OpenVINO 208-optical-character-recognition: Optical Character Recognition (OCR) with OpenVINO 209-handwritten-ocr: Handwritten Chinese and Japanese OCR 405-paddle-ocr-webcam: PaddleOCR with OpenVINO 305-tensorflow-quantization-aware-training: Optimizing TensorFlow models with Neural Network Compression Framework of OpenVINO by 8-bit quantization 302-pytorch-quantization-aware-training: Optimizing PyTorch models with Neural Network Compression Framework of OpenVINO by 8-bit quantization 301-tensorflow-training-openvino: Post-Training Quantization with TensorFlow Classification Model 301-tensorflow-training-openvino: From Training to Deployment with TensorFlow and OpenVINO 204-named-entity-recognition: Named Entity Recognition with OpenVINO
If statement with switch delete duplicates from an array loop and find class Nullish with an Object - basic tranverse classes in a list substring capitalize substring text with elipses array.at() js media query Dynamic Filter - buttons advanced flow converted if statement Add an array to a HTML dataset getElement Function Intersection Observer template intersection Observer Basic Example fetch data, display and filter for of loop - get index get random index value from an array fetch with post method get id value from url debounce for scrolling get element or elements check functions return values from functions indexOf explantion sorting basic using for-of loop for getting index value of iteration import json data into a JS module Splide slider with modal JS change active class if url path matches Pagination / array of arrays FIlter array or return full array price formatting ignores wrapping element on click Create a dummy array with numbers Random Generated Number Dummy array - list items dummy id Limits the amount of text Random Number generator function format date function Remove duplicates from JSON array data Filter Posts from state remove duplicates and create object simple ternary remove transition with propertyName sorting in reverse counting items using reduce splice explanation Declaring Variables Get primitive properties on a number / string etc using proto check an array of objects exists / check using regex Destructuring nested function scope IFFE function basic switch Switch with function passing an object check length of object while loops (for when the number we are iterating over is unknown) Ternary with 2 / 3 conditions for of loop with index array nested ternary operator callbacks Method Borrowing this keyword and arrow functions rest operator - args functions p1 rest operator - args functions p2 for of loop with index and entries callback functions explained version 1 callback functions explained version 2 Form and value IF Element shorthand function as a callback inside a higher order function Using param for symbol remove 'px' from number scrolling behaviour test 1 clearing event listeners new URL applying css vars scroll behaviours testing intersection observer intersection observer with loop JS docs - writing js docs check is key exists call() nested ternary with function forEach with function and ...args using template literals filter duplicates get class by indexOf returning ternary operator remove children from parent bootstrap rows with cols fetching multple data endpoints Promise.all remove file extension Js snippet for aria expanded passes this from a function containing a listener, to another function dynamic function to change icons compare arrays and push to an empty instead of pushing an object to a data array return the Object.entries(data).map Creating Dynamic filtering using JSON Advanced toggling with 3rd param of force Dynamic Key Assignment flatmap for arrays passing key value pairs from one object to another FInding Prototype Methods Returns Items that are true returning the item data from an array of objects sorting via switch statement filtering with checkboxes JS Docs cheatsheat for param types matches Js syles object on a div element bind grouping groupby() checkbox example conditions modal for text links reduce - dynamic toggle class with force returning objects setProperty with CSS variables CONVERT setProperty with CSS variables to object and functions CONVERT setProperty with CSS variables to object and functions version 2 uses an object instead of a switch statement cookie object functions mapping 3 Async Await / Promise resolve reject filter filter out items from array1 based on array2 promise with init function
Microsoft Powershell: Delete registry key or values on remote computer | vGeek - Tales from real IT system Administration environment How to Upload Files Over FTP With PowerShell Configure attack surface reduction in Microsoft Defender using Group Policy or PowerShell – 4sysops WinPE: Create bootable media | Microsoft Learn powershell - Can I get the correct date mixing Get-Date and [DateTime]::FromFileTime - Stack Overflow Search-ADAccount (ActiveDirectory) | Microsoft Docs Manual Package Download - PowerShell | Microsoft Docs Get a List of Expired User Accounts in AD Using PowerShell Search-ADAccount (ActiveDirectory) | Microsoft Docs How to Stop an Unresponsive Hyper-V Virtual Machine | Petri IT Knowledgebase Adding PowerShell 7 to WinPE - Deployment Research Send-MailMessage (Microsoft.PowerShell.Utility) - PowerShell | Microsoft Learn How to run a PowerShell script as a Windows service – 4sysops Connect to Exchange Online with PowerShell - The Best Method Find the Full Windows Build Number with PowerShell How to find all the ADFS servers in your environment and run diagnostics against them | Michael de Blok How to find ADFS servers in the environment - Windows Server path - PowerShell script working directory (current location) - Stack Overflow How to get the path of the currently executing script in PowerShell [SOLVED] Unable to Delete Hyper-V VM Checkpoints - Spiceworks Published Applications – Carl Stalhood VMM Reporting | Aidan Finn, IT Pro Use PowerShell to search for string in registry keys and values - Stack Overflow Search for Uninstall Strings - Jose Espitia
INCOME AND SPEND SUMMARY: Monthly regular gift income (DD, CC, PayPal) INCOME AND SPEND SO AGENCT AND PAYROLL INCOME AND SPEND Non Monthly DD income INCOME AND SPEND SUMMARY Donation (50020) Income and Spend Summary Appeal (50050) INCOME AND SPEND SUMMARY:FAV Donation (50060) INCOME AND SPEND SUMMARY: In Memory Of (IMO) (50170) INCOME AND SPEND SUMMARY: Single Fundraised Sales (51040)+Books(51050) INCOME AND SPEND SUMMARY: Single Fundraised Sales (51040)+Books(51050) INCOME AND SPEND SUMMARY: Single Fundraised Sales (51040)+Books(51050) INCOME AND SPEND SUMMARY: Single Fundraised Sales (51040)+Books(51050) INCOME AND SPEND SUMMARY: Raffle ticket sales INCOME AND SPEND SUMMARY:51060 - Community Fundraising INCOME AND SPEND SUMMARY:50130 - Collecting Tins INCOME AND SPEND SUMMARY:50110 - Gift Aid REGULAR GIVING SUMMARY: Monthly regular gift payments CC/PP/DD SINGLE GIFT SUMMARY: Single gift payments (donations only) NEW SUPPORTER INCOME: Single gift payments NEW SUPPORTER INCOME: Monthly regular gift income NEW SUPPORTER INCOME: New monthly regular gifts established (new supporters only) NEW SUPPORTER INCOME: Single gift income (new supporters only) EXISTING BASE: INCOME FROM EXISTING REGULAR INSTRUCTIONS EXISTING BASE Monthly regular gift payments (CC/PP/DD) EXISTING BASE: Existing Non monthly DD income Existing Base other regular giving income EXISTINGBASE Cumulative monthly regular gift payments EXISTING BASE Monthly regular gift income from new regular donor EXISTING BASE single gift donations income - existing supporters EXISTING BASE Single gift donations EXISTING BASE: Single gift income - high value gifts Existing Base: Workplace giving income EXISTING BASE Volunteer fundraising & other cash income (Community Events, FB fundraiser, Lilo) EXISTING BASE: Gift aid income ES ES Monthly cc/pp/dd Income existing ES ES Monthly cc/pp/dd Payments existing Single Single gift under 500 Total Regular giving Existing WORKPLACE GIVING
Windows: 7/Vista/XP/2K tcp tunneling nbtscan: Multiple-OS command line utility: NETBIOS nameserver scanner Linux: Simulating slow internet connection Linux/Ubuntu: Changing gateway address and flush/restart network interface Linux: SSH Tunnel to local machines. Linux: Get my external ip address Linux/Ubuntu: Enable/Disable ping response Linux: Cron: Reset neorouter Linux/Ubuntu: sniff tcp communications (binary output) Liunux/Ubuntu: get a list of apps that are consuming bandwidth Linux/Ubuntu: iptables: block external outgoing ip address Linux/Ubuntu: How to setup pptp vpn server Linux: NGINX: Setup alias Linux: ssh without password Linux: NGINX: Proxy reverse Linux: one way remote sync using unison and ssh Linux: Open ssh port access using a combination (knocking technique) Linux: ssh login for only one user Linux/Ubuntu: Server: Configuring proxies Linux/Ubuntu: Share folder with Windows (via samba) Linux: Get all my local IP addresses (IPv4) Linux/Ubuntu: list ufw firewall rules without enabling it Linux/Ubuntu: Connect windows to shared folder as guest Linux/Ubuntu: Avoid connection from specific ip address without using iptables Linux: Telegram: Send telegram message to channel when user logged via ssh Linux/Ubuntu: nginx: Configuration to send request to another server by servername Modbus/ModPoll Linux/Neorouter: watchdog for neorouter connection Linux: libgdcm: Send dicom images to PACS using gdcmscu. Ubuntu: mount full rw cifs share Linux/Ubuntu: NGINX: Basic authentication access Linux/Ubuntu: Mosquitto: Enable mqtt service Linux: Detect if port is closed from command line Linux: Get internet content from command line using wget Mac OSX: Port redirection Windows 10: Port redirection/Tunneling Python: Telegram Bot API: Ask/Answer question PHP: Post a XML File using PHP without cURL Nginx: Call php without extension PHP: Send compressed data to be used on Javascript (i.e. Json data) PHP: Download file and detect user connection aborted Linux/Proxmox: Enable /dev/net/tun for hamachi PHP: using curl for get and post NGINX: Creating .htpasswd
Linux: Free unused cache memory Linux: mounting VirtualBox VDI disk using qemu nbtscan: Multiple-OS command line utility: NETBIOS nameserver scanner Linux: Saving one or more webpages to pdf file Linux: Creating iso image from disk using one line bash command Linux/PostgreSQL: Getting service uptime Linux: Simulating slow internet connection Linux/Ubuntu: Changing gateway address and flush/restart network interface Linux: SSH Tunnel to local machines. Linux: Fast find text in specific files using wild cards Linux: Merging two or more pdf files into one, by using ghostscript Linux: Cron command for deleting old files (older than n days) Linux: Get my external ip address Linux: Get the size of a folder Linux: Get the size of a folder Linux: Get the size of a folder Lazarus/Linux: Connect to SQLServer using ZeosLib component TZConnection Linux/Ubuntu: Get ordered list of all installed packages Linux/Ubuntu: Enable/Disable ping response Linux/DICOM: Very small DICOM Server Linux: Cron: Reset neorouter Linux/Oracle: Startup script Linux/Ubuntu: detect if CD/DVD disk ispresent and is writeable Linux/PHP: Let www-data run other commands (permission) Linux/DICOM: Create DICOM Video Linux: Apply same command for multiple files Linux/Ubuntu: sniff tcp communications (binary output) Linux: rsync: Backup remote folder into local folder Linux: Installing Conquest Dicom Server Linux: Get number of pages of PDF document via command line Linux: split file into pieces and join pieces again Linux/Ubuntu: iptables: block external incoming ip address Liunux/Ubuntu: get a list of apps that are consuming bandwidth Linux/Ubuntu: iptables: block external outgoing ip address Linux/DICOM: dcmtk: Modify data in dicom folder Linux/Docker: save/load container using tgz file (tar.gz) Linx/Ubuntu: solve problem apt-get when proxy authentication is required Docker: Clean all Linux: ImageMagick: convert first page of pdf document to small jpeg preview Linux: Convert pdf to html PostgreSQL: backup/restore remote database with pg_dump Linux/Ubuntu: How to setup pptp vpn server Linux/Xubuntu: Solve HDMI disconnection caused by non-supported resolution Linux: List all users PostgreSQL: Log all queries Linux: NGINX: Setup alias Linux: ssh without password Linux: NGINX: Proxy reverse Linux: one way remote sync using unison and ssh Linux: Deleting files keeping only lastest n-files in specific folder Linux: Open ssh port access using a combination (knocking technique) Linux: Get Memory percentages. Linux: Can not sudo, unkown user root (solution) Linux: PDF: How to control pdf file size Linux: ssh login for only one user Linux: get pid of process who launch another process Linux: PHP: Fix pm.max server reached max children Linux/Ubuntu: Server: Configuring proxies Linux: Compare two files displaying differences Sox: Managing audio recording and playing Linux: VirtualBox: Explore VDI disk without running virtualbox Linux: Get machine unique ID Linux: rsync only files earlier than N days Linux: Create Virtual Filesystem Linux/Ubuntu: Server: Add disks to lvm Python/Ubuntu: connect to sqlserver and oracle Linux/Ubuntu: Share folder with Windows (via samba) Linux: Get all my local IP addresses (IPv4) Linux/Ubuntu: list ufw firewall rules without enabling it Linux/Ubuntu: Connect windows to shared folder as guest Linux: delete tons of files from folder with one command Linux/Ubuntu: Avoid connection from specific ip address without using iptables Linux: Telegram: Send telegram message to channel when user logged via ssh Linux/Ubuntu: Create barcode from command line. Linux: PHP/Python: Install python dependencies for python scripts and run scripts form php Linux/Ubuntu: nginx: Configuration to send request to another server by servername Linux/Ubuntu: Fix Imagemagick "not authorized" exception Linux/Neorouter: watchdog for neorouter connection Linux: libgdcm: Send dicom images to PACS using gdcmscu. Ubuntu: mount full rw cifs share Linux/Ubuntu: NGINX: Basic authentication access PostgreSQL: Backup/Restore database from/to postgres docker. Linux/Ubuntu: Mosquitto: Enable mqtt service Linux/PHP: Connect php7.0 with sqlserver using pdo. Linux: Detect if port is closed from command line Linux: PHP: Run shell command without waiting for output (untested) Linux/Ubuntu: OS Installation date Linux/Ubuntu: Join pdf files from command line using pdftk Linux: Get internet content from command line using wget Linux/PHP/SQL: Ubuntu/Php/Sybase: Connecting sysbase database with php7 Linux/Ubuntu: Solve LC_ALL file not found error Linux/Ubuntu: Run window program with wine headless on server Linux/Docker: List ip addresses of all containers. Linux: sysmon script (memory usage) Linux: Firebird: Create admin user from command line Linux/Firebird: Backup/Restore database Git: Update folder linux/dfm-to-json/docker Linux/Oracle/Docker: 19c-ee Linux/Docker: SQL Server in docker Linux/PHP/Docker: Run docker command from php/web Linux/Docker: Oracle 12-ee docker Linux: Oracle: Backup using expdp Linux/PHP/NGINX: Increase timeout Lazarus/Fastreport: Install on Linux Linux/Ubuntu: fswatch: watch file changes in folder Linux/Docker: SQLServer: mssql-scripter: backup/restore Linux/Ubuntu: Enable/disable screensaver Linux: SQLServer: Detect MDF version Linux/Docker: Oracle install 19c (II) on docker FirebirdSQL: Restore/Backup Linux/NGINX: Redirect to another server/port by domain name Linux/Proxmox: Enable /dev/net/tun for hamachi Linux/Ubuntu: Create sudoer user Linux: PDF-url to text without downloading pdf file Docker: Reset logs
Linux/PostgreSQL: Getting service uptime Lazarus/Linux: Connect to SQLServer using ZeosLib component TZConnection Linux/Oracle: Startup script PostgreSQL: backup/restore remote database with pg_dump PostgreSQL: Log all queries PostgreSQL: Create DBLINK PostgreSQL: Database replication Python/Ubuntu: connect to sqlserver and oracle Oracle/SQL: Generate range of dates PostgreSQL: Convert records to json string and revert to records PostgreSQL: Extract function DDL PostgreSQL: Backup/Restore database from/to postgres docker. Linux/PHP: Connect php7.0 with sqlserver using pdo. PostgreSQL: Trigger template PostgreSQL: Count all records in spite of using offset/limit PHP/SQL: Reverse SQL Order in sentence PostgreSQL: Filter using ilike and string with spaces PostgreSQL: Create log table and trigger Postgres: Get string all matches between {} Linux/PHP/SQL: Ubuntu/Php/Sybase: Connecting sysbase database with php7 PostgreSQL: Must know PostgreSQL: Debito, Credito, Saldo PostgreSQL: Count total rows when range is empty PostgreSQL: Extremely fast text search using tsvector PostgreSQL: Create a copy of DB in same host PHP/PostgreSQL: Event Listener Linux: Firebird: Create admin user from command line SQL: CTE Parent-child recursive Windows/Docker/Firebird: Backup remote database Linux/Firebird: Backup/Restore database PostgreSQL: Set search path (schemas) for user Firebird on Docker Firebird: Find holes in sequence (missing number) Linux/Oracle/Docker: 19c-ee Firebird: Create an Array of integers from String Oracle: Change Sys/System user pasword Oracle: Create/drop tablespace Oracle: Create User/Schema Linux: Oracle: Backup using expdp Oracle: Get slow queries Linux: SQLServer: Detect MDF version Linux/Docker: Oracle install 19c (II) on docker FirebirdSQL: Restore/Backup Firebird: Age Calculation using Ymd format Postgresql: Age calculation to Ymd Firebird: Create Range of dates, fraction in days, hours, minutes, months or years Firebird: DATE_TO_CHAR Function (like Oracle's TO_CHAR) MS SQLServer Backup Database MS SQLServer: Detect long duration SQL sentences Firebird: Fast Search Firebird: Code Generator FirebirdSQL 2.x: DATE_TO_CHAR Procedure (like Oracle's TO_CHAR) MSSQLServer: Sequences using Date based prefix format Firebird: Query to get "Range of time" based on unit: days, months, years, etc Firebird: Generate a range of numbers. Firebird 5.x: Config for D7 compatibility.
CSS: Setup a perfect wallpaper using background image CSS: Ellipsis at end of long string in element Javascript: Is my browser on line? CSS: Crossbrowser blur effect Javascript: calculating similarity % between two string Javascript: vanilla and crossbrowser event handler accepting arguments Javascript: convert native browser event to jQuery event. Linux: Convert pdf to html Javascript: Convert proper name to Capital/Title Case Javascript: Disable Back Button - (untested) HTML/CSS: Login Page HTML/CSS: Circular progress bar using css HTML/CSS: Data column organized as top-down-right structure HTML/CSS: Printing page in letter size Javascript: Get file name from fullpath. HTML/CSS: Header/Body/Footer layout using flex Windows: Chrome: Avoid prompt on custom url calling by changing registry Javascript: Get filename and path from full path filename Javascript: Clone array/object. CSS + FontAwesome: Battery charging animation CSS: spin element HTML/CSS: Switch with input CSS: Transparent event clicks having translucid front div element CSS: Blurry Glass Effect CSS: Grow element size when mouse hover Javascript/jQuery: Input with fixed prefix. Javascript: ProtocolCheck Javascript: Beep Telegram: Chat/html (personal) PHP: php-imagick: Thumbnail from thispersondoesnotexists Javascript: Get host info Javascript: Vanilla async get HTML/CSS: Rotating circle loader PHP: Post JSON object to API without curl Javascript: Post data to new window. CSS/Android Ripple Effect in Pure CSS OSRM/API: OpenStreet Maps Calculate distance between points OSM/OpenLayers: Place marker on coordinates using custom image. PHP: Send compressed data to be used on Javascript (i.e. Json data) PHP/JSignature: Base30 to PNG Javascript: Query Params to JSON Javascript/CSS: Ripple Effect - Vanilla Delphi/UniGUI: Disable load animation PHP: Send basic authentication credentials Delphi: Post JSON to API PHP: Receiving Bearer Authorization token from header Linux/NGINX: Redirect to another server/port by domain name Javascript: Async/Await Web Programming: Fastest way for appending DOM elements CSS: Animated progress bar CSS: Shake element CSS: Align elements like windows explorer icons layout style Javascript: Submit JSON object from form values Javascript: Fetch POST JSON Linux: PDF-url to text without downloading pdf file Javascript/in Browser: Jump to anchor Javascript/NodeJS: Uglify js files CSS: Two of the best readable fonts in web CSS: Dark/Theater background Javascript: Detect inactivity / idle time Svelte: Dynamic component rendering CSS: Responsive Grid NGINX: Creating .htpasswd Javascript: Wait until all rendered Javascript: Print PDF directly having URL Sveltekit: Create component dynamically Sveltekit: Create component dynamically Sveltekit: Import component dynamically CSS: Animation/Gelatine CSS: Set width/height to max available HTML: Waze map embed into webpage Cordova/Mobile: App ejemplo para autenticar con huella digital. Cordova: Fingerprint auth Javascript/HTML: Detect if element if off screen
Javascript: Is my browser on line? Javascript: calculating similarity % between two string Javascript: vanilla and crossbrowser event handler accepting arguments Javascript: convert native browser event to jQuery event. Javascript: Convert proper name to Capital/Title Case Javascript: Disable Back Button - (untested) Javascript: Get file name from fullpath. Javascript: Get filename and path from full path filename Javascript: Clone array/object. Javascript/jQuery: Input with fixed prefix. Javascript: ProtocolCheck Cordova: Fix FCM plugin error Cordova: Call function at main App from inappbrowser. Javascript: Beep Telegram: Chat/html (personal) Javascript: Get host info Javascript: Vanilla async get Javascript: Post data to new window. OSM/OpenLayers: Place marker on coordinates using custom image. Javascript: Query Params to JSON Javascript/CSS: Ripple Effect - Vanilla Vanilla Javascript: Upload file Javascript: Async/Await Web Programming: Fastest way for appending DOM elements Javascript: Submit JSON object from form values Javascript: Fetch POST JSON Javascript/in Browser: Jump to anchor Javascript/NodeJS: Uglify js files Javascript: Detect inactivity / idle time Svelte: Dynamic component rendering Javascript: Change object property position Javascript: Wait until all rendered Javascript: Print PDF directly having URL Replace URL's with Links Javascript: Wait until fonts and images loaded Cordova/Mobile: App ejemplo para autenticar con huella digital. Javascript/HTML: Detect if element if off screen
substr(): It takes two arguments, the starting index and number of characters to slice. substring(): It takes two arguments, the starting index and the stopping index but it doesn't include the character at the stopping index. split(): The split method splits a string at a specified place. includes(): It takes a substring argument and it checks if substring argument exists in the string. includes() returns a boolean. If a substring exist in a string, it returns true, otherwise it returns false. replace(): takes as a parameter the old substring and a new substring. replace(): takes as a parameter the old substring and a new substring. charAt(): Takes index and it returns the value at that index indexOf(): Takes a substring and if the substring exists in a string it returns the first position of the substring if does not exist it returns -1 lastIndexOf(): Takes a substring and if the substring exists in a string it returns the last position of the substring if it does not exist it returns -1 concat(): it takes many substrings and joins them. startsWith: it takes a substring as an argument and it checks if the string starts with that specified substring. It returns a boolean(true or false). endsWith: it takes a substring as an argument and it checks if the string ends with that specified substring. It returns a boolean(true or false). search: it takes a substring as an argument and it returns the index of the first match. The search value can be a string or a regular expression pattern. match: it takes a substring or regular expression pattern as an argument and it returns an array if there is match if not it returns null. Let us see how a regular expression pattern looks like. It starts with / sign and ends with / sign. repeat(): it takes a number as argument and it returns the repeated version of the string. Concatenating array using concat indexOf:To check if an item exist in an array. If it exists it returns the index else it returns -1. lastIndexOf: It gives the position of the last item in the array. If it exist, it returns the index else it returns -1. includes:To check if an item exist in an array. If it exist it returns the true else it returns false. Array.isArray:To check if the data type is an array toString:Converts array to string join: It is used to join the elements of the array, the argument we passed in the join method will be joined in the array and return as a string. By default, it joins with a comma, but we can pass different string parameter which can be joined between the items. Slice: To cut out a multiple items in range. It takes two parameters:starting and ending position. It doesn't include the ending position. Splice: It takes three parameters:Starting position, number of times to be removed and number of items to be added. Push: adding item in the end. To add item to the end of an existing array we use the push method. pop: Removing item in the end shift: Removing one array element in the beginning of the array. unshift: Adding array element in the beginning of the array. for of loop Unlimited number of parameters in regular function Unlimited number of parameters in arrow function Expression functions are anonymous functions. After we create a function without a name and we assign it to a variable. To return a value from the function we should call the variable. Self invoking functions are anonymous functions which do not need to be called to return a value. Arrow Function Object.assign: To copy an object without modifying the original object Object.keys: To get the keys or properties of an object as an array Object.values:To get values of an object as an array Object.entries:To get the keys and values in an array hasOwnProperty: To check if a specific key or property exist in an object forEach: Iterate an array elements. We use forEach only with arrays. It takes a callback function with elements, index parameter and array itself. The index and the array optional. map: Iterate an array elements and modify the array elements. It takes a callback function with elements, index , array parameter and return a new array. Filter: Filter out items which full fill filtering conditions and return a new array reduce: Reduce takes a callback function. The call back function takes accumulator, current, and optional initial value as a parameter and returns a single value. It is a good practice to define an initial value for the accumulator value. If we do not specify this parameter, by default accumulator will get array first value. If our array is an empty array, then Javascript will throw an error every: Check if all the elements are similar in one aspect. It returns boolean find: Return the first element which satisfies the condition findIndex: Return the position of the first element which satisfies the condition some: Check if some of the elements are similar in one aspect. It returns boolean sort: The sort methods arranges the array elements either ascending or descending order. By default, the sort() method sorts values as strings.This works well for string array items but not for numbers. If number values are sorted as strings and it give us wrong result. Sort method modify the original array. use a compare call back function inside the sort method, which return a negative, zero or positive. Whenever we sort objects in an array, we use the object key to compare. Destructing Arrays : If we like to skip on of the values in the array we use additional comma. The comma helps to omit the value at that specific index
GitHub - ChrisTitusTech/winutil How to install CAB file for updates and drivers on Windows 10 - Pureinfotech launch command, longer and shorter Launching a startup program to run as administrator Install Windows Update Powershell Windows and MS office activation windows group policy update Remove all the policies applied to Edge browser. Remove ALL the Group Policy settings that are applied to your Windows system. Uninstall Edge System scan Disable Logon Background Image Automatic login in Windows 10 Windows local account password: Set to infinty This script will extract your Retail product key. ProductKey.vbs Completely Remove Windows 11 Widgets MS Edge: Use secure DNS - Undo 'browser managed by...' Move edge cache to ramdisk The Proxy Auto-Configuration: disable by changing this registry key Nilesoft Shell Disable or enable Windows 10 password expiration Install Windows 11 Without a Microsoft Account Block the W10 to 11 migration attempts or reminders Windows: Know the user Disable Hyper-V in Windows Windows: Disable 8.3 file naming convention Reduce Svchost.exe (Service Host) Process Running in Task Manager Clean Up the WinSxS Folder Prevent 3rd-party Suggested Apps from being pinned to the W11 Start Menu (NTLite) Stop UAC for a specific app Launch Edge browser with command line flags Autounattended Clean Up Component Store (WinSxS folder) Disable account expiry in windows 10 Always show all icons in sys tray Clean the WinSxS folder in Windows Remove windows start menu recommended section and setting ads Enable seconds in systray clock Win 11 Boot And Upgrade FiX KiT v5.0 Remove .cache folder from root directory Export all your drivers To safely remove one of the devices Check and disable Recall in Windows 11 Tablet-optimized taskbar Windows Defender: Disable Permanently and Re-enable Enable Windows 11 Dark Mode via registry Edge browser, backup the flags Windows PowerShell script execution: Turn on or off Microsoft store app installation on LTSC
openssh GitLab.com / GitLab Infrastructure Team / next.gitlab.com · GitLab Use Apple touch icon | webhint documentation How to get GPU Rasterization How to get GPU Rasterization Migrating to Manifest V3 - Chrome Developers Migrating to Manifest V3 - Chrome Developers Manifest - Web Accessible Resources - Chrome Developers chrome.webRequest - Chrome Developers chrome.webRequest - Chrome Developers Cross-site scripting – Wikipedia Cross-site scripting – Wikipedia Cross-site scripting – Wikipedia Cross-site scripting – Wikipedia Cross-site scripting – Wikipedia Cross-site scripting – Wikipedia Export-ModuleMember (Microsoft.PowerShell.Core) - PowerShell | Microsoft Learn Sourcegraph GraphQL API - Sourcegraph docs Winge19/vscode-abl: An extension for VS Code which provides support for the Progress OpenEdge ABL language. https://marketplace.visualstudio.com/items?itemName=chriscamicas.openedge-abl Winge19/vscode-abl: An extension for VS Code which provides support for the Progress OpenEdge ABL language. https://marketplace.visualstudio.com/items?itemName=chriscamicas.openedge-abl Winge19/vscode-abl: An extension for VS Code which provides support for the Progress OpenEdge ABL language. https://marketplace.visualstudio.com/items?itemName=chriscamicas.openedge-abl New File Cache · Actions · GitHub Marketplace Cache · Actions · GitHub Marketplace Winge19/cache: Cache dependencies and build outputs in GitHub Actions Winge19/cache: Cache dependencies and build outputs in GitHub Actions Winge19/cache: Cache dependencies and build outputs in GitHub Actions Winge19/cache: Cache dependencies and build outputs in GitHub Actions Winge19/cache: Cache dependencies and build outputs in GitHub Actions history.state during a bfcache traversal · web-platform-tests/wpt@7d60342 Configure CI/CD pipeline with YAML file - MSIX | Microsoft Learn Configure CI/CD pipeline with YAML file - MSIX | Microsoft Learn Configure CI/CD pipeline with YAML file - MSIX | Microsoft Learn Configure CI/CD pipeline with YAML file - MSIX | Microsoft Learn Configure CI/CD pipeline with YAML file - MSIX | Microsoft Learn Configure CI/CD pipeline with YAML file - MSIX | Microsoft Learn Configure CI/CD pipeline with YAML file - MSIX | Microsoft Learn Configure CI/CD pipeline with YAML file - MSIX | Microsoft Learn Configure CI/CD pipeline with YAML file - MSIX | Microsoft Learn ASP.NET Core 6.0 Blazor Server APP and Working with MySQL DB - CodeProject json Process Herpaderping – Windows Defender Evasion | Pentest Laboratories 0x7c13/Notepads: A modern, lightweight text editor with a minimalist design. Share data - UWP applications | Microsoft Learn What is ie_to_edge_bho_64.dll? What is ie_to_edge_bho_64.dll? What is ie_to_edge_bho_64.dll? What is ie_to_edge_bho_64.dll? Message passing - Chrome Developers
parsing - Parse (split) a string in C++ using string delimiter (standard C++) - Stack Overflow parsing - Parse (split) a string in C++ using string delimiter (standard C++) - Stack Overflow parsing - Parse (split) a string in C++ using string delimiter (standard C++) - Stack Overflow parsing - Parse (split) a string in C++ using string delimiter (standard C++) - Stack Overflow arrays - Convert a hexadecimal to a float and viceversa in C - Stack Overflow arrays - Convert a hexadecimal to a float and viceversa in C - Stack Overflow Why does C++ require breaks in switch statements? - Stack Overflow Why does C++ require breaks in switch statements? - Stack Overflow Why does C++ require breaks in switch statements? - Stack Overflow coding style - Switch statement fall-through...should it be allowed? - Stack Overflow performance - Convert a hexadecimal string to an integer efficiently in C? - Stack Overflow C,C++ ---结构体指针初始化_zlQ_的博客-CSDN博客_c++初始化结构体指针 c++ - C++ 返回局部变量的常引用 - SegmentFault 思否 (23条消息) C++ 去掉const_最后冰吻free的博客-CSDN博客_c++ 去掉const (23条消息) 尾置返回值类型decltype_最后冰吻free的博客-CSDN博客 (23条消息) 变参模板函数_最后冰吻free的博客-CSDN博客_变参模板 (23条消息) 变参表达式_最后冰吻free的博客-CSDN博客 (23条消息) 变参下标_最后冰吻free的博客-CSDN博客 (23条消息) 变参基类_最后冰吻free的博客-CSDN博客 (23条消息) typname 使用_最后冰吻free的博客-CSDN博客 (23条消息) 零初始化_最后冰吻free的博客-CSDN博客 (23条消息) this->使用_最后冰吻free的博客-CSDN博客 (23条消息) 变量模板_最后冰吻free的博客-CSDN博客_变量模板 (23条消息) enable_if使用_最后冰吻free的博客-CSDN博客 (23条消息) 完美转发函数_最后冰吻free的博客-CSDN博客 (23条消息) C++ 函数返回局部变量地址和引用_最后冰吻free的博客-CSDN博客_c++函数返回地址 (23条消息) C++ 函数返回局部变量地址和引用_最后冰吻free的博客-CSDN博客_c++函数返回地址 (23条消息) C++ 函数返回局部变量地址和引用_最后冰吻free的博客-CSDN博客_c++函数返回地址 结构体数组定义时初始化 cJSON的数据结构 C++共用体与结构体区别-C++ union与struct的区别-嗨客网 C++共用体与结构体区别-C++ union与struct的区别-嗨客网 队列的c语言实现_51CTO博客_c语言实现队列 栈的实现 c语言版_51CTO博客_c语言栈的实现以及操作 【专业技术】如何写出优美的C 代码? - 腾讯云开发者社区-腾讯云 【专业技术】如何写出优美的C 代码? - 腾讯云开发者社区-腾讯云 C++ short-C++短整型-C++ short取值范围-嗨客网 C++ short-C++短整型-C++ short取值范围-嗨客网 C++ long long-C++长长整型-C++ long long取值范围-嗨客网 C++ long long-C++长长整型-C++ long long取值范围-嗨客网 C++字符-C++ char-C++字符取值范围-嗨客网 C++枚举enum-C++怎么定义枚举变量-C++枚举的作用-嗨客网 C++三目运算符-C++的三目运算符-C++三目运算符怎么用-什么是三目运算符-嗨客网 C++打印乘法表-嗨客网 C++ while循环打印乘法表-嗨客网 C++ do while循环打印乘法表-嗨客网 (转)sizeof()和_countof()区别 - 榕树下的愿望 - 博客园 详述CRC校验码(附代码)-面包板社区 详述CRC校验码(附代码)-面包板社区 详述CRC校验码(附代码)-面包板社区 C program to convert Hexadecimal to Decimal - Aticleworld Conversion of Hex decimal to integer value using C language (27条消息) vector<char>太慢,自己造一个CharVector_char vector_飞鸟真人的博客-CSDN博客 C++ windows显示器相关信息获取 - 艺文笔记
Q64 Snapshot Array - LeetCode Q63 Reorganize String - LeetCode Q62 Tricky Sorting Cost | Practice | GeeksforGeeks Q62 Minimum Cost To Connect Sticks Q60 PepCoding | Longest Substring With At Most Two Distinct Characters Q59 PepCoding | Line Reflection Q58 Pairs of Non Coinciding Points | Practice | GeeksforGeeks Q57 Avoid Flood in The City - LeetCode Q56 Random Pick with Blacklist - LeetCode Q55 Insert Delete GetRandom O(1) - Duplicates allowed - LeetCode Q55 Insert Delete GetRandom O(1) - Duplicates allowed - LeetCode Q54 Insert Delete GetRandom O(1) - LeetCode Q53 The Skyline Problem - LeetCode Q52 Encode and Decode TinyURL - LeetCode Q51 Maximum Frequency Stack - LeetCode Q50 Brick Wall - LeetCode Q50 Brick Wall - LeetCode Q49 X of a Kind in a Deck of Cards - LeetCode Q48 First Unique Character in a String - LeetCode Q47 Subdomain Visit Count - LeetCode Q46 Powerful Integers - LeetCode Q45 4Sum II - LeetCode Q44 PepCoding | Quadruplet Sum QFind K Pairs with Smallest Sums - LeetCode Q43 PepCoding | Pairs With Given Sum In Two Sorted Matrices Q42 Completing tasks | Practice | GeeksforGeeks Q41 Degree of an Array - LeetCode Q-40 Can Make Arithmetic Progression From Sequence - LeetCode Q39 PepCoding | Double Pair Array Q38 Rabbits in Forest - LeetCode Q-37* Fraction to Recurring Decimal - LeetCode Q36 PepCoding | Pairs With Equal Sum Q35 PepCoding | Count Of Subarrays With Equal Number Of 0s 1s And 2s Q34 PepCoding | Longest Subarray With Equal Number Of 0s 1s And 2s Q-34PepCoding | Pairs With Equal Sum Q33 PepCoding | Count Of Subarrays With Equal Number Of Zeroes And Ones Q32 Contiguous Array - LeetCode Q31 Subarray Sums Divisible by K - LeetCode Q30 PepCoding | Longest Subarray With Sum Divisible By K Q29 Subarray Sum Equals K - LeetCode Q27 Word Pattern - LeetCode Q-26 Isomorphic Strings - LeetCode Q-25 PepCoding | Group Shifted String Q24 Group Anagrams - LeetCode Q23 Valid Anagram - LeetCode Q22 PepCoding | Find Anagram Mappings Q21 PepCoding | K Anagrams Q20 Find All Anagrams in a String - LeetCode Q-19 Binary String With Substrings Representing 1 To N - LeetCode Q-18 PepCoding | Count Of Substrings Having At Most K Unique Characters Q-17 PepCoding | Longest Substring With At Most K Unique Characters Q-16 PepCoding | Maximum Consecutive Ones - 2 Q15 PepCoding | Maximum Consecutive Ones - 1 Q-14 PepCoding | Equivalent Subarrays Q13 PepCoding | Count Of Substrings With Exactly K Unique Characters Q-12 PepCoding | Longest Substring With Exactly K Unique Characters Q-11 PepCoding | Count Of Substrings Having All Unique Characters Q-10 PepCoding | Longest Substring With Non Repeating Characters Q-9 PepCoding | Smallest Substring Of A String Containing All Unique Characters Of Itself Q8 PepCoding | Smallest Substring Of A String Containing All Characters Of Another String | leetcode76 Q-7 PepCoding | Largest Subarray With Contiguous Elements Q-6 PepCoding | Count Of All Subarrays With Zero Sum Q5 PepCoding | Largest Subarray With Zero Sum Q4 PepCoding | Count Distinct Elements In Every Window Of Size K Q-3 PepCoding | Check If An Array Can Be Divided Into Pairs Whose Sum Is Divisible By K Q2 PepCoding | Find Itinerary From Tickets Q1 PepCoding | Number Of Employees Under Every Manager 2653. Sliding Subarray Beauty
DSA 1.8 : Pointers DSA-1.8 : Pointers DSA-1.8 : Pointers DSA 1.8 : Pointers DSA 1.10 : Reference DSA 1.12 - Pointer to structure DSA 1.12 - pointer to structure DSA 1.15 : Paramter passing method : by value DSA 1.15 : Parameter passing method- by address DSA 1.15 : parameter passing method -by reference DSA 1.18 : returning array from a function DSA 1.20 : pointer to structure DSA 1.23 : monolithic program DSA 1.24 : procedural or modular programming DSA 1.25 : procedural programming using structure and functions DSA 1.26 : Object Oriented programming approach DSA 1.30 : template classes DSA 5.52 Recursion using static variable DSA 5.56 : tree recursion DSA 5.58 : Indirect recursion DSA 5.56 : Nested recursion DSA 5.68 : Taylor series using recursion DSA 5.70 : Taylors series using Horner's rule DSA 5.73 : Fibonacci using iteration DSA 5.73 : Fibonacci using recursion DSA 5.73 : Fibonacci using memoization and recursion DSA 5.75 : nCr using recursion DSA 5.76 : Tower of Hanoi DSA 7 : array ADT DSA 7.99 - Delete function in an array DSA 7.102 : Linear Search DSA 146 : C++ class for Diagonal matrix DSA 150 : Lower Triangular matrix Diagonal matrix full code Creation of sparse matrix 175. Display for linked list 176. Recursive display for linked list 178 : counting nodes in a linked list 179: sum of all elements in a linked list 181: find the largest element in the linked list 183: searching for a value in linked list 184: Improve searching in a linked list 186: Inserting a new node in a linked list (logic) 186: Insertion in a linked list (function) 189: Creating a linked list by inserting at end 191: Inserting in a sorted linked list 192: deleting a node from a linked list 195 : check if the linked list is sorted or not 197: Remove duplicates from sorted linked list
Q66 Distinct Echo Substrings - LeetCode 1316 (rabin karp rolling hash -> O(n^2)) Q66 Distinct Echo Substrings - LeetCode 1316(O(n^3) solution) Q65 Interleaving String - LeetCode 97 Q64 Frog Jump - LeetCode 403 Q63 Champagne Tower - LeetCode 799 Q62 Super Ugly Number - LeetCode 313 Q61 Ugly Number 2 - LeetCode 264 Q60 Minimum Insertion Steps to Make a String Palindrome - LeetCode 1316 Q59 Temple Offerings | Practice | GeeksforGeeks Q58 Word Break - LeetCode 139 Q57 Arithmetic Slices II - Subsequence - LeetCode 446 Q56 Arithmetic Slices - LeetCode 413 Q55 Max sum of M non-overlapping subarrays of size K - GeeksforGeeks (tabulization) Q55 Max sum of M non-overlapping subarrays of size K - GeeksforGeeks (memoization) Q54 Maximum Sum of 3 Non-Overlapping Subarrays - LeetCode 689 Q53 Maximum Sum of Two Non-Overlapping Subarrays - LeetCode 1031 Q52 Maximum difference of zeros and ones in binary string | Practice | GeeksforGeeks Q51 Mobile numeric keypad | Practice | GeeksforGeeks Q50 Distinct Transformation LeetCode Playground ( tabulization approach) Q50 - Distinct Transformation- LeetCode Playground ( recursion + memoization approach) Q49 Highway BillBoards - Coding Ninjas Codestudio approach 2 Q49 Highway BillBoards - Coding Ninjas Codestudio (approach 1 LIS) Q48 Knight Probability in Chessboard - LeetCode 688 Q47 Cherry Pickup - LeetCode 741 (recursion approach) Q46 Super Egg Drop - LeetCode 887 Q45 Predict the Winner - LeetCode 486 Q45 Optimal Strategy For A Game | Practice | GeeksforGeeks | leetcode 46 Q44 Largest Sum Subarray of Size at least K | Practice | GeeksforGeeks Q42 Maximum Subarray - LeetCode 53 Q41 Minimum Cost To Make Two Strings Identical | Practice | GeeksforGeeks Q40 Minimum ASCII Delete Sum for Two Strings - LeetCode 712 Q39 Scramble String - LeetCode 87 Q38 Edit Distance - LeetCode 72 Q37 Regular Expression Matching - LeetCode 10 Q36 Wildcard Matching - LeetCode Q35 Longest Repeating Subsequence | Practice | GeeksforGeeks Q34 Longest Common Substring | Practice | GeeksforGeeks Q33 Count Different Palindromic Subsequences - LeetCode 730 Q32 Number of distinct subsequences | Practice | GeeksforGeeks Q31 Longest Palindromic Substring - LeetCode Q30 Count Palindromic Subsequences | Practice | GeeksforGeeks Q29 Longest Palindromic Subsequence - LeetCode 516 Q28 Longest Common Subsequence - LeetCode 1143 Q27 Minimum Score Triangulation of Polygon - LeetCode 1039 Q26 Optimal binary search tree | Practice | GeeksforGeeks Q24 Matrix Chain Multiplication | Practice | GeeksforGeeks Q23 Palindrome Partitioning II - LeetCode 132 Q23 Palindrome Partitioning II - LeetCode - 132 ( n^3 approach) Q22 Palindromic Substrings - LeetCode 647 Q21 Rod Cutting | Practice | GeeksforGeeks Q20 Minimum Score Triangulation of Polygon - LeetCode 1039 Q19 Intersecting Chords in a Circle | Interviewbit Q18 Generate Parentheses - LeetCode 22 Q17 PepCoding | Count Of Valleys And Mountains Q16 Unique Binary Search Trees - LeetCode 96 Q15 Catalan Number Minimum Score of a Path Between Two Cities - 2492 Q14 Perfect Squares - LeetCode Q13 Russian Doll Envelopes - LeetCode (LIS in NlogN - accepted solution) Q13 Russian Doll Envelopes - LeetCode 354 solution1(LIS in O(n^2)) Q12 PepCoding | Maximum Non-overlapping Bridges Q11 Longest Bitonic subsequence | Practice | GeeksforGeeks Q10 Maximum sum increasing subsequence | Practice | GeeksforGeeks Q9 PepCoding | Print All Longest Increasing Subsequences Q8 Longest Increasing Subsequence - LeetCode 300 Q7 2 Keys Keyboard - LeetCode 650 Q-6 PepCoding | Print All Results In 0-1 Knapsack Q5 PepCoding | Print All Paths With Target Sum Subset Q4 PepCoding | Print All Paths With Maximum Gold Q3 PepCoding | Print All Paths With Minimum Cost Q2 Jump Game II - LeetCode 45 Q1 Maximal Square - LeetCode 221 Q67 Longest Increasing Subsequence - LeetCode 300 ( LIS O(nlogn) solution) Q43 K-Concatenation Maximum Sum - LeetCode 1191 Q13 Russian Doll Envelopes - LeetCode 354 ( LIS -> O(nlogn) solution) Q25 Burst Balloons - LeetCode 312
Minimum Score of a Path Between Two Cities - 2492 Number of Operations to Make Network Connected - 1319 Q42 Mother Vertex | Interviewbit (kosraju) Q41 Count Strongly Connected Components (Kosaraju’s Algorithm) Q40 Leetcode 734. Sentence Similarity Q39 Satisfiability of Equality Equations - LeetCode 990 Q38 Redundant Connection II - LeetCode 685 Q37 Redundant Connection - LeetCode 684 Q36 Minimize Malware Spread II - LeetCode 928 Q35 Minimize Malware Spread - LeetCode 924 Q34 Accounts Merge - LeetCode 721 Q33 Minimize Hamming Distance After Swap Operations - LeetCode 1722 Q32 Rank Transform of a Matrix - LeetCode 1632 Q32 Reconstruct Itinerary - leetcode 332 (eularian path && Eularian cycle) Q31 Regions Cut By Slashes - LeetCode 959 Q30 Minimum Spanning Tree | Practice | GeeksforGeeks (kruskal algo) Q29 Number of Islands II - Coding Ninjas (DSU) Q28 Remove Max Number of Edges to Keep Graph Fully Traversable - LeetCode 1579 Q27 Checking Existence of Edge Length Limited Paths - LeetCode 1675 Q26 Network Delay Time - LeetCode 743 Q25 Cheapest Flights Within K Stops - LeetCode 787 Q24 Distance from the Source (Bellman-Ford Algorithm) | Practice | GeeksforGeeks Q23 Connecting Cities With Minimum Cost - Coding Ninjas Q22 Swim in Rising Water - LeetCode 778 Q21 Water Supply In A Village - Coding Ninjas Q20 Minimum Spanning Tree | Practice | GeeksforGeeks(prims algo) Q19 Alien Dictionary | Practice | GeeksforGeeks Q18 Course Schedule - LeetCode 207 (kahn's algorithm) Q17 Minimum edges(0-1 BFS) | Practice | GeeksforGeeks Q17 Minimum edges(0-1 BFS) | Practice | GeeksforGeeks ( using djikstra) Q16 Sliding Puzzle - LeetCode 773 Q15 Bus Routes - LeetCode 815 Q14 Shortest Bridge - LeetCode 934 (without pair class) Q14 Shortest Bridge - LeetCode 934 ( with pair class) Q 13 As Far from Land as Possible - LeetCode 1120 Q12 Rotting Oranges - LeetCode 994 Q11 01 Matrix - LeetCode 542 Q10 Number of Distinct Islands | Practice | GeeksforGeeks Q9 Number of Enclaves - LeetCode 1085 Q8 Coloring A Border - LeetCode 1034 Q7 Unique Paths II - 63 Q6 Unique Paths III - LeetCode 980 Q5 Number of Provinces - LeetCode 547 Q4 Number of Islands - LeetCode 200 Q3 Number of Operations to Make Network Connected - LeetCode 1319 Q2 All Paths From Source to Target - LeetCode 797 Q1 Find if Path Exists in Graph - LeetCode 1971 Q43 is Cycle present in DAG ? GFG ( Topological Sort) Q43 is cycle present in DAG ? GFG (using kahns algo) Q44 Bellman ford | GFG ( Smaller code) Q45 Minimum Cost to Make at Least One Valid Path in a Grid - LeetCode 1368
descargar archivos de la plantilla avanzada desde la consola formulario dinamico yii2 codigo para descargarlo actualizar composer 2.5.5 subir imagenes en frontend/backend ejemplo yii2 validacion mascara de campo ejemplo models/modelo.php validacion mascara de campo ejemplo models/modelo.php aplicación yii2 completa ejemplo de referencia puede que contenga algún error modificar grid(centrar contenido de campos, textos) formato fecha yii2 ejemplo de widget DepDrop en yii2 Configurar la extension redactor en common/config/main.php ejemplo de campo de texto con mascara ejemplo de reglas de validacion en un modelo Adapta el contenido de un campo de widget a su tamaño en Yii2 Para hacer que el contenido de un campo de un widget en Yii2 se adapte automáticamente al tamaño del campo, puedes utilizar algunas de las siguientes técnicas: para hacer el modulo de usuario en yii2 campo ente del sistema de de indicadores sig ejemplo de campo ente con permisologia de usuario: admin y despacho_ ministro ejemplo de escript para estos campos en yii2 ejemplo estado, municipio, parroquia ejemplo de campo estado, municipio, parroquia en el model search usar esto para mostrar los registros en orden invertido cuando un formulario de problemas en un marco en yii2 ejemplo de campo da data para mostrar la lista en el update codigo para arreglar graficos hightchart del sistema indicadores sig para ordenar los registros del gridview en yii2 otro editor de texto como redactor para implementar de manera manual
chapter2-code-1 chapter2-code-2 chapter2-code-3 chapter3-code-1 chapter4-code-1 chapter4-code-2 chapter4-code-3 chapter4-code-4 chapter4-code-5 chapter4-code-6 chapter4-code-7 chapter4-code-8 chapter4-code-9 chapter4-code-10 chapter5-code-1 chapter5-code-2 chapter5-code-3 chapter6-code-1 chapter6-code-2 chapter6-code-3 chapter7-code-1 chapter7-code-2 chapter7-code-3 chapter7-code-4 chapter7-code-5 chapter7-code-6 chapter7-code-7 chapter7-code-8 chapter7-code-9 chapter7-code-10 chapter7-code-11 chapter7-code-12 chapter7-code-13 chapter8-code-1 chapter8-code-2 chapter8-code-3 chapter8-code-4 chapter9-code-1 chapter9-code-2 chapter9-code-3 chapter9-code-4 chapter10-code-1 chapter10-code-2 chapter10-code-3 chapter10-code-4 chapter10-code-5 chapter11-code-1 chapter11-code2 chapter11-code-3 chapter11-code-4 chapter11-code-5 chapter11-code-6 chapter12-code-1 chapter12-code-2 chapter13-code-1 chapter13-code-2 chapter13-code-3 chapter13-code-4 chapter13-code-5 chapter14-code-1 chapter14-code-2 chapter14-code-3 chapter14-code-4 chapter15-code-1 chapter15-code-2 chapter16-code-1 chapter16-code-2 chapter16-code-3 chapter16-code-4 chapter16-code-5 chapter16-code-6 chapter16-code-7 chapter16-code-8 chapter16-code-9 chapter16-code-10 chapter17-code-1 chapter17-code-2 chapter18-code-1 chapter18-code-2 chapter18-code-3 chapter18-code-4 chapter18-code-5 chapter19-code-1 chapter19-code-2 chapter19-code-3 chapter20-code-1 chapter21-code-1 chapter21-code-2 chapter21-code-3 chapter21-code-4 chapter21-code-5 chapter22-code-1 chapter22-code-2 chapter22-code-3 chapter23-code-1 chapter23-code-2 chapter23-code-3 chapter23-code-4 chapter23-code-5 chapter24-code-1 chapter24-code-2 chapter24-code-3 chapter25-code-1 chapter25-code-2 chapter25-code-3 chapter25-code-4 chapter25-code-5 chapter25-code-6 chapter25-code-7 chapter25-code-8 chapter25-code-9 chapter26-code-1 chapter26-code-2 chapter27-code-1 chapter27-code-2 chapter28-code-1 chapter28-code-2 chapter29-code-1 chapter11-code-2 chapter1-code-1
Display Custom Post By Custom Texonomy Hide Section If Data Empty Custom post Url Change Social Share Link Genrator / meta tag OG Set Custom post type template Custom post by current category page List all Category Loop Reverse Reverse Array in custom repeat fields Display custom texonomy name into post WP Rocket Delay JavaScript execution Files Post FIlter By Texonomy URL Check and echo active exclude current post from single page Post Sort by Custom Taxonomy in Admin Ajex select change texonomy and post Wordpress Ajex select Get Category Name (wp get object()) List Display Custom Taxonomy Order Date Woocommerce Disable notification for plugin update Custom Ajax Form for WP Order Expiry Woocommerce Post By Post Taxonomy Hide Section If Data Empty Product SKU Search with default search Hide WP Version Disable REST API Get Post Data with Post or page id (WCK CTP Select field) Custom API For Page with custom fields Disable WordPress Update Notifications Create Users Automatically In WordPress / create admin login Create and Diplsay ACF Texonomy Data Custom Post by Custom Texo filter JQuery Multiple Select Filter WordPress Premium Plugins Repo WP Premium Plugins Repo Part 2 Custom Taxonomy Template Post Order by ASC and DESC on published date Post Order by ASC and DESC on published date Widget Register and Dipslay Display category and Subcategory with Post CF7 Successful Submit Redirect to another page Load Fancybox on page load Once in month with cookies SVG Support in WP in function.php List Custom Taxonomy Wordpress Admin Login Page Layout Change Change Posts To Blogs (Post Type) JQuery Load More Display Custom Post under custom taxonomy Search Form with result page Stater Theme style.css file Acf option page Call Another Custom Header Zoho Integration for cf7 Forms www redirection 404 WP Template Coming Soon HTML Template Display Custom Posts by Category With Ajax filter Disable wordpress update notification / wp update notification custom breadcrumbs Disable admin toolbar except admin Disable Comment module on whole website Custom Data / Product / Card Filter by page load (by get and isset function) Mastek Resource Page for filter data List All pages on admin dashboard Custom Taxonomy Name on Single Page custom texonomy list with child WordPress Security and admin page Code Js Load on Page Based
Prints I love python Opens a comic in webbrowser YouTube video downloader GUI in Python A Simple Text Editor In Python CTk Login Form GUI in Python A Word Guessing Game In Python A GUI Password Manager With Database Connectivity in Python Word Counter In Python An Adventure Game GUI In Python A Basic Browser In Python Using PyQt5 (This doesn't store your browsing history!) Speech command Bot (Doraemon) In Python To-Do List Interface(With Lottie) In Python To-Do List Interface(With Lottie) In Python: HTML Code Rock Paper Scissors GUI In Python Rock Paper Scissors GUI In Python: The GUI code Your Motivator With Python And Unsplash Dice Stimulator Python CTk GUI A PNG to WEBP Converter With Python Mini Calculator GUI with Python A Number-Guessing Game In Python A Random Wikipedia Article Generator GUI In Python Your Own Gallery In Python A Tic Tac Toe Game In Python AI Weather Predictor That Doesn't Predict The Weather A Real-Time Spelling Checker In Python How to make a simple button in customtkinter Button like one on my website in python CTk How to make a simple checkbox in customtkinter python Hobby Selector Using Python CustomTkinter A sample comment in Python Python hub challenge 1 Single line comment in Python Multi line comments in Python Inline comments in Python Demonstrating Integers in Python Demonstrating Boolean numbers in Python Demonstrating Float numbers in Python Demonstrating Complex numbers in Python challenge 2 solution (numbers in python) Implicit type conversion in python Explicit type conversion python part 1 Explicit type conversion in python part 2 String formatting in Python String Concatenation in Python String formatting using print function Python Format function in Python % operator string formatting in Python F-String in Python How to utilize variables in string's solution string indexing python String Slicing question String Slicing question2 String Slicing question3 String Slicing question4 String Slicing question5 String Slicing Answer 1 String Slicing Answer 2 String Slicing Answer 3 String Slicing Answer 4 String Slicing Answer 5 String part 2 challenge solution Madlib in Python (solution) Madlib in Python (solution) output Madlib in Python (solution) 2 Madlib in Python (solution) output 2 Dictionary challenge solution Dictionary challenge solution output Single value tuple Python Single value tuple Python output Concatenate tuples in Python Copy a tuple in Python count() method tuple python index() method tuple python Tuple challenge Tuple challenge output Creating a set in Python Fun world Dictionary challenge Fun world Dictionary Output If else statement Elif ladder Multiple if statements Python Nested if else statements Python if else comprehension Simple calculator in python (if else challenge) Simple calculator in python (if else challenge) Output Iterating through list in Python Iterating through list in Python using For loop Break statement in Python Continue statement in Python Pass statement in Python Else with for loop in Python
9. Write a C program that prints the English alphabet (a-z). 10. Write a C program that prints both the Max and Min value in an array 1. Write a C program that takes a character from the user and prints its corresponding ASCII value 2. Write a C program, which reads an integer and checks whether the number is divisible by both 5 and 6, or neither of them, of just one of them. 4. Write a C program that checks if a number is prime or not. 5. Write a C program that stores an integer code in a variable called ‘code’. It then prompts the user to enter an integer from the standard input, which we will compare with our original ‘code’. If it matches the code, print ‘Password cracked’, otherwise, prompt the user to try again. For example, int code = 23421; //23421 is the code here. 6. Based on question 5, modify the program to keep track of the number of attempted password guesses. It then prints: “The password was cracked after ‘n’ amount of tries”, n being the tracking variable. Bonus Questions: 1. What is the difference between a while loop and a do-while loop? 2. Is the size of an Array mutable after declaration? 3. What is the purpose of passing the address of a variable in scanf? 4. What are the various possible return values for scanf? 5. Why do we declare the main method as an int function with return 0 at the end? 7. Write a C program that prompts the User to initialize an array by providing its length, and its values. It then asks him to enter the ‘focal number’. Your task is to print all the values in the array that are greater than the ‘focal number’. 8. Write a C program that prompts the user to enter 10 positive numbers and calculates the sum of the numbers.
Q12 Maximum Path Sum in the matrix - Coding Ninjas (Striver DP) Q- Recursion | Memoization | Tabulization in 2d dp READ ME Q18 Partitions with Given Difference | Practice | GeeksforGeeks Q17 Perfect Sum Problem | Practice | GeeksforGeeks Q16 Minimum sum partition | Practice | GeeksforGeeks Q52 Boolean Evaluation - Coding Ninjas Q-49 Matrix Chain Multiplication - Coding Ninjas Q24 Rod Cutting | Practice | GeeksforGeeks Q23 Knapsack with Duplicate Items | Practice | GeeksforGeeks Q-19 0 - 1 Knapsack Problem | Practice | GeeksforGeeks Q14 Subset Sum Equal To K - Coding Ninjas Q14 Cherry Pickup - Coding Ninjas Q-8 Ninja’s Training - Coding Ninjas Q-6 Maximum sum of non-adjacent elements - Coding Ninjas Q-3 Frog Jump - Coding Ninjas Q55 Count Square Submatrices with All Ones - LeetCode 1277 Q55 Maximal Rectangle - LeetCode 85 Q54 Partition Array for Maximum Sum - LeetCode1043 Q53 Palindrome Partitioning II - LeetCode 132 Q51 Burst Balloons - LeetCode 312 Q50 Minimum Cost to Cut a Stick - LeetCode 1547 Q47 Number of Longest Increasing Subsequence - LeetCode 673 Q45 Longest String Chain - LeetCode 1048 Q44 Largest Divisible Subset - LeetCode 368 Q43 Longest Increasing Subsequence - LeetCode 300 Q34 Wildcard Matching - LeetCode 44 Q33 Edit Distance - LeetCode 72 Q-32 Distinct Subsequences - LeetCode 115 Q25 Longest Common Subsequence - LeetCode 1143 Q22 Coin Change II - LeetCode 518 Q-20 Coin Change - LeetCode 322 Q-15 Target Sum - LeetCode 494 Q-12 Triangle - LeetCode 120 Q11 Minimum Path Sum - LeetCode 64 Q-10 Unique Paths II - LeetCode Q-9 Unique Paths - LeetCode 62 Q-6 House Robber II - LeetCode 213 Q-5 House Robber - LeetCode 198 Q-1 Climbing Stairs - LeetCode 70
8. Write a C program function that uses pointers to swap to numbers. 6. Write a C program that prints the English alphabet using pointers. 10. Write a C program void function that uses pointers to perform decompose operation. (Print only in the main function). Decompose means breaking up a decimal number into an integer part and a double part and storing them in different variables. 1. Write a C program function called ‘changeEven’ that changes all the even numbers within an array to 0, using pointer arithmetic 2. Write a C program function called ‘changePrime’, that changes all the prime numbers within an array to 0. Use another function, within ‘changePrime, called ‘checkPrime’, to check and return whether the number is prime or not, then update the value in the ‘changePrime’ accordingly. Don’t use pointer arithmetic 3. Write a C program that sorts an Array in descending order. 4. Write a C program function called ‘factorial’ that calculates and returns the factorial of a number. 5. Write a C program that gets an Array with 10 3-digits integer IDs. The program then prompts the user to enter his ID, which will be compared to the existing IDs within our Array. If his ID is matched, print “Accepted”, else print “Unaccepted”. 7. Write a C program that accepts three integers: a, b, and c, and prints them in ascending order 9. After the holidays lots of people were rushing to move back to their apartments. In this scenario, even numbers will represent women while odd numbers will represent men. Store the sequence of entry into the building by typing in even and odd numbers into an array at random. Calculate the largest sequence of women entering the building before a man enters. (The largest continuous number of women that entered before a man came in) Example: 17, 4, 6, 8, 9, 2, 8, 49 (The largest continuous number of women is 3).
Write a loop that reads positive integers from console input, printing out those values that are greater than 100, and that terminates when it reads an integer that is not positive. The printed values should be separated by single blank spaces. Declare any variables that are needed. Write a loop that reads positive integers from console input, printing out those values that are even, separating them with spaces, and that terminates when it reads an integer that is not positive. Write a loop that reads positive integers from console input and that terminates when it reads an integer that is not positive. After the loop terminates, it prints out the sum of all the even integers read. Given an int variable n that has been initialized to a positive value and, in addition, int variables k and total that have already been declared, use a while loop to compute the sum of the cubes of the first n counting numbers, and store this value in total. Thus if n equals 4, your code should put 1*1*1 + 2*2*2 + 3*3*3 + 4*4*4 into total. Use no variables other than n, k, and total. Do not modify n. Don't forget to initialize k and total with appropriate values. loop design strategies Given a char variable c that has already been declared, write some code that repeatedly reads a value from console input into c until at last a 'Y' or 'y' or 'N' or 'n' has been entered. Given a string variable s that has already been declared, write some code that repeatedly reads a value from console input into s until at last a "Y" or "y" or "N" or "n" has been entered. Write a loop that reads strings from console input where the string is either "duck" or "goose". The loop terminates when "goose" is read in. After the loop, your code should print out the number of "duck" strings that were read. Objects of the BankAccount class require a name (string) and a social security number (string) be specified (in that order) upon creation. Declare an object named account, of type BankAccount, using the values "John Smith" and "123-45-6789" as the name and social security number respectively.
powershell script to combine the content of multiple txt file with filepath as separator How to merge all .txt files into one using ps? - IT Programming ISE Scripting Geek Module Chocolatey Software Docs | Setup / Install Chocolatey Software Recursively identify files with TrID using PowerShell sending output to text file powershell - empty directories Chocolatey Setup Install Scoop To set a new permission using Powershell Select-Object with Out-GridView Move folders (from txt file) to another drive with dir structure convert xlsx to csv using powershell Register-PSRepository (PowerShellGet) - @parameters Get-PSReadLineKeyHandler (PSReadLine) - PowerShell | Microsoft Learn windows - How to extract the version from the name of a NuGet package file using PowerShell? - Stack Overflow Get List of Installed Windows 10 Programs | Canuck’s Tech Tips Out-File (Microsoft.PowerShell.Utility) - PowerShell | Microsoft Learn Here's code that finds the indices of all supported property names(metadata) in windows How can I replace every occurrence of a String in a file with PowerShell? - Stack Overflow How can I replace every occurrence of a String in a file with PowerShell? - Stack Overflow How can I replace every occurrence of a String in a file with PowerShell? - Stack Overflow How can I replace every occurrence of a String in a file with PowerShell? - Stack Overflow How can I replace every occurrence of a String in a file with PowerShell? - Stack Overflow How to find metadata is available from file-properties - PowerShell Help - PowerShell Forums How to find metadata is available from file-properties - PowerShell Help - PowerShell Forums Getting installed applications with PowerShell merge CSV rows with partially duplicate lines Parts of the filename in PowerShell Automating HTML Parsing and JSON Extraction from Multiple URLs Using PowerShell | by Rihab Beji | Jan, 2025 | Medium
components-of-robot Difference in Robot System and AI Programs How does the computer vision contribute in robotics? Goals of Artificial Intelligence four Categories of AI What is searching?What are the different parameters used to evaluate the search technique? Uninformed Search Algorithms First-Order Logic Inference rule in First-Order Logic What are different branches of artificial intelligence? Discuss some of the branches and progress made in their fields. What is adversarial search? Write the steps for game problem formulation. State and explain minimax algorithm with tic-tac-toe game. Explain the role of Intelligent Agent in AI. Also explain all types of intelligent agents in details. Explain PEAS. Write the PEAS description of the task environment for an automated car driving system. Define the role of the machine intelligence in the human life Describe arguments in multiagent systems and its types. negotiation and bargining Explain information retrieval with its characteristics. What is information extraction ? What do you mean by natural language processing ? Why it is needed? What are the applications of natural language processing? What are the various steps in natural language processing Machine translation What are the three major approaches of machine translation ? Forward Chaining AND Backward Chaining with properties Difference between Forwarding Chaining and Backward Chaining: knowledge representation Explain unification algorithm used for reasoning under predicate logic with an example. State Space Search in Artificial Intelligence Explain about the hill climbing algorithm with its drawback and how it can be overcome ? What is the heuristic function? min max algorithm Describe alpha-beta pruning and give the other modifications to the Min-Max procedure to improve its performance.
3. (Interest Calculator) The simple interest on a loan is calculated by the formula interest = principal * rate * days / 365; The preceding formula assumes that the rate is the annual interest rate, and therefore includes the division by 365 (days). Develop a program that will input principal, rate, and days for several loans, and will calculate and display the simple interest for each loan, using the preceding formula. 2. (Car-Pool Savings Calculator) Research several car-pooling websites. Create an application that calculates your daily driving cost, so that you can estimate how much money could be saved by carpooling, which also has other advantages such as reducing carbon emissions and reducing traffic congestion. The application should input the following information and display the user’s cost per day of driving to work: a) Total miles driven per day. b) Cost per gallon of gasoline. c) Average miles per gallon. d) Parking fees per day. e) Tolls per day. 1. (Diameter, Circumference, and Area of a Circle) Write a program that reads in the radius of a circle and prints the circle’s diameter, circumference, and area. Use the constant value 3.14159 for π. Perform each of these calculations inside the printf statement(s) and use the conversion specifier %f. Turbo C 1. (Credit Limit Calculator) Develop a C program that will determine if a department store customer has exceeded the credit limit on a charge account. For each customer, the following facts are available: a) Account number b) Balance at the beginning of the month c) Total of all items charged by this customer this month d) Total of all credits applied to this customer's account this month e) Allowed credit limit The program should input each fact, calculate the new balance (= beginning balance + charges – credits), and determine whether the new balance exceeds the customer's credit limit. For those customers whose credit limit is exceeded, the program should display the customer's account number, credit limit, new balance and the message “Credit limit exceeded.” Here is a sample input/output dialog: 2. (Sales Commission Calculator) One large chemical company pays its salespeople on a commission basis. The salespeople receive P200 per week plus 9% of their gross sales for that week. For example, a salesperson who sells P5000 worth of chemicals in a week receives P200 plus 9% of P5000, or a total of P650. Develop a program that will input each salesperson’s gross sales for last week and will calculate and display that salesperson’s earnings. Process one salesperson's figures at a time. Here is a sample input/output dialog: Valentines Coding
UserController Latest working login - frontend GetUserById - Possibly working(needs better photo handling) GetUserById - Works similar to Assignment 3 AllProducts(needs to get sipecified user id) Photo handling in profile page(before base64 changes) - Frontend test api key - sendgrid Forgot and Reset password methods (before Sendgrid implementation) - UserController Payment Prompt PaymentController(suggested by chatgpt) Payment model (b4 chatgpt changes) Reward controller, model, viewmodel & AppDbContext (b4 my changes) Reward model, viewmodel, controller & AppDbContext (latest working v1.0 after changes) Reward frontend component, service and model (latest working v1.0 after changes) Help on Register (usertype dilemma) Suggested Reward structure (chatgpt v1.0) Host Records namecheap (b4 changes) Predined Reward Types Reward controller (after changes v1.1) Profile Page ts (before member and reward changes) ProfilePageComponent(with working frontend image) Member Manager Component (B4 Reward Changes) SearchUser Backend Method(Dropped) AppDbContext (B4 Anda's backend implementation) UserController (B4 Anda's Backend Implementation) program.cs (B4 Anda's backend implementation) OnSubmit - Before profile update changes NG0900 error Program cs that allows authentication in cart&wishlist Before Wishlist and Cart Count Changes Program cs - (Order working version without configuring swagger for bearer) Forgot and Reset Password methods (before email logic) Product controller - B4 base64 and model change Product seed data - AppDbContext (b4 crud) UserDeletionService.cs - (B4 Configurable Timer Implementation) program.cs (b4 changing to have functionality for configurable timer) deletion settings update - html and ts (b4 viewing ability) Working UserDeletionService.cs - (Constraint: Limitation of 24.8 days) Checkout - with Discount Payfast.component.ts - before create payment Register User - deleted Register Employee - deleted Create Order (before product quantity depletion change) MovetoCart (before available stock changes) product-list component (before side navbar changes) Help PDF Method (convert to image and cannot search but has styling) Help PDF Method (can search but has no styling) User Deletion Logic (Before stored procedure implementation ) Stored Procedure Template in SQL (before replacing with mine) Stored Procedure for UpdateUserDeletionSettings and UserDeletionService (WORKING VERSION) Exporting Payments to Excel (Purely Frontend) Reward (before service) Payfast ts (before vat and discount implementation) Profile Page (before rewards) AppDbContext (Before merging) Product controller, model, viewmodels (Before Inventory relation) Inventory controller, model, viewmodel (before relation to product) Inventory controller, model, viewmodel (before relation to product) Supplier + Supplier_Order Controller, Models, Viewmodels (Before inventory implementation) Payfast ts (before type error) IMPORTS!!! IMPORTS!!! Seed data QualifyingMembers Stored Procedure Audit Trail Logic OrderStatusUpdate service (working with Period error) Adding Stored Procedure to DBContext ProductType seed data Payment before modifying excel Table count
1)OPERATORS TASK 1A 2)Student grade task 1B 3)command line arguments 1C 4)Constructor and method overloading task 2a 5)type casting task 2B 6)Use array sum of integers and find the sum and average of the elements of that array in java 7)Practice further programs on the usage of arrays in java 8)Write a program to utilize both standard and custom packages. The program should reflect the usage of packages in a correct manner, along with the purpose of access modifiers 9))Write a program to use gc() method of both System and Runtime classes. Experiment with other methods of those classes. 10)write a program using the hierarchy of employees in a university 11))Write a program to understand polymorphic invocation of methods,while overriding the methods. Use an employee base class and manager sub class; override the computeSalary() method to illustrate the concept. 12)Develop an application that uses inheritance. Use the class Account and then subclass it into different account types. Then making use of Customer and Employee classes to develop the application to reflect the nature of banking operations. Use minimum operational sequence. 13)Demonstrate the use of abstract classes. Write a Person abstract class and then subclass that into Student and Faculty classes. Use appropriate fields and methods. 14)Write a program to demonstrate the usage of interfaces. 15)Write a program to understand the full capability of String class.Implement as many methods as required. Consult API documentation to read through the methods. 16)Write programs using StringBuffer and StringBuilder library classes. 17)Write a program to demonstrate the usage of try and associated keywords. Introduce bugs into the program to raise exceptions and then catch and process them. 18)Learn how to create and use custom exceptions. 19)Using byte streams, write a program to both read from and write to files. 20)Using FileReader and FileWriter, write a program to perform file copying and any other suitable operations. 21)Write a Java Program that displays the number of characters, lines and words in a text file. 22)Use the classes StringTokenizer, StringReader and StringWriter to write a program to find the capabilities of these classes. 23)Write a program to demonstrate enumerations and usage of Assertions. 24) Demonstrate assertions through simple programs. 25)Write programs to illustrate the use of Thread class and Runnable interface. 26)Write a program to show the assignment of thread priorities. 27)Write a program to synchronize threads. Use Producer and Consumer problem to illustrate the concept. 28) LABEL DEMO 29) BUTTON DEMO 30) CHECK BOX DEMO 31) RADIO BUTTON DEMO 32) COMBO BOX DEMO 1 33) COMBO BOX DEMO 2 34) LIST DEMO 35) TEXT DEMO 36) File input stream demo(IO) 37) file output stream demo(IO) 38) file input stream demo (BYTE) 39) file OUTput stream demo (BYTE) 40) BUFFERED INPUT STREAM DEMO (BYTE) 41) BUFFERED OUTPUT STREAM DEMO (BYTE) 42)Byte Array Output sTream Demo (BYTE) 43) Byte Array Input Stream Demo (BYTE) 44) FILE READER & WRITER DEMO (CHAR) 45) Char Array Reader & WRITER Demo (CHAR) 46) CHAR BUFFER READER & WRITER DEMO (CHAR) 47) FILE FUNCTIONS (IO) 48) DIR LIST & CONSOLE DEMO 49) SERIALIZATION 50) INTER THREAD COMMUNICATION
choppystick/PyDoku: An implementation of the classic Sudoku puzzle game using Python and Pygame. It offers a graphical user interface for playing Sudoku, with features such as a menu system, difficulty levels, and the ability to play puzzles from the New York Times website. choppystick/py-sudoku-solver: Python implementation of a Sudoku solver using Linear Programming (LP). The solver can handle Sudoku puzzles of varying difficulties and can find multiple solutions if they exist. choppystick/py-sudoku-solver: Python implementation of a Sudoku solver using Linear Programming (LP). The solver can handle Sudoku puzzles of varying difficulties and can find multiple solutions if they exist. choppystick/PyDoku: An implementation of the classic Sudoku puzzle game using Python and Pygame. It offers a graphical user interface for playing Sudoku, with features such as a menu system, difficulty levels, and the ability to play puzzles from the New York Times website. choppystick/py-sudoku-solver: Python implementation of a Sudoku solver using Linear Programming (LP). The solver can handle Sudoku puzzles of varying difficulties and can find multiple solutions if they exist. choppystick/PyDoku: An implementation of the classic Sudoku puzzle game using Python and Pygame. It offers a graphical user interface for playing Sudoku, with features such as a menu system, difficulty levels, and the ability to play puzzles from the New York Times website. choppystick/PyDoku: An implementation of the classic Sudoku puzzle game using Python and Pygame. It offers a graphical user interface for playing Sudoku, with features such as a menu system, difficulty levels, and the ability to play puzzles from the New York Times website. choppystick/py-sudoku-solver: Python implementation of a Sudoku solver using Linear Programming (LP). The solver can handle Sudoku puzzles of varying difficulties and can find multiple solutions if they exist.
1. Create a web page using the advanced features of CSS Grid. Apply transitions and animations to the contents of the web page. 2. Create a web page using the advanced features of CSS Flexbox. Apply transitions and animations to the contents of the web page. 3. Demonstrate pop-up box alerts, confirm, and prompt using JavaScript. 4. Demonstrate Responsive Web Design using Media Queries to create a webpage. 5. Write a JavaScript program to demonstrate the working of callbacks, promises, and async/await. 6. Write an XML file that displays book information with the following fields: Title of the book, Author Name, ISBN number, Publisher name, Edition, and Price. Define a Document Type Definition (DTD) to validate the XML document created above. 7. Write an XML file that displays book information with the following fields: Title of the book, Author Name, ISBN number, Publisher name, Edition, and Price. Define an XML schema to validate the XML document created above. 8. Write a Java application to validate the XML document using the DOM parser. 14. Write a java program to establish connection to a database and execute simple SQL queries. 10. Write a Java program to access the metadata of an SQL database. 15. Write a java program to demonstrate the usage of JDBC in performing various DML statements. Use Prepared statements Demonstrate Servlet Lifecyle by implementing Servlet Interface. Demonstrate Creation of Servlet program using Http Servlet class. 11.Scientific Calculator 9. Write a Java application to validate the XML document using the SAX parser. 16. Write a java based application to demonstrate the Scrollable Result sets. 12. Demonstrate Servlet Lifecyle by implementing Servlet Interface. 13. Demonstrate Creation of Servlet program using Http Servlet class. 17. Write a program to accept request parameters from a form and generate the response.
1.Implement Dimensionality reduction by Principal Component Analysis and analyze the results of both methods. Consider petrol _consumption.cs dataset. Also write the program to visualize insights of the dataset. 2.Implement the Dimensionality Reduction using Recursive Feature Elimination method and analyze the results with any one classifier. Consider Fish.cs dataset. 3.Design and Demonstrate Regression model to predict the rent of a house. Evaluate the performance of the model. Consider Pune_rent.csv dataset. 4.Implement Regression model and compare the performance of the model with Dimensionality reduction and without Dimensionality reduction. Consider student_scores.csv dataset. 5.Implement the Decision tree Classification model on Iris.est dataset. Estimate the accuracy of the model. Also write the program to visualize insights of the dataset. 6.Write a program for k-NN classifier to predict the class of the person on available attributes. Consider diabetes.cs dataset. Also calculate the performance measures of the model 7.Design and implement a Random Forest Classification model to predict if a loan will get approved or not for a bank customer dataset. Estimate the accuracy of the model. Also write the program to visualize insights of the dataset. 8.Design and implement k-Means clustering to cluster species of flower. Estimate the accuracy of the model. Also write the program to visualize insights of the Iris dataset. 9.Design and implement Hierarchical clustering to cluster species of flower. Estimate the accuracy of the model. Also write the program to visualize insights of the Iris dataset.
Working with Object and Array Destructuring. Working with Modules. Working with Function Generators and Symbols. Working with Closure. . Working with higher order function in JavaScript. Using Callback and creating a Callback Hell situation to understand the drawbacks. Working with XHR: response. . Dealing with the Callback Hell situation using Promise. Exploring the different ways of ealing with the Callback Hell situation using Promise. Exploring the different ways of creating and using promise in executing the asynchronous task. Dealing with Promise chaining and async / await. Use fetch function to access remote data using the given api and display the data in the form of a table. Use fetch function to read the weather details from openweathermap.org and display the details like city, min-temp, max-temp, humidity on the webpage for a given city Create custom / local modules and export them using various module patterns. Explore the functionality of os, path, util and events modules. Use the fs module for creating directories and files of different formats Write script to read and write the streaming data using readable and writable streams. Create a http server listening request at port 3000. Process the request to provide different type of resources as response. (HTML, TEXT, JSON, etc.). Create a http server listening request at port 3000. Process the request to provide different type of resources as response. (HTML, TEXT, JSON, etc.). Create a custom API for Users data and add different endpoints in express server to perform CRUD operations on the API. Test the endpoints using POSTMAN. Create express server that has endpoints connecting to Users collection present in Mongo DB database using mongoose library and perform CRUD operation on that. Create express server that has authorized endpoint using JWT (JSON Web Token) library