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
" Highlight searches | |
set hlsearch | |
" Case sensitivity | |
set ignorecase | |
set smartcase | |
" Automatic Indenting | |
set autoindent |
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
:let @* = @% |
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
set formatoptions+=a # auto reformat paragraphs | |
set formatoptions+=t # enable auto line wraping | |
set tw=100 |
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
curl -L -v --data "username=<username>@shaw.ca&password=<password>&acpt=on&language=en" https://wifisignon.shaw.ca/api/login |
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
foreach(debug_backtrace() as $trace) { | |
echo $trace['file'] . "::" . $trace['function'] . "::" . $trace['line'] . "\n"; | |
} |
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
curl https://api.mover.io/connectors/lOVdV48pmWA7GDmmjkth/collections/DKLsd898sdKj/items \ | |
-X POST \ | |
-H "Authorization: MoverAPI app_id=2tsc0f9n9l4v209oara0mb2j5ur9my8v app_secret=65oow347p1q7d0loj45oje2u3sol99xd" \ | |
-F item=@"my_pic.jpg" |
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
# This is the common irbrc file used by all rvm ruby installations. | |
# This file will be overriden every time you update rvm. | |
# Turn on completion. | |
begin | |
require "readline" | |
require "irb/completion" rescue nil | |
# Turn on history saving. |
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
/(?!x)x/ | |
/a^/ | |
/$a/ |
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 | |
'modifiedDate' => date(DateTime::RFC3339, $timestamp) |
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 | |
// Set the locale to 'C' | |
setlocale(LC_CTYPE, 'C'); | |
// Set the string to 'Test Folder' in hebrew | |
$path = '/Hebrew Test Folder/מחרוזת בדיקה'; | |
// Echo out just the base string | |
echo $path . "\n"; // /Hebrew Test Target/מחרוזת בדיקה |