<!DOCTYPE html>
<html ng-app="MYAPP">
<head>
<meta charset="utf-8">
<script src="/js/jquery.js"></script>
<script src="/js/angular.js"></script>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/etc/squid3/sites.whitelist.txt | |
# Описание настройки Squid3 для белого листа http://www.webdnstools.com/articles/squid-proxy-whitelist | |
.webdnstools.com | |
.google.com | |
.google.ru | |
.org | |
/etc/squid3/squid.conf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://ffmpeg.org/pipermail/ffmpeg-user/2013-June/015662.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mogrify -format jpg *.NEF |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mongo = require('mongodb'); | |
var express = require('express'); | |
var monk = require('monk'); | |
var db = monk('localhost:27017/test'); | |
var app = new express(); | |
app.use(express.static(__dirname + '/public')); | |
app.get('/',function(req, res) { | |
db.driver.admin().listDatabases(function(e, dbs){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run --name postgres -e POSTGRES_PASSWORD=123456 -p 5432:5432 -d postgres:latest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
avconv -i 00004.MTS -c:a copy -c:v copy 00004.mp4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant ssh-config | sed -n "s/IdentityFile//gp" | head -n 1 | xargs ssh-add | |
export FLEETCTL_TUNNEL="$(vagrant ssh-config | sed -n "s/[ ]*HostName[ ]*//gp" | head -n 1):$(vagrant ssh-config | sed -n "s/[ ]*Port[ ]*//gp" | head -n 1)" | |
# Или сделать так | |
#ssh-add /home/ags/.vagrant.d/insecure_private_key | |
#export FLEETCTL_TUNNEL=127.0.0.1:2222 | |
#export ETCDCTL_PEERS="http://172.17.8.103:4001" | |
echo $FLEETCTL_TUNNEL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Translate a MAC address fetched from VirtualBox into a IP address | |
# | |
if [ $# -lt 1 ]; then | |
echo -e "\nUsage:\n$0 [virtual machine] \n" | |
exit 1 | |
fi |
I hereby claim:
- I am asaushkin on github.
- I am asaushkin (https://keybase.io/asaushkin) on keybase.
- I have a public key whose fingerprint is 809C 4BD8 C1CD 60B5 8ACC EE25 1E04 DAFA 6F42 DD93
To claim this, I am signing this object: