Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
#!/bin/sh | |
# Make sure you replace the API and/or APP key below | |
# with the ones for your account | |
# from http://docs.datadoghq.com/api/?lang=console | |
currenttime=$(date +%s) | |
curl -X POST -H "Content-type: application/json" \ | |
-d "{ \"series\" : | |
[{\"metric\":\"test.metric\", | |
\"points\":[[$currenttime, 20]], |
# generate private key | |
openssl genrsa -out private.pem 2048 | |
# extatract public key from it | |
openssl rsa -in private.pem -pubout > public.pem |
/* ---------------------------------------- | |
// call finguard() in your app // output will be something like this --> "0821orak0821539ds999.6933.0.76" | |
---------------------------------------- */ | |
function finguard(){function r(r,e){return(e+9845+window.screen.width+r+window.screen.width).split("").reverse().join("")}var e={};(o=(a=navigator.userAgent.toLowerCase()).match(/msie ([\d.]+)/))?e.ie=o[1]:(o=a.match(/firefox\/([\d.]+)/))?e.firefox=o[1]:(o=a.match(/chrome\/([\d.]+)/))?e.chrome=o[1]:(o=a.match(/opera.([\d.]+)/))?e.opera=o[1]:(o=a.match(/version\/([\d.]+).*safari/))&&(e.safari=o[1]);var a,o;e={};return(o=(a=navigator.userAgent.toLowerCase()).match(/msie ([\d.]+)/))?e.ie=o[1]:(o=a.match(/firefox\/([\d.]+)/))?e.firefox=o[1]:(o=a.match(/chrome\/([\d.]+)/))?e.chrome=o[1]:(o=a.match(/opera.([\d.]+)/))?e.opera=o[1]:(o=a.match(/version\/([\d.]+).*safari/))&&(e.safari=o[1]),e.ie?r("itne",e.ie):e.firefox?r("fyfo",e.firefox):e.chrome?r("karo",e.chrome):e.opera?r("orpr",e.opera):e.safari?r("sfri",e.safari):"zefo4 |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
You should install VirtualBox and Vagrant before you start.
You should create a Vagrantfile
in an empty directory with the following content:
For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.
Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon
with HyperThreading enabled, but it can work without problem on slower machines.
You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.
Typing vagrant
from the command line will display a list of all available commands.
Be sure that you are in the same directory as the Vagrantfile when running these commands!
vagrant init
-- Initialize Vagrant with a Vagrantfile and ./.vagrant directory, using no specified base image. Before you can do vagrant up, you'll need to specify a base image in the Vagrantfile.vagrant init <boxpath>
-- Initialize Vagrant with a specific box. To find a box, go to the public Vagrant box catalog. When you find one you like, just replace it's name with boxpath. For example, vagrant init ubuntu/trusty64
.vagrant up
-- starts vagrant environment (also provisions only on the FIRST vagrant up)#!/bin/bash | |
#This script iterates over files in a folder to find near duplicate images. | |
#Threshold for duplicacy is set to 80%. | |
#This script calls a perl script 'findimagedupes.pl', it is recommended to run | |
# the perl script first to see if it is working appropriately. | |
# $perl findimagedupes.pl image1.jpg image2.jpg | |
#This script deletes the duplicate files and creates 2 txt files after process. | |
# So be careful about your first run, take your back up files as needed. No kind of warranty is provided. | |
# | |
#author: @milkers 28.08.2013 |
@echo off | |
: | |
set IBMAS400=10.1.0.20 | |
set USERNAME=username | |
set PASSWORD=password | |
set DESTLIB=QGPL | |
set DESTFILE=SYMBOL | |
set FTPCMD=Inventory.ftp | |
: | |
( |