- Getting into public speaking (https://james.brooks.page/blog/getting-into-public-speaking)
- So You Want To Speak At Software Conferences? (https://dylanbeattie.net/2025/12/08/so-you-want-to-speak-at-software-conferences.html)
- How to Give a Good Talk (https://blog.sigplan.org/2025/03/31/how-to-give-a-good-talk/)
- My 18 tips to deliver great presentations (https://jmmv.dev/2020/07/presentation-tips.html)
- My 18 steps to prepare a great presentation (https://jmmv.dev/2020/07/presentation-preparation.html)
- 100 Tricks to Make Better Presentations (https://github.com/ciberado/100-trucos-para-hacer-mejores-presentaciones/blob/main/README.en.md)
- A command-line based markdown presentation tool (https://github.com/visit1985/mdp)
- Giving a presentation with perfect UI/UX design (https://habr.com/en/post/471624/)
- Very Important Strangers (http://randsinrepose.com/archives/very-important-strangers/)
- Edward Tufte's site (http://www.edwardtufte.com/)
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
| alert('hello ' + document.location.href); |
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
| /** | |
| * Converts an image to a dataURL | |
| * @param {String} src The src of the image | |
| * @param {Function} callback | |
| * @param {String} outputFormat [outputFormat='image/png'] | |
| * @url https://gist.github.com/HaNdTriX/7704632/ | |
| * @docs https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement#Methods | |
| * @author HaNdTriX | |
| * @example | |
| * |
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 | |
| // Outputs all POST parameters to a text file. The file name is the date_time of the report reception | |
| $fileName = date('Y-m-d_H-i-s').'.txt'; | |
| $file = fopen($fileName,'w') or die('Could not create report file: ' . $fileName); | |
| foreach($_POST as $key => $value) { | |
| $reportLine = $key." = ".$value."\n"; | |
| fwrite($file, $reportLine) or die ('Could not write to report file ' . $reportLine); | |
| } | |
| fclose($file); | |
| ?> |
We create an index with:
- two filters:
synonyms_expandandsynonyms_contract - two analyzers:
synonyms_expandandsynonyms_contract - three text fields:
text_1uses thesynonyms_expandanalyzer at index and search timetext_2uses thesynonyms_expandanalyzer at index time, but thestandardanalyzer at search timetext_3uses thesynonyms_contractanalyzer at index and search time
.
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
| /* | |
| jquery.draghover.js | |
| Emulates draghover event by tracking | |
| dragenter / dragleave events of element + children. | |
| https://gist.github.com/gists/3794126 | |
| http://stackoverflow.com/a/10310815/4196 |
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
| First, install nginx for mac with "brew install nginx". | |
| Then follow homebrew's instructions to know where the config file is. | |
| 1. To use https you will need a self-signed certificate: https://devcenter.heroku.com/articles/ssl-certificate-self | |
| 2. Copy it somewhere (use full path in the example below for server.* files) | |
| 3. sudo nginx -s reload | |
| 4. Access https://localhost/ | |
| Edit /usr/local/etc/nginx/nginx.conf: |
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
| /** | |
| * Based off of the Lucene prolog parser in the wordnet contrib package within the | |
| * main Lucene project. It has been modified to remove the Lucene bits and generate | |
| * a synonyms.txt file suitable for consumption by Solr. The idea was mentioned in | |
| * a sidebar of the book Solr 1.4 Enterprise Search Server by Eric Pugh. | |
| * | |
| * @see <a href="http://lucene.apache.org/java/2_3_2/lucene-sandbox/index.html#WordNet/Synonyms">Lucene Sandbox WordNet page</a> | |
| * @see <a href="http://svn.apache.org/repos/asf/lucene/dev/trunk/lucene/contrib/wordnet/">SVN Repository of the WordNet contrib</a> | |
| * @see <a href="https://www.packtpub.com/solr-1-4-enterprise-search-server/book">Solr 1.4 Enterprise Search Server Book</a> | |
| */ |
NewerOlder