#header
- test
- closed
#!/bin/sh | |
#http://getpocket.com/import/instapaper | |
set -x | |
cat >> /tmp/import.html << "EOF" | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<title>Instapaper: Export</title> | |
</head> |
#header
Before closing the chat, go to Contact menu and click on "Add Group Chat Bookmark." | |
Save it to the preferred list and click on "Add." | |
Context menu for contact Get info-> Advanced Settings->Bookmark/Automatically join |
#Linux | |
Can't install RMagick 2.13.2. Can't find Magick-config in /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
$sudo apt-get install libmagickcore-dev libmagickwand-dev | |
#OSX | |
checking for Magick-config... no | |
Can't install RMagick 2.13.2. Can't find Magick-config in /Users/kevit/.rvm/gems/ruby-1.9.3-p448@wjenkins/bin:/Users/kevit/.rvm/gems/ruby-1.9.3-p448@global/bin:/Users/kevit/.rvm/rubies/ruby-1.9.3-p448/bin:/Users/kevit/.rvm/bin:/usr/local/heroku/bin:/Users/kevit/bin/packer:/Users/kevit/Projects/ansible/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/MacGPG2/bin:/opt/local/bin:/usr/local/git/bin:/sw/bin:/sw/sbin:/usr/local/magicwrap/bin:/opt/local/sbin:/Users/kevit/bin:/Users/kevit/Projects/hubot/nodejs/bin:/usr/local/sbin | |
solution: | |
$brew install imagemagick |
#!/usr/bin/ruby | |
require 'rubygems' | |
require 'zip' | |
class ZipFileGenerator | |
# Initialize with the directory to zip and the location of the output archive. | |
def initialize(inputDir, outputFile) | |
@inputDir = inputDir | |
@outputFile = outputFile |
#!/bin/bash | |
mkdir tmp | |
mv $1 tmp | |
convmv -f utf8 -t cp866 tmp/$1 --notest | |
zip -r $1 tmp/* |
restic snapshots -r /backup -p pass --json | jq -r '.[-1].time|strptime("%Y-%m-%dT%H:%M:%S.%Z")|mktime' |
from flask import Flask, jsonify | |
from flask import request | |
from flask import abort | |
import random | |
import string | |
import docker | |
app = Flask(__name__) | |
#curl -X POST http://127.0.0.1:5000 |
I hereby claim:
To claim this, I am signing this object:
"$(Get-Date) This is a test." | Out-File -FilePath "C:\Users\Public\TestFile.txt" -Append |