Skip to content

Instantly share code, notes, and snippets.

View dxps's full-sized avatar

Marius Ileana dxps

View GitHub Profile
@dxps
dxps / install-postman.sh
Created April 3, 2021 13:33 — forked from chetanppatil/install-postman.sh
Install Native Postman On Linux
#!/bin/bash
cd /tmp || exit
echo "Downloading Postman ..."
wget -q https://dl.pstmn.io/download/latest/linux?arch=64 -O postman.tar.gz
tar -xzf postman.tar.gz
rm postman.tar.gz
echo "Installing to opt..."
if [ -d "/opt/Postman" ];then
sudo rm -rf /opt/Postman
@dxps
dxps / struct_to_bytes.go
Created January 10, 2021 15:10 — forked from SteveBate/struct_to_bytes.go
Example of converting a struct to a byte slice, compressing with gzip, and saving to file followed by the reverse process back to a struct
package main
import (
"bytes"
"compress/gzip"
"encoding/gob"
"fmt"
"io/ioutil"
"log"
"os"
@dxps
dxps / zorinos-15-3-edu-lite_geforce-gtx-1080.md
Created October 31, 2020 09:08
ZorinOS 15.3 Education Lite on Dell XPS 8930 with nVidia GeForce GTX 1080

ZorinOS 15.3 Education Lite on Dell XPS 8930 with nVidia GeForce GTX 1080

This edition comes with the nice and lightweight XFCE desktop environment.
I just wanted to test the live version of it, to see how it behaves with the GeForce graphics cards that comes with this system.

zorin@zorin:~/.themes/ZorinGreen-Dark_alt$ uname -a
Linux zorin 5.4.0-45-generic #49~18.04.2-Ubuntu SMP Wed Aug 26 16:29:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
zorin@zorin:~/.themes/ZorinGreen-Dark_alt$ 
@dxps
dxps / ducky.md
Created May 28, 2020 12:38 — forked from schmich/ducky.md
Programming media keys on the Ducky One 2 Skyline

Programming Media Keys on the Ducky One 2 Skyline

To use media keys on the Ducky One 2 Skyline, you must record a macro to bind the media function to a hotkey combination, i.e. Fn plus some key.

Example

Important: In the instructions below, "Press X+Y+Z" means press and hold key X, press and hold key Y, press and hold key Z in that order, and then release all three.

As an example, to bind Fn+PgUp to the play/pause media function:

@dxps
dxps / main.go
Created January 22, 2020 08:56 — forked from enricofoltran/main.go
A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies
package main
import (
"context"
"flag"
"fmt"
"log"
"net/http"
"os"
"os/signal"
@dxps
dxps / install_tmux_macos_no_brew.sh
Created December 24, 2019 09:11
Install TMUX on MacOS without Brew
#!/bin/sh
## setup _________________________________
TMUX_VER=2.9a
LIBEVENT_VER=2.1.11-stable
TEMP_COMPILE=~/tmux-temp-compile
COMMON_INSTALL_PREFIX=/opt
SYMLINK=/usr/local/bin/tmux
@dxps
dxps / PSQLVerticle.java
Created November 13, 2017 23:39 — forked from pmlopes/PSQLVerticle.java
Using PostgreSQL JSON with Vert.x3
package io.vertx.blog;
import io.vertx.core.AbstractVerticle;
import io.vertx.core.http.HttpServerResponse;
import io.vertx.core.json.JsonArray;
import io.vertx.core.json.JsonObject;
import io.vertx.ext.jdbc.JDBCClient;
import io.vertx.ext.sql.SQLConnection;
import io.vertx.ext.web.Router;
import io.vertx.ext.web.handler.BodyHandler;
@dxps
dxps / introrx.md
Created October 3, 2017 19:50 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@dxps
dxps / gist:b209f31e4ba476100d33722b7f36cbd6
Created June 25, 2017 12:53 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue: