Skip to content

Instantly share code, notes, and snippets.

View aramirez92's full-sized avatar
:octocat:
Working from home

Alfredo Ramirez Ortega aramirez92

:octocat:
Working from home
View GitHub Profile
@matthiasg
matthiasg / docs style (bootstrap)
Created August 5, 2013 06:26
the callouts from the bootstrap documentation
/* Side notes for calling out things
-------------------------------------------------- */
/* Base styles (regardless of theme) */
.bs-callout {
margin: 20px 0;
padding: 15px 30px 15px 15px;
border-left: 5px solid #eee;
@arulrajnet
arulrajnet / apkdl.sh
Last active December 13, 2023 20:33
Script to download apk file from Google Play a.k.a Android Market.
#!/bin/bash
#
# Script to download apk file from Google Play a.k.a Android Market.
# Accepts package name or Google Play URL as input.
# Files are download from apk-dl.com
# author : Arul (@arulrajnet)
#
APK_DL_URL="http://apk-dl.com/store/apps/details?id=%s"
PACKAGE_NAME=""
@tzmartin
tzmartin / embedded-file-viewer.md
Last active July 1, 2024 01:57
Embedded File Viewer: Google Drive, OneDrive

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

Direct copy of pre-encoded file:

$ ffmpeg -i filename.mp4 -codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls filename.m3u8

@shyd
shyd / Dockerfile
Last active February 4, 2024 12:17
install php imap in dockerfile
FROM php:5-apache
RUN apt-get update && \
apt-get install -y \
libc-client-dev libkrb5-dev && \
rm -r /var/lib/apt/lists/*
RUN docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \
docker-php-ext-install -j$(nproc) imap
@tuxity
tuxity / navicat_premium_reset_trial.sh
Last active June 29, 2024 05:08
Reset Navicat Premium 15/16/17 remaining trial days
https://github.com/tuxity/navicat-premium-reset-trial