Skip to content

Instantly share code, notes, and snippets.

Avatar

Nemanja Nedeljković nemanjan00

View GitHub Profile
View grub.cfg
insmod part_gpt
insmod part_msdos
insmod lvm
insmod luks
insmod cryptodisk
insmod gcry_rijndael
insmod gcry_sha256
font=(cbfsdisk)/grub/unicode.pf2
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";
?>
You can’t perform that action at this time.