This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="{{ app()->getLocale() }}"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title> | |
| @hasSection('title') | |
| @yield('title') - {{ config('app.name') }} | |
| @else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vagrant package --base name_from_virtualbox --output name.box |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| INSERT INTO person_test | |
| SELECT NULL, | |
| ce.person_id, | |
| ct.test_id, | |
| ct.test_type_id, | |
| ce.class_id, | |
| sch.end_date, | |
| DATE_ADD(sch.end_date, INTERVAL 30 DAY), | |
| 'date', | |
| NULL, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| select count(*) | |
| from credit cr | |
| join course c on c.course_id = cr.course_id | |
| join person_work_unit pwu on pwu.person_id = cr.person_id | |
| where c.course_type_id = 13 | |
| and pwu.work_unit_id != 72 | |
| and cr.completed_date >= '2017-09-01' and cr.completed_date <= '2017-10-01'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd Library/Application\ Support/MySQL/Workbench/sql_history | |
| grep -lr "text_goes_here" * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Your snippets | |
| # | |
| # Atom snippets allow you to enter a simple prefix in the editor and hit tab to | |
| # expand the prefix into a larger code block with templated values. | |
| # | |
| # You can create a new snippet in this file by typing "snip" and then hitting | |
| # tab. | |
| # | |
| # An example CoffeeScript snippet to expand log to console.log: | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ALTER TABLE many_to_many ADD order_column INT; | |
| CREATE TEMPORARY TABLE tmp_many_to_many AS ( | |
| SELECT many_to_many.id, | |
| many_to_many.type_id, | |
| ( | |
| CASE many_to_many.type_id | |
| WHEN @type_id THEN @cur_row := @cur_row + 1 | |
| ELSE @cur_row := 1 AND @type_id := many_to_many.type_id | |
| END |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $uriToDir = '/downloads/clips'; | |
| $exclude = array( | |
| '.', | |
| '..', | |
| '.DS_Store', | |
| 'index.php', | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <snippet> | |
| <content><![CDATA[ | |
| \$this->load->${1}('${2}'${3:, '${4}'}); | |
| ]]></content> | |
| <!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
| <tabTrigger>cil</tabTrigger> | |
| <!-- Optional: Set a scope to limit where the snippet will trigger --> | |
| <scope>text.html, source.php</scope> | |
| </snippet> |
NewerOlder