What do you want to save?
Add Code snippet
New code examples
-
-
Other 2021-11-01 13:46:18
preg_match('/bot|crawl|curl|dataprovider|search|get|spider|find|java|majesticsEO|google|yahoo|teoma|contaxe|yandex|libwww-perl|facebookexternalhit/i', $_SERVER['HTTP_USER_AGENT'])
function isBotDetected() { if ( preg_match('/abacho|accona|AddThis|AdsBot|ahoy|AhrefsBot|AISearchBot|alexa|altavista|anthill|appie|applebot|arale|araneo|AraybOt|ariadne|arks|aspseek|ATN_Worldwide|Atomz|baiduspider|baidu|bbot|bingbot|bing|Bjaaland|Bla... Add solution -
-
Javascript 2021-10-13 15:25:09
node js interview questions interviewbit
What is Node.js? What is it used for? Q2. What is Event-driven programming? Q3. What is Event loop in Node.js work? And How does it work? Q4. What is REPL in Node.js? Q5. What is the purpose of module.exports in Node.js? Q6. What is the difference bet... Add solution -
Javascript 2021-10-12 18:21:07
javascript interview questions
What is Node.js? What is it used for? Q2. What is Event-driven programming? Q3. What is Event loop in Node.js work? And How does it work? Q4. What is REPL in Node.js? Q5. What is the purpose of module.exports in Node.js? Q6. What is the difference bet... Add solution -
Other 2021-10-06 03:47:04
Bigbinary gitignore
# Ignore bundler config. /.bundle # Ignore the default SQLite database. /db/*.sqlite3 /db/*.sqlite3-journal # Ignore database.yml file /config/database.yml # Ignore all logfiles and tempfiles. /log/*.log /tmp /db/backups public/uploads *.DS_Store cover... Add solution -
Other 2021-09-25 23:41:03
include sass in html
You have to use a build tool like Gulp which will convert the SASS file to CSS file , then you just have to link the CSS file in your HTML. What’s interesting is that you don’t have to do this everytime you make a change in your SASS file. Gul... Add solution -
Shell/Bash 2021-09-25 10:37:03
how to install gulp version 3.9.1
I am answering my own question, just so it is useful for others. Is there a way to remove the global gulp version, but keep the project specific gulp? No. AFAIK, you are required to install gulp globally as well as one specific to your project. More inf... Add solution
Best helpers
Ranking is empty