- Plug in your SD card, HDD, or other block device and then use the following command to see which /dev/diskN node it's located on:
diskutil list- Unmount the disk where “N� is the number of the disk taken from the above command:
| For verification, applications that use openssl would create an openssl context with either default or specific directories used for verification. Note that some packages (e.g. openldap) use gnutls instead of openssl and gnutls has a compatibility layer (includes/gnutls/openssl.h) which includes common functions like setting verification paths so you may rely on using a single code base for configuration to some extent. | |
| https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_load_verify_locations.html | |
| SSL_CTX_load_verify_locations - set default locations for trusted CA certificates | |
| int SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile, | |
| const char *CApath) | |
| { return (X509_STORE_load_locations(ctx->cert_store, CAfile, CApath)); | |
| int X509_STORE_load_locations(X509_STORE *ctx, const char *file, | |
| const char *path) |
| <html> | |
| <body> | |
| <a href="javascript:(function(v){if (v) {var r = prompt('Playback rate?');var f = parseFloat(r);v.playbackRate = f;}})(document.querySelector('video'))">Video Speedup</a> | |
| </body> | |
| </html> |
| #!/bin/bash -e | |
| #### | |
| # based on https://gist.github.com/jeffery/1115504 | |
| # Helper script to update the Last modified timestamp of files in a Git SCM | |
| # Projects working Copy | |
| # | |
| # When you clone a Git repository, it sets the timestamp of all the files to the | |
| # time when you cloned the repository. | |
| # | |
| # This becomes a problem when you want the cloned repository, which is part of a |
| function zshaddhistory() { # {{{ | |
| # http://mollifier.hatenablog.com/entry/20090728/p1 | |
| local line cmd | |
| line=${1%%$'\n'} | |
| cmd=${line%% *} | |
| # Add command to history if it meets the following conditions | |
| [[ ${#line} -ge 5 | |
| && ${cmd} != (l|l[sal]) | |
| && ${cmd} != (c|cd) |
| MIT License | |
| Copyright (c) <year> <copyright holders> | |
| Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
| The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE S |
Foster a community of novice to experienced cyclists to promote healthy urban living and lifestyle choices.
| // 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, |
Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discuss around concrete examples, not hand-waving abstractions. Don't say you did something, provide a URL that proves it.
Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.