Skip to content

Instantly share code, notes, and snippets.

View dexfs's full-sized avatar
🎯
Focusing on support my children

André Santos dexfs

🎯
Focusing on support my children
View GitHub Profile
# GET COLUMNS
SELECT GROUP_CONCAT(COLUMN_NAME SEPARATOR ',')
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_SCHEMA = 'DATABASE' AND TABLE_NAME = 'TABLE';
Convert the given number into a roman numeral.
All roman numerals answers should be provided in upper-case.
Remember to use Read-Search-Ask if you get stuck. Try to pair program. Write your own code.
Here are some helpful links:
Roman Numerals
Array.prototype.splice()
You will be provided with an initial array (the first argument in the destroyer function), followed by one or more arguments. Remove all elements from the initial array that are of the same value as these arguments.
Remember to use Read-Search-Ask if you get stuck. Write your own code.
Here are some helpful links:
Arguments object
Array.prototype.filter()
Run tests (ctrl + enter)
Reset Help Bug
#!/bin/sh
php artisan config:clear;
php artisan config:cache;
php artisan cache:clear;
php artisan clear-compiled;
php artisan route:clear;
php artisan view:clear;
composer dump-autoload;
"autoload": {
"psr-4": {
"Bjm\\Models\\": "application/eloquent/",
"Bjm\\Services\\": "application/services/"
}
}
"illuminate/database": "5.2.*",
"illuminate/events": "5.2.*",
"autoload": {
"psr-4": {
"Bjm\\Models\\": "application/eloquent/",
"Bjm\\Services\\": "application/services/"
}
}
Verifying that +dexdev is my blockchain ID. https://onename.com/dexdev
<?php
#parse_url http://php.net/manual/pt_BR/function.parse-url.php
$url = 'https://www.example.com/page.php#!/more-and-more/text/that-needs-to-go/away';
print_r(parse_url($url));
#regex( preg_match ) - http://php.net/manual/pt_BR/function.preg-match.php
$pattern = '/.*page\.php/';
preg_match($pattern, $url, $matches);
print_r($matches);

Keybase proof

I hereby claim:

  • I am dexdev on github.
  • I am dexfs (https://keybase.io/dexfs) on keybase.
  • I have a public key whose fingerprint is BFFA EFD5 1656 2F6A 1A26 E422 B3A5 C547 5E87 3D4F

To claim this, I am signing this object:

<!DOCTYPE html>
<html>
<head>
<!--
This site was based on the Represent.LA project by:
- Alex Benzer (@abenzer)
- Tara Tiger Brown (@tara)
- Sean Bonner (@seanbonner)