Skip to content

Instantly share code, notes, and snippets.

Jorge Brunal diniremix

View GitHub Profile
@diniremix
diniremix / kde-neon-post-install.sh
Last active Feb 16, 2020
KDE Neon post install
View kde-neon-post-install.sh
# KDE Neon 15.18.0 post install
# first step, upgrade
sudo pkcon refresh
sudo pkcon update
# opera web browser
wget -qO- https://deb.opera.com/archive.key | sudo apt-key add -
sudo add-apt-repository 'deb https://deb.opera.com/opera-stable/ stable non-free'
sudo apt-get update
@diniremix
diniremix / eos-post-install.sh
Last active May 18, 2020
elementaryOS post install
View eos-post-install.sh
# elementary OS Juno post install
# first step, upgrade
sudo apt update && sudo apt upgrade
sudo apt install ubuntu-restricted-extras
sudo apt install software-properties-common --no-install-recommends
sudo apt install libavcodec-extra ffmpeg
sudo apt install firefox vlc
sudo apt install screenfetch flameshot
@diniremix
diniremix / index.html
Created Aug 20, 2017
docsify template
View index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>docsify</title>
<link rel="icon" href="_media/favicon.ico">
<meta name="keywords" content="doc,docs,documentation,docsify,gitbook,creator,generator,github,jekyll,github-pages">
<meta name="description" content="A magical documentation generator.">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
@diniremix
diniremix / eos-loki-post-install.sh
Last active Feb 28, 2018
elementary OS Loki post install
View eos-loki-post-install.sh
# elementary OS post install
sudo apt update && sudo apt upgrade
sudo apt install software-properties-common --no-install-recommends
sudo apt install ubuntu-restricted-extras libavcodec-extra ffmpeg
sudo apt install firefox vlc
sudo apt install audacious audacious-plugins
sudo apt install screenfetch
View gcloud-recipes.md

config gae php

--php_executable_path=/usr/bin/php-cgi

clone repo from google cloud sdk hosted (aka github, bitbucket, etc)

  • gcloud auth list
  • gcloud config set project PROJECT
  • gcloud auth login
@diniremix
diniremix / js2coffee.sh
Created Nov 23, 2015
script to compile js to coffeescript, using SublimeText 2
View js2coffee.sh
#!/bin/bash
if [ $# -le 0 ];then
echo -e $0: Especifique un nombre de archivo javascript;
exit 1;
fi
JS=$1;
function convert() {
if [ -e $JS ]; then
FILENAME=$(basename "$JS")
@diniremix
diniremix / dockersetup.MD
Last active Sep 22, 2016
setup docker on elementary OS freya
View dockersetup.MD

instalar docker

instalar una imagen (ubuntu 14.04 en este caso)

  • sudo docker run ubuntu:14.04

revisar las imagenes instaladas

  • sudo docker images

entrar en la imagen recien creada

@diniremix
diniremix / pulseJS.js
Last active Aug 29, 2015
pulseJS is a wrapper of javascript functions for Ajax, using JQuery
View pulseJS.js
var pulseJS=(function () {
var urlBase='app/pulsePHP/v1/';
getFormsElements=function (form) {
var regForm = $('#'+form).serializeArray();
var regFormObject = {};
var cont=0;
$.each(regForm,function(i, v) {
regFormObject[v.name] = v.value;
});
@diniremix
diniremix / pulse.sh
Last active Aug 29, 2015
a simple script to generate skeletons for Web applications
View pulse.sh
#/bin/sh
PULSEPHP_URL="https://github.com/diniremix/pulsePHP/archive/master.zip"
PULSEJS_URL="https://gist.githubusercontent.com/diniremix/8df589843792342197cd/raw/deebde566b25316fc39c8da5a18a4eeb9e88efa4/pulseJS.js"
TEST_DIR="./test"
APP_DIR="./js"
function help(){
echo;
echo -e "\e[1;97mpulse\e[0m - a simple script to generate skeletons for Web applications";
@diniremix
diniremix / radio21.pls
Last active Mar 13, 2020
Radio21 Stream radio
View radio21.pls
[playlist]
NumberOfEntries=10
Title1=Radio Tiempo Barranquilla
File1=http://i60.letio.com/9100.aac
Title2=Radio Tiempo Cartagena
File2=http://i10.letio.com/9140.aac
Title3=Radio Tiempo Cucuta
File3=http://i50.letio.com/9146.aac
Title4=Radio Tiempo Medellin
File4=http://i30.letio.com/9144.aac
You can’t perform that action at this time.