Skip to content

Instantly share code, notes, and snippets.

View abilovelchin's full-sized avatar
⌨️
Coding...

Elchin Abilov abilovelchin

⌨️
Coding...
View GitHub Profile
@abilovelchin
abilovelchin / Encryption.js
Created March 1, 2022 05:35 — forked from ve3/Encryption.js
Encrypt and decrypt between programming languages (PHP & JavaScript).
/**
* Encryption class for encrypt/decrypt that works between programming languages.
*
* @author Vee Winch.
* @link https://stackoverflow.com/questions/41222162/encrypt-in-php-openssl-and-decrypt-in-javascript-cryptojs Reference.
* @link https://github.com/brix/crypto-js/releases crypto-js.js can be download from here.
*/
class Encryption {
@abilovelchin
abilovelchin / web.config
Created August 6, 2020 08:26 — forked from fredrik-lundin/web.config
web.config rewrite all requests to index.html
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="redirect all requests" stopProcessing="true">
<match url="^(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" pattern="" ignoreCase="false" />
</conditions>
<action type="Rewrite" url="index.html" appendQueryString="true" />
@abilovelchin
abilovelchin / bitbucket-pipelines.yml
Created March 7, 2020 18:50 — forked from felipefernandes/bitbucket-pipelines.yml
Bitbucket pipeline for ftp deployment ( Node + Gulp + Bower + FTP + Rsync )
image: node:6.11.2
pipelines:
custom: # Pipelines that are triggered manually
deployment-to-production-init:
- step:
caches:
- node
script: # Modify the commands below to build your repository.
- npm install -g gulp
@abilovelchin
abilovelchin / simplex.cs
Created May 23, 2018 17:23 — forked from trevordixon/simplex.cs
Simplex maximization algorithm in C#
using System;
using System.Diagnostics;
using System.Collections.Generic;
namespace Simplex {
class Simplex {
private double[] c;
private double[,] A;
private double[] b;
private HashSet<int> N = new HashSet<int>();