#How to create a .file
or .folder
on Windows
There are several ways
- Create
file.txt
- Rename to
.file.
, the last dot will be dropped, you'll have.file
Works the same with a file or a directory.
/** | |
* More info? | |
* [email protected] | |
* http://aspyct.org | |
* | |
* Hope it helps :) | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> |
CULTURE SPEC.CULTURE ENGLISH NAME | |
-------------------------------------------------------------- | |
Invariant Language (Invariant Country) | |
af af-ZA Afrikaans | |
af-ZA af-ZA Afrikaans (South Africa) | |
ar ar-SA Arabic | |
ar-AE ar-AE Arabic (U.A.E.) | |
ar-BH ar-BH Arabic (Bahrain) | |
ar-DZ ar-DZ Arabic (Algeria) | |
ar-EG ar-EG Arabic (Egypt) |
root = /Users/matthias/somedir | |
root = ssh://matthias@host:9000/somedir | |
auto = true | |
log = true | |
logfile = /Users/matthias/.unison/unison.log | |
maxbackups = 5 | |
backup = Name * |
(defun open-finder-1 (dir file) | |
(let ((script | |
(if file | |
(concat | |
"tell application \"Finder\"\n" | |
" set frontmost to true\n" | |
" make new Finder window to (POSIX file \"" dir "\")\n" | |
" select file \"" file "\"\n" | |
"end tell\n") | |
(concat |
class Tweet < ActiveRecord::Base | |
scope :recent, -> { order('created_at desc').limit(4) } | |
scope :graveyard, -> { where(show_location: true, location: "graveyard") } | |
end |
/* | |
Tree structure using CSS: | |
http://stackoverflow.com/questions/14922247/how-to-get-a-tree-in-html-using-pure-css | |
*/ | |
.tree, .tree ul{ | |
font: normal normal 14px/20px Helvetica, Arial, sans-serif; | |
list-style-type: none; | |
margin-left: 0 0 0 10px; | |
padding: 0; |
// Based on a discussion with Michael Haufe: | |
// https://groups.google.com/group/jsmentors/browse_thread/thread/d028fb0041f93a27 | |
// Not really recommended for anything but the fun of knowing it can be done! | |
var omega = function() { | |
var queue = []; | |
var valueOf = Function.prototype.valueOf; | |
Function.prototype.valueOf = function() { | |
queue.push(this); | |
return 1; // not needed now, but could be used later to distinguish operators. |
Eric Bidelman has documented some of the common workflows possible with headless Chrome over in https://developers.google.com/web/updates/2017/04/headless-chrome.
If you're looking at this in 2016 and beyond, I strongly recommend investigating real headless Chrome: https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md
Windows and Mac users might find using Justin Ribeiro's Docker setup useful here while full support for these platforms is being worked out.
# | |
# .screenrc - GNU screen user configuration file | |
# | |
# $Id: .screenrc 190 2010-04-17 07:54:54Z yoshikaw $ | |
# | |
# @see http://www.informatik.uni-hamburg.de/RZ/software/screen/screen_toc.html | |
# @see http://www.limy.org/program/screen_command.html | |
# | |
# Escape key is C-t, literal is a. |