Skip to content

Instantly share code, notes, and snippets.

Nemanja Nedeljković nemanjan00

Block or report user

Report or block nemanjan00

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
View keybase.md

Keybase proof

I hereby claim:

  • I am nemanjan00 on github.
  • I am nemanjan00 (https://keybase.io/nemanjan00) on keybase.
  • I have a public key ASCc1eVXEUhTnGxAhCSfw2JcwavBiBTM6OA2gx646Tcj4wo To claim this, I am signing this object:
{
  "body": {
    "key": {
View usr.bin.qutebrowser
# Last Modified: Fri Sep 7 21:20:10 2018
#include <tunables/global>
/usr/bin/qutebrowser {
#include <abstractions/audio>
#include <abstractions/base>
#include <abstractions/bash>
#include <abstractions/dbus-session-strict>
#include <abstractions/dri-common>
#include <abstractions/dri-enumerate>
View config.json
{
"type": "webpack",
"entryPoint": 1,
"knownPaths": {
"0": "interface",
"4": "eventHandler",
"3": "controller",
"2": "init",
"6": "crypto",
"7": "hexBinConverter"
View config.json
{
"type": "webpack",
"entryPoint": 1,
"knownPaths": {
"0": "interface",
"4": "eventHandler",
"3": "controller",
"2": "init"
},
"moduleAst": ["body", 0, "expression", "argument", "arguments", 0]
View config.json
{
"type": "webpack",
"entryPoint": 1,
"knownPaths": {},
"moduleAst": ["body", 0, "expression", "argument", "arguments", 0]
}
View beauty.js
! function(e) {
function t(r) {
if (n[r]) return n[r].exports;
var s = n[r] = {
i: r,
l: !1,
exports: {}
};
return e[r].call(s.exports, s, s.exports, t), s.l = !0, s.exports
}
View wallpapers.sh
#!/bin/bash
WIDTH=1366
HIGHT=768
for filename in ~/Pictures/WallpapersOriginal/*.jpg; do
filename=$(basename $filename)
echo $filename
convert ~/Pictures/WallpapersOriginal/$filename -resize $WIDTH -resize ${WIDTH}x$HIGHT^ -gravity center -background black -extent 1366x768 -quality 90 ~/Pictures/Wallpapers/$filename
done
View epub.js
var xml2js = require('xml2js');
var xml2jsOptions = xml2js.defaults['0.1'];
var util = require('util');
var EventEmitter = require('events').EventEmitter;
try {
// zipfile is an optional dependency:
var ZipFile = require("zipfile").ZipFile;
} catch (err) {
// Mock zipfile using pure-JS adm-zip:
View diary.php
<?php
$dir = "~/projects/dnevnik/".date("Y")."/".date("m");
exec("mkdir -p ".$dir);
echo $dir."/".date("d").".md";
?>
@nemanjan00
nemanjan00 / README.md
Created Aug 5, 2018
Remove hostname for NetworkManager + dhcpcd
View README.md

Just replace nemanjan00-laptop with your hostname, move /usr/bin/dhcpcd to /usr/bin/dhcpcd_old and move dhcpcd to /usr/bin/dhcpcd

You can’t perform that action at this time.