Note: these instructions are for pre-Sierra MacOS. Sierra (10.12) and newer users see https://gist.github.com/gravitylow/fb595186ce6068537a6e9da6d8b5b96d by @gravitylow
If you are getting this in gdb on OSX while trying to run a program:
Note: these instructions are for pre-Sierra MacOS. Sierra (10.12) and newer users see https://gist.github.com/gravitylow/fb595186ce6068537a6e9da6d8b5b96d by @gravitylow
If you are getting this in gdb on OSX while trying to run a program:
| package scratch | |
| import ( | |
| "reflect" | |
| "testing" | |
| ) | |
| /* | |
| Results with Go1.5 on a 6 core Xeon CPU E5-1650 0 @ 3.20GHz |
| ../eyyxo.torrent: | |
| Name: Hacked Team | |
| Size: 415768052618 (387G) | |
| Announce: udp://coppersurfer.tk:6969/announce | |
| Files: | |
| Amministrazione/01 - CLIENTI/1 - Commesse/1 - Commesse 2011/Commessa001.2011 Royal.xls 59392 (58K) | |
| Amministrazione/01 - CLIENTI/1 - Commesse/1 - Commesse 2011/Commessa002.2011 Royal.xls 59392 (58K) | |
| Amministrazione/01 - CLIENTI/1 - Commesse/1 - Commesse 2011/Commessa003.2011 Royal.xls |
| #!/bin/zsh | |
| # | |
| # Copyright (c) 2014, 2020 by Dr. András Korn. Implements the basic idea of a similar script by Robert Coup (2013). | |
| # License: GPLv3 | |
| function usage() { | |
| echo 'Usage: | |
| rsync_parallel [--parallel=N] <args to find(1) to generate list of stuff to transfer> -- <args to rsync> | |
| Remuxing | |
| Why Remux Blu-rays? | |
| -You use MPC-HC (or similar DShow players) and standard filters for playback. You can also use better quality renderers like Haali, EVR and madVR. | |
| -You get the ease of playback of a re-encode without the quality loss. A double click off the .mkv will start the movie - no annoying warnings, loading screens, previews and setup menus. | |
| -You don't have to deal with horribly bloated, unstable and expensive PowerDVD or Arcsoft playback software. | |
| -You don't have to mess with ISO creation, correct BD folder structure, UDF and SPTD drivers, and image mounting every time you want to watch a movie. | |
| -You never have to worry about the region code setting of a disc. | |
| -You never have to worry about HDCP or PAP content protection. | |
| -You never have to worry about your software player downsampling your audio - get full bit-depth and frequency resolution, 24bit/96kHz or higher, not 16/48. |
| // Just before switching jobs: | |
| // Add one of these. | |
| // Preferably into the same commit where you do a large merge. | |
| // | |
| // This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
| // and then it quickly escalated into more and more evil suggestions. | |
| // I've tried to capture interesting suggestions here. | |
| // | |
| // Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
| // @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |
| # Example usage | |
| # $ python dft.py | gnuplot | |
| # 9 | |
| # 0 0 | |
| # 1 1 | |
| # 2 2 | |
| # 0 2 | |
| # 1 1 | |
| # -1 1 | |
| # 0 2 |