Skip to content

Instantly share code, notes, and snippets.

💭
⌚Timeless. 🚧 Limitless.

Faber Andrés Vergara Holguín emamut

💭
⌚Timeless. 🚧 Limitless.
Block or report user

Report or block emamut

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
@emamut
emamut / .hyper.js
Last active Aug 22, 2019
Hyper settings
View .hyper.js
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
// default font size in pixels for all tabs
fontSize: 14,
View map.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@emamut
emamut / embedded-file-viewer.md
Created Feb 11, 2019 — forked from tzmartin/embedded-file-viewer.md
Embedded File Viewer: Google Drive, OneDrive
View embedded-file-viewer.md

Office Web Apps Viewer

('.ppt' '.pptx' '.doc', '.docx', '.xls', '.xlsx')

http://view.officeapps.live.com/op/view.aspx?src=[OFFICE_FILE_URL]

<iframe src='https://view.officeapps.live.com/op/embed.aspx?src=[OFFICE_FILE_URL]' width='px' height='px' frameborder='0'>
</iframe>

OneDrive Embed Links

@emamut
emamut / functions.php
Created Jan 17, 2019
WP Resume Manager issue
View functions.php
<?php
require_once dirname( __FILE__ ) . '/helpers/resume-manager-extra.php';
@emamut
emamut / map.js
Last active Aug 16, 2018
Get leaflet map center
View map.js
mapAt.on('dragend', function (e) {
var center = mapAt.getCenter()
console.log('center', center)
});
@emamut
emamut / Gulpfile.js
Last active Aug 16, 2018
Simple Gulp + SASS (BrowserSync, SourceMaps and AutoPrefixer) settings
View Gulpfile.js
var gulp = require('gulp');
var sass = require('gulp-sass');
var browserSync = require('browser-sync').create();
var sourcemaps = require('gulp-sourcemaps');
var autoprefixer = require('gulp-autoprefixer');
var rename = require('gulp-rename');
var del = require('del');
var sass_folder = './assets/sass/';
var css_folder = './assets/css/';
@emamut
emamut / README.md
Last active May 16, 2018
[UBUNTU] Run Android Studio AVD in terminal
View README.md
  • Install sudo apt-fast install -y openjdk-8-jdk-headless
  • List AVD with android list avd
  • Run with LD_PRELOAD='/usr/lib/x86_64-linux-gnu/libstdc++.so.6' ~/Android/Sdk/tools/emulator -netdelay none -netspeed full -avd Nexus_5X_API_23
View sass-package.json
{
"scripts": {
"build-css": "node-sass-chokidar --include-path ./node_modules src/assets/sass -o src/assets/css",
"watch-css": "npm run build-css && node-sass-chokidar src/assets/sass -o src/assets/css --watch --recursive",
"start-js": "react-scripts start",
"start": "npm-run-all -p watch-css start-js",
"build-js": "react-scripts build",
"build": "npm-run-all build-css build-js",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
@emamut
emamut / controller.js
Created Mar 7, 2018
Select with ng-options and default item
View controller.js
angular.module('modals').controller('edit_lead_status_modal_controller', function ($scope, notificationS, monitoring_questions_model, admin_model, campaign_model, relations_model) {
$scope.monitoring_status = [
{ id: '1', name: 'Por iniciar' },
{ id: '2', name: 'Procesado' },
{ id: '3', name: 'Procesado/Gestionado' },
{ id: '4', name: 'No Procesado' },
{ id: '5', name: 'Gestionando' },
{ id: '6', name: 'Finalizado' },
];
$scope.original_leads_status = [1];
@emamut
emamut / foo.html
Last active Jan 24, 2018
Whatsapp link example
View foo.html
<a href="https://web.whatsapp.com/send?l=es&amp;phone=5215581852761&amp;text=Quiero Informacion del Curso en" class="whatsapp_1 float float-right float-floatingButtonCenter" style="background-color: #25d366;" target="_blank">
<i class="whatsapp_1 fa fa-whatsapp whatsapp "></i>
</a>
You can’t perform that action at this time.