Command | Description |
---|---|
dir / a |
List directory including hidden files |
dir * .png |
List any file that ends in ".png" |
mkdir |
Make directory |
rmdir /s |
Remove directory and contents |
wmic logicaldisk get name |
List all drives |
e: |
S witch drive |
tree |
Folder structure |
This file contains 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
// https://disqus.com/home/discussion/laracast/3_more_unit_testing_review_in_phpunit_testing_with_laravel/#comment-2563747337 | |
/** @test */ | |
function ${1/\s/_/g}() | |
{ | |
${0:// ${1:type name of method with spaces}} | |
} |
So say you have a form like this:
<form method="POST" action="users/register">
<input type="text" name="username">
<button type="submit">Submit</button>
</form>
Then you want to access the request in your controller, you have a couple of methods...
This file contains 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
^XA | |
^FO50,50 | |
^A@E:TT0003M_.TTF,N,50,50 | |
^PA1,1,1,1 | |
^FH | |
^FD | |
_D9_85_D8_AD_D8_A7_D9_83_D9_85_D8_A9 | |
^FS | |
^XZ |
This file contains 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
function stringToHex(str) { | |
return str.split('').map(function (char) { | |
return '_' + char.charCodeAt(0).toString(16); | |
}).join(''); | |
} | |
console.log(stringToHex('ش')); // _d8_b4 |
List Font Methods on a Zebra Printer
^XA^HWE:*.*^XZ
source: https://support.zebra.com/cpws/docs/fonts/font_list_verification.htm
^XA^HH^XZ
- ^A Scalable/Bitmapped Font
- ^A@ Use Font Name to Call Font
- ^B0 Aztec Bar Code Parameters
- ^B1 Code 11 Bar Code
- ^B2 Interleaved 2 of 5 Bar Code
- ^B3 Code 39 Bar Code
- ^B4 Code 49 Bar Code
- ^B5 Planet Code bar code
- ^B7 PDF417 Bar Code
- ^B8 EAN-8 Bar Code
This file contains 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
;= @echo off | |
;= rem Call DOSKEY and use this file as the macrofile | |
;= %SystemRoot%\system32\doskey /listsize=1000 /macrofile=%0% | |
;= rem In batch mode, jump to the end of the file | |
;= goto:eof | |
;= Add aliases below here | |
e.=explorer . | |
gl=git log --oneline --all --graph --decorate $* | |
ls=ls --show-control-chars -F --color $* | |
pwd=cd |
This file contains 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
composer global update laravel/installer |
http://blog.mauriziobonani.com/inspect-the-response-in-laravel-phpunit-tests/
dd(response()->getContent());
dd($this->app['session.store']);
OlderNewer