Skip to content

Instantly share code, notes, and snippets.

Edik Bulikyan lnked

Block or report user

Report or block lnked

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
lnked /
Created Jul 25, 2019 — forked from DanHerbert/
Instructions on how to fix npm if you've installed Node through Homebrew on Mac OS X or Linuxbrew

Fixing npm On Mac OS X for Homebrew Users

Installing node through Homebrew can cause problems with npm for globally installed packages. To fix it quickly, use the solution below. An explanation is also included at the end of this document.


This solution fixes the error caused by trying to run npm update npm -g. Once you're finished, you also won't need to use sudo to install npm modules globally.

Before you start, make a note of any globally installed npm packages. These instructions will have you remove all of those packages. After you're finished you'll need to re-install them.

lnked / mapOrder.js
Created Mar 22, 2019 — forked from ecarter/mapOrder.js
Order an array of objects based on another array order
View mapOrder.js
* Sort array of objects based on another array
function mapOrder (array, order, key) {
array.sort( function (a, b) {
var A = a[key], B = b[key];
lnked / Readme.markdown
Created Jan 29, 2019 — forked from mat/Readme.markdown
apple-app-site-association —with examples
View Readme.markdown

“apple-app-site-association” file

One file for each domain, both and need separate files:

    "applinks": {
        "apps": [],
        "details": {
            "": {
lnked /
Created Dec 27, 2018 — forked from epixoip/
8x Nvidia GTX 1080 Hashcat Benchmarks
View minimal-analytics-snippet.js
(function (history, trackingId, options) {
const generateId = () => {
return '_' + Math.random().toString(36).substr(2, 9);
const getId = () => {
if (!localStorage.cid) {
localStorage.cid = generateId()
return localStorage.cid;
View classes.ts
export interface S {
styler: (css: any) => string;
bind: (css: any) => any;
export const classes: S = {
styler: (css, ...args: any[]): string => {
const r: string[] = []
if (args.length) {
lnked /
Created Sep 11, 2018 — forked from widdowquinn/
Kali Linux Live USB with persistence and wireless on Macbook Pro

Kali Linux Bootable USB with Persistence and Wireless on OSX

Download the appropriate Kali Linux .iso

I used a 64 bit .iso image, downloaded via HTTP. I downloaded the amd64 weekly version, as the pool linux headers (needed below for installation of wireless drivers) were ahead of the stable release kernel.

Download the SHA256SUMS and SHA256SUMS.gpg files from the same location.

View classes.ts
export interface S {
bind: (css: any, args: Array<any>) => string;
styler: (css: any) => void;
export const classes: S = {
styler: (css, ...args: Array<any>): string => {
const r: Array<string> = []
if (args.length) {
View keycode
handleKeypressName(e) {
const regexp = /[^A-Za-z -]/;
e = e || window.event;
const charCode = (typeof e.which == "number") ? e.which : e.keyCode;
const typedChar = String.fromCharCode(charCode);
const matched = !(regexp.test(typedChar));
if (!matched) {
You can’t perform that action at this time.