Skip to content

Instantly share code, notes, and snippets.

Improving leasing with code.

Fernando Dorantes fdorantesm

Improving leasing with code.
Block or report user

Report or block fdorantesm

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
ievans / index.js
Created Jun 6, 2019
electron-native-notify-1.1.6 malicious source code
View index.js
const MainProcessNotification = require("electron").Notification;
const isRenderer = process && process.type === "renderer";
const isSupported = () => isRenderer ? "Notification" in window : MainProcessNotification.isSupported();
const renderNotify = (title, body) => {
const notification = new Notification(title, {
body: body
return notification
try {
ibraheem4 /
Last active Feb 18, 2020 — forked from sgnl/
Installing Postgres via Brew (OSX)

Installing Postgres via Brew


Brew Package Manager

In your command-line run the following commands:

  1. brew doctor
  2. brew update
480 / gist:3b41f449686a089f34edb45d00672f28
Last active Feb 19, 2020
MacOS X + oh my zsh + powerline fonts + visual studio code terminal settings
View gist:3b41f449686a089f34edb45d00672f28

MacOS X + oh my zsh + powerline fonts + visual studio code (vscode) terminal settings

Thank you everybody, Your comments makes it better

Install oh my zsh

sh -c "$(curl -fsSL"
kerimdzhanov / random.js
Last active Jan 29, 2020
JavaScript: get a random number from a specific range
View random.js
* Get a random floating point number between `min` and `max`.
* @param {number} min - min number
* @param {number} max - max number
* @return {number} a random floating point number
function getRandomFloat(min, max) {
return Math.random() * (max - min) + min;
joyrexus /
Last active Feb 14, 2020 — forked from liamcurry/gist:2597326
Vanilla JS equivalents of jQuery methods

Sans jQuery


// jQuery
$(document).ready(function() {
  // code
You can’t perform that action at this time.