Skip to content

Instantly share code, notes, and snippets.

Avatar

Marius Ileana dxps

  • Bucharest, Romania
View GitHub Profile
@dxps
dxps / install-postman.sh
Created Apr 3, 2021 — forked from Chetan07j/install-postman.sh
Install Native Postman On Linux
View install-postman.sh
#!/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 Jan 10, 2021 — 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
View struct_to_bytes.go
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 Oct 31, 2020
ZorinOS 15.3 Education Lite on Dell XPS 8930 with nVidia GeForce GTX 1080
View zorinos-15-3-edu-lite_geforce-gtx-1080.md

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 — forked from schmich/ducky.md
Programming media keys on the Ducky One 2 Skyline
View ducky.md

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 Jan 22, 2020 — forked from enricofoltran/main.go
A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies
View main.go
package main
import (
"context"
"flag"
"fmt"
"log"
"net/http"
"os"
"os/signal"
@dxps
dxps / install_tmux_macos_no_brew.sh
Created Dec 24, 2019
Install TMUX on MacOS without Brew
View install_tmux_macos_no_brew.sh
#!/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 Nov 13, 2017 — forked from pmlopes/PSQLVerticle.java
Using PostgreSQL JSON with Vert.x3
View PSQLVerticle.java
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 Oct 3, 2017 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
View introrx.md
@dxps
dxps / gist:b209f31e4ba476100d33722b7f36cbd6
Created Jun 25, 2017 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup
View gist:b209f31e4ba476100d33722b7f36cbd6

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: