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
<?php | |
/** | |
* Convert a comma separated file into an associated array. | |
* The first row should contain the array keys. | |
* | |
* Example: | |
* | |
* @param string $filename Path to the CSV file | |
* @param string $delimiter The separator used in the file | |
* @return array |
These are my notes basically. At first i created this gist just as a reminder for myself. But feel free to use this for your project as a starting point. If you have questions you can find me on twitter @thomasf https://twitter.com/thomasf This is how i used it on a Debian Wheezy testing (https://www.debian.org/releases/testing/)
Discuss, ask questions, etc. here https://news.ycombinator.com/item?id=7445545
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
/** | |
* To answer @AnnieCushing's question on Twitter: | |
* https://twitter.com/AnnieCushing/status/806518054368739329 | |
* | |
* Author: Chris Le - @iamchrisle | |
* | |
* There's a few ways to do this. | |
* - Like @SimoAhava suggested, server redirects that strips parameters if you | |
* have the ability to control the server. |
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
{ | |
// // settings for all languages | |
"editor.fontFamily": "'Cascadia Code PL', 'Cascadia Code', Consolas, monaco, monospace", | |
"editor.fontSize": 18, | |
"editor.minimap.enabled": false, | |
// "editor.suggest.showStatusBar": true, | |
// "editor.suggest.insertMode": "insert", | |
// "workbench.tree.indent": 16 |