Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
<!-- Include the twitter JS library --> | |
<script type="text/javascript" src="//platform.twitter.com/widgets.js"></script> | |
<!-- Tweet button with just text --> | |
<p><a href="https://twitter.com/intent/tweet?text=My first tweet using Web Intents">Tweet</a></p> | |
<!-- Tweet button with link and text --> | |
<p><a href="https://twitter.com/intent/tweet?url=http://www.webniraj.com/2013/08/08/twitter-api-tracking-tweets-using-web-intents/&text=Tracking tweets using Web Intents:"><img src="https://dev.twitter.com/sites/default/files/images_documentation/bird_blue_48.png" /></a></p> | |
<script type="text/javascript"> |
Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
This information source from the following url:
http://peter.sh/experiments/chromium-command-line-switches/
And also in the chromium source:
https://source.chromium.org/chromium/chromium/src/+/main:media/base/media_switches.cc
When hosting our web applications, we often have one public IP
address (i.e., an IP address visible to the outside world)
using which we want to host multiple web apps. For example, one
may wants to host three different web apps respectively for
example1.com
, example2.com
, and example1.com/images
on
the same machine using a single IP address.
How can we do that? Well, the good news is Internet browsers
/** | |
* Retrieves all the rows in the active spreadsheet that contain data and logs the | |
* values for each row. | |
* For more information on using the Spreadsheet API, see | |
* https://developers.google.com/apps-script/service_spreadsheet | |
*/ | |
function readRows() { | |
var sheet = SpreadsheetApp.getActiveSheet(); | |
var rows = sheet.getDataRange(); | |
var numRows = rows.getNumRows(); |
#!/bin/bash | |
# !!! This script assumes that the device needing to be formatted and encrypted is /dev/sdb | |
# !!! Also... be sure to copy and store the generated encryption key file from /root | |
# Note that the secondary drive will be mounted at /var/lib/mongodb, | |
# ... which is the default location for MongoDB data files on Ubuntu and Mongo at least v2.6 | |
# add PPA for mongodb |
storage: | |
dbPath: "/ssd/db/wt_none" | |
engine: "wiredTiger" | |
wiredTiger: | |
collectionConfig: "block_compressor=" | |
systemLog: | |
destination: file | |
path: "/data/wt_none/mongodb.log" | |
processManagement: | |
fork: true |
user web; | |
# One worker process per CPU core. | |
worker_processes 8; | |
# Also set | |
# /etc/security/limits.conf | |
# web soft nofile 65535 | |
# web hard nofile 65535 | |
# /etc/default/nginx |
on run {targetBuddyPhone, targetMessage} | |
tell application "System Events" | |
tell application "Messages" to activate | |
tell process "Messages" | |
click menu item "New Message" of menu "file" of menu bar 1 | |
set input to targetMessage as text | |
delay 1 | |
keystroke targetBuddyPhone | |
keystroke return | |
keystroke tab |