List all symbolic links in current directory
find /path -type l
List all hard links in current directory
find / -type f -links +1 -exec ls -liad {} \;
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> | |
<title>Diagram</title> | |
</head> | |
<body> | |
<div> | |
<svg width="200" height="100"> | |
<defs> |
#!/bin/bash | |
for i in $( | |
ps x | | |
grep 'Google Chrome Helper' | | |
grep -v grep | | |
cut -d ' ' -f 1 | |
); do | |
kill $i; | |
done |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<title>Normal Document Flow</title> | |
<style type="text/css"> | |
p, span { | |
background: #999; |
List all symbolic links in current directory
find /path -type l
List all hard links in current directory
find / -type f -links +1 -exec ls -liad {} \;
<html> | |
<head> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script> | |
</head> | |
<body> | |
<!-- | |
Get contents on GitHub API documentation http://developer.github.com/v3/repos/contents/#get-contents | |
--> | |
<div id="result"></div> |
var $ = require('NodObjC') | |
$.import('Cocoa') | |
var pool = $.NSAutoreleasePool('alloc')('init') | |
, app = $.NSApplication('sharedApplication') | |
app('setActivationPolicy', $.NSApplicationActivationPolicyRegular) | |
var menuBar = $.NSMenu('alloc')('init') |
var $ = require('NodObjC') | |
// First you import the "Foundation" framework | |
$.framework('Foundation') | |
// Setup the recommended NSAutoreleasePool instance | |
var pool = $.NSAutoreleasePool('alloc')('init') | |
// NSStrings and JavaScript Strings are distinct objects, you must create an | |
// NSString from a JS String when an Objective-C class method requires one. |
/* compile with: g++ hello.cpp -o hello */ | |
#include <iostream> | |
using namespace std; | |
int main () | |
{ | |
cout << "Hello World!\n"; | |
return 0; | |
} |
this worked very nice for a single page site | |
``` | |
wget \ | |
--recursive \ | |
--page-requisites \ | |
--convert-links \ | |
[website] | |
``` | |
wget options |
* { | |
border: 1px dashed #0000ff; | |
} |