Skip to content

Instantly share code, notes, and snippets.

Avatar
😀
Coding :-)

Vallabh Kansagara vrkansagara

😀
Coding :-)
View GitHub Profile
@vrkansagara
vrkansagara / For Mac 4.2.6 unlimited trial.md
Created Oct 25, 2019 — forked from rise-worlds/For Mac 4.2.6 unlimited trial.md
Beyond Compare 4 license for Windows, Mac, Linux
View For Mac 4.2.6 unlimited trial.md

for 4.2.4 or higher,4.2.5,4.2.6 ,it's works , this is the way which makes Always in evaluation mode 。

  1. go to the dir : /Applications/Beyond Compare.app/Contents/MacOS
  2. change the name BCompare to BCompare.bak
  3. touch a file name BCompare , and chmod a+u BCompare
  4. insert BCompare the content :
#!/bin/bash
rm "/Users/$(whoami)/Library/Application Support/Beyond Compare/registry.dat"
"`dirname "$0"`"/BCompare.bak $@
View GoogleOauth2-CorePHP
<?php
require __DIR__ . '/vendor/autoload.php';
if (php_sapi_name() != 'cli') {
throw new Exception('This application must be run on the command line.');
}
/**
* Returns an authorized API client.
* @return Google_Client the authorized client object
@vrkansagara
vrkansagara / Doctrine-Multi-Tenancy.md
Created Sep 1, 2019 — forked from CarlosEduardo/Doctrine-Multi-Tenancy.md
Multi-Tenancy (tenant) Strategy for Doctrine ORM
View Doctrine-Multi-Tenancy.md
@vrkansagara
vrkansagara / id_rsa.pub
Last active Aug 7, 2019
Allow me to help your server.
View id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDwIzBsV/ED8Z+Bzlxlw5YU+FsAVyqelS0dwQmpZGnLvVmEVhYgLrrjuU/sr4DDTOLzCYVpZkDgCZH80f/UIQLiOQ4AkDvXnP8FkTkZ5YUj1WqHIaYpQEUXLDCkC7vpy0Am8RK434aLtUmvRIXyhq34NF7y+AKiIADVV4r8npUHeXouSO5b0iNJrywHZES6qKt5ARQ3uS/SVXjxh1tmh9sP8zqrik6aGk1C/U9yEBKbwwRhnq71dD+4m1Wt68VH6Gv+obJah/CsoNOr9440yRzVKrNQLLqaxPgf4tHMjrfHRRqwVqYc5N18iHF5BghkI+9rtXnDE5bMFMiMmttxpM6kVnzdLCwExR5QrZcxbVvSB70Pf7kL5JviaLgWQyf71gcixml3dpcGgrm3h9RI46m7+Ac91CGypVsnowHOShW5dCqP1fE2UNs8P9gwthfteCCWsIjo1OavyRcNyQOzEv97SK4DDiddUrVHcWtXWfR0UUT44P1a+1Zdixd+tUZ2XAqlhPri0BF2oZyZZYkpCIWKywGWUPBKQFd1eKK8TAnCRHjnmrDpjWynMKeGP3BPF6h/oCPNkVHd5WC3gpAUoYIURrymwabPhShExzLpGXB2hyS2Do8s92P1Entru228NOEZKOXzKN5G2im4RuwqqOm4jSfX4/P5sM1+cnTRV1IaVQ== VRKANSAGARA@GMAIL.COM
View my.cnf
percona-mysql-router.x86_64 8.0.15-6.1.el6 installed
cat my.cnf
# Percona Server template configuration
#
# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/8.0/en/server-configuration-defaults.html
[mysqld]
#
# Remove leading # and set to the amount of RAM for the most important data
@vrkansagara
vrkansagara / learning-JavaScript
Last active Feb 14, 2019
Path way to learn JavaScript
View learning-JavaScript
[16 JavaScript Concepts JavaScript Professionals Must Know Well ] (http://javascriptissexy.com/16-javascript-concepts-you-must-know-well/)
View random_string.php
<?php
if (!function_exists('randcomString')) {
/**
* @param number
* @return string
*/
function randcomString($length = 16)
{
$capital = substr(str_shuffle('ABCDEFGHIJKLMNOPQRSTUVWXYZ'), 0, 1);
$small = substr(str_shuffle('abcdefghijklmnopqrstuvwxyz'), 0, 1);
View http_status_code.php
<?php
if (!function_exists('http_status_message')) {
/**
* @param int $code
* @return string
*/
function http_status_message($code)
{
/**
View gist:b83c04b48c8338879a51f4bb426b2d82
<!doctype html>
<title>Site Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>
@vrkansagara
vrkansagara / ngrxintro.md
Created Jul 29, 2018 — forked from btroncone/ngrxintro.md
A Comprehensive Introduction to @ngrx/store - Companion to Egghead.io Series
View ngrxintro.md

Comprehensive Introduction to @ngrx/store

By: @BTroncone

Also check out my lesson @ngrx/store in 10 minutes on egghead.io!

Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!

Table of Contents

You can’t perform that action at this time.