Categories
Technical

WordPress URL rebase

Changing the Site URL #Changing the Site URL

There are four easy methods to change the Site URL manually. Any of these methods will work and perform much the same function.

Edit wp-config.php #Edit wp-config.php

It is possible to set the site URL manually in the wp-config.php file.

Add these two lines to your wp-config.php, where “example.com” is the correct location of your site.

define( 'WP_HOME', 'http://example.com' );define( 'WP_SITEURL', 'http://example.com' );
Categories
Technical USPS

Direct Mailing CASS and NCOA

NCOA and CASS Certification

NCOA is a database maintained by the U.S. Postal Service of all individuals and companies who completed a Change of Address form in the previous four years.

Over 40 million Americans change their address each year. Outdated address information or address information that was not entered correctly, or is not in the correct USPS format are a major cause of undeliverable-as-addressed (UAA) mail.

This can lead to wasted resources and missed revenue when your mailings are not being received by your intended audience.

An NCOA update can reduce undeliverable and duplicate mail pieces by identifying incorrect addresses and correcting them prior to mailing.

National Change of Address (NCOALink) is a secure dataset of approximately 160 million permanent change-of-address (COA) records consisting of the names and addresses of individuals, families and businesses who have filed a change-of-address with the USPS”. [USPS] The USPS offers licenses for Interface Developers and Interface Distributors and all NCOALink interfaces are USPS certified. There are six licenses available including Full Service Providers (48 months) and Limited Service Providers (18 months). To obtain bulk mail rates, NCOALink is required, as it reduces the number of “undeliverable-as-addressed” mailpieces, saving money and reducing the USPS’s processing of this type of mail.

The Coding Accuracy Support System (CASS)

CASS certification is offered by the USPS to all mailers, service bureaus, and software vendors that would like to evaluate the quality of their address-matching software and improve the accuracy of their ZIP+4, carrier route, and five-digit coding. When choosing a vendor to process your mail, you want to make sure they are CASS certified. CASS Certification must be renewed annually with the USPS to meet current CASS Certification cycle requirements.

For more information on CASS Certification, visit the address management section of the USPS web site. CASS software will correct and standardize addresses. It will also add missing address information, such as ZIP codes, cities, and states to ensure the address is complete. Any mailing claimed at an automation rate must be produced from address lists properly matched and coded with CASS-certified address matching methods.

Categories
Technical

About Me

Developers spend considerable time configuring their work environment. This is an exhausting task and it is tiring. Software engineering is Joy when we can develop and think about logic and Speed performance. This is the whole purpose of this blog !

I am from France (Paris area) and I now live in Los Angeles where the scenery is gorgeous and the weather is clement and welcoming. See some beautiful pictures on the following link  instagram.com/dolosangeles

Los Angeles

have a look to business. directory of Los Angeles
losangeles.raleche.com

New York City

I have worked many years in New York City in the IT and gaming industry. At first I have worked as an IT consultant for diverse french luxury companies. I was leading projects onsite and managing a team of developers based in Philippines. It provided me great experience in managing team overseas. Afterward I worked for a well-known french real estate agency focusing on short-term rental until the arrival of the mega-monster company airBnb who took over the entire industry such as a tsunami. Thereafter, I spent many years working in the gaming industry where I developed and pioneer innovative social gaming technics with Facebook at their headquarter Menlo Park

see more pictures here https://raleche.blogspot.com/p/my-past-experience-high5games-new-york.htmlSee below the view from my ex-office the world trade center known as the freedom tower today in New York City while working for high 5 games

Professional Career

I am specialized in LAMP stack environments (Linux, Apache, MYSQL, PHP) I have more than 15 years experience with PHP. 

LinkedIn
linkedin.com/in/davidraleche/

Stackoverflow
https://stackoverflow.com/users/7782346/david-raleche

I have developed APIs, backend websites and frontend websites, I have managed teams and implemented complex automated solutions throughout my career I have experienced new programming environment in the cloud such as AWS (NodeJs, Lambda, SQS, SNS)
I am a technologist enthusiast and share my findings via different social media platforms

Packagist
packagist.org/packages/yana/dr

Blogs
https://medium.com/@davidraleche

Twitter
https://twitter.com/DavidRaleche

EDUCATION


Stevens Institute of Technology, Hoboken USA
Master of Information System – Dec 2008

Epitech Graduate School of Digital Innovation, Paris France
Master of Computer Science – Dec 2007


Hobbies


HOA President – 2016 – present
Home Owner Association

Google Analytics/Adwords Certified – 2018

Languages

English

French

Categories
Technical

Git list of conflicted files

git diff --name-only --diff-filter=U
Categories
Technical

GIT pull coworker branch

git remote add coworker git://path/to/coworkers/repo.git
git fetch coworker
git checkout --track coworker/foo

This will setup a local branch foo, tracking the remote branch coworker/foo. So when your co-worker has made some changes, you can easily pull them:

git checkout foo
git pull
Categories
Technical

Overview 4Over Automated Direct Mailing Project

Automation of the manual direct mailing system. PHP Automated Restful API software (symfony) replacing a team of 10 people from the online order request to the electronic request submission to USPS. Heavy third party integration (USPS Postal One / Satori Architect).

he

Categories
Technical Unix

Find string in Unix file

Find a specific string in unix files

grep -r "asdasdasdas" src/*

Find a specific string in unix file and return line number

grep -nr "\$files->setParentFileUUID" src/*

\ backslash in front of the dollar sign prevent conflicting interpretation while executing the command

find . -type f -name "*.*" -exec grep -il "YOUR TEXT" {} \;

Categories
Technical

Notice: Only variables should be passed by reference RateLimitService.php -> $stmt->bindParam(‘request’)

BUG

request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\ContextErrorException: “Notice: Only variables should be passed by reference” at vendor/davidBundle/api-bundle/davidBundle/ApiBundle/Services/RateLimitService.php line 56 {“exception”:”[object] (Symfony\\Component\\Debug\\Exception\\ContextErrorException(code: 0): Notice: Only variables should be passed by reference at /master/davidBundle/vendor/fourover/api-bundle/FourOver/ApiBundle/Services/RateLimitService.php:56)”} []

switch from

$stmt->bindParam(‘request’, $this->toRaw());

to

$stmt->bindValue(‘request’, $this->toRaw());

Categories
BEST PHP CODE Symfony Technical

Upgrading from 3.3.2 to Symfony 4.1

Use symfony profiler great help for upgrade

../_images/deprecations-in-profiler.png

Update to the New Major Version via Composer

Once your code is deprecation free, you can update the Symfony library via Composer by modifying your composer.json file:

1
2
3
4
5
6
7
8
{
    "...": "...",

    "require": {
        "symfony/symfony": "^4.1",
    },
    "...": "..."
}

Next, use Composer to download new versions of the libraries:

 composer update symfony/symfony

Dependency Errors

If you get a dependency error, it may simply mean that you need to upgrade other Symfony dependencies too. In that case, try the following command:

 composer update "symfony/*" --with-all-dependencies

This updates symfony/symfony and all packages that it depends on, which will include several other packages. By using tight version constraints in composer.json, you can control what versions each library upgrades to.

Categories
Technical

Figuring out domain name of your Unix Machine

Step 1

ipconfig -a

Step 2

nslookup youripaddress